Category Archives: DevOps

Getting Started with ActiveMQ 5

This article mainly records the configuration and writing process of ActiveMQ from installation to application to the project. You quickly configure the application following this post. You can download ActiveMQ from its official website. Modify the configuration First, find the activemq.xml file in the config directory. Then, find the <policyEntries> tag, add the following configuration under the tag… Read More »

Best practices of developing SpringCloud-based microservices

Nowadays, SpringCloud-based microservice development is becoming more and more popular, and various open-source projects on the Internet are emerging endlessly. We can refer to open source projects to implement many out-of-the-box functions in actual work, but we must abide by certain conventions and specifications. This post combines some of the problems encountered in our actual development to sort… Read More »

Pika Cluster Horizontal Scaling: Unlimited Performance

Background Pika is a persistent large-capacity redis storage service, compatible with most of the interfaces of string, hash, list, zset, and set (compatibility details), and solves the capacity bottleneck of redis that is insufficient due to the huge amount of stored data. Users can migrate from redis to pika service without modifying any code. It has good compatibility… Read More »

SOLID principles: Introduction, Best Practices, and Interview Questions and answers

SOLID principle introduction Following practical and clear design principles is conducive to flexible and reliable software design. SOLID is an acronym for the five essential principles of object-oriented design. When we design classes and modules, following the SOLID principles can make the software more robust and stable. Q1: What are the SOLID principles? S – Single responsibility principle… Read More »

Configuring HugePages on Linux

In virtual paging storage, the virtual storage space and physical main storage space are divided into pages of fixed size, and the memory allocation for threads is also in units of pages. For example, if the page size is 4K, 4GB/4KB=1M records are needed for 4GB storage space, that is, there are more than 1 million 4KB pages.… Read More »