Microservices Framework Battle: Is Quarkus a SpringBoot Replacement?

1Overview The SpringBoot framework needs no introduction, Java programmers must know it. Relatively speaking, there may be fewer people familiar with Quarkus. The slogan posted on the Quarkus homepage: Supersonic Subatomic Java. It is a Kubernetes Native Java framework tailor-made for OpenJDK HotSpot and GraalVM, built on best-of-breed Java libraries and standards. The arrival of […]

Design ideas for internal calls of interfaces between microservices (server side)

Foreword First of all, when it comes to internal calls between interface microservices, the most important thing to consider is how the service provider can dynamically identify which interfaces need to be exposed, without opening the access scope too large to avoid security issues. Secondly, how to ensure that these exposed interfaces can normally accept […]

[SpringCloud | Linux] CentOS7 deploys SpringCloud microservices

Table of Contents 1. Environmental preparation 1. Tool preparation 2. Virtual machine environment 3. Docker environment 2. Project preparation 1. Configure the Dockerfile of each module (microservice) 2. Configure the docker-compose.yml file 3. Maven packaging 4. File integration and transmission 3. Microservice deployment 1. Deploy to Docker 2. Access microservices 4. Summary of issues 1. […]

Install Jenkins on Linux to realize automated deployment of microservices (from installation to project deployment)

Recently I found that the company’s services are too scattered. Each deployment is a bunch of jar packages. It makes my hands numb to package, upload and restart, so I decided to study automated deployment. One of the currently commonly used automation tools is K8S and the other is Jenkins. I looked at the K8S […]

Complete process of migrating SpringCloud microservices to Kubernetes containerization

Familiar with Spring Cloud microservice projects Source code compilation and build Build the project image and push it to the image warehouse Make a mirror Push the image to the harbor warehouse K8s service orchestration Deploy basic environment Deploy Nacos cluster in K8s (registration and configuration center) Deploy Seata distributed transactions in k8s Deploy mysql, […]

Complete process of migrating SpringCloud microservices to Kubernetes containerization

Familiar with Spring Cloud microservice projects Source code compilation and build Build the project image and push it to the image warehouse Make a mirror Push the image to the harbor warehouse K8s service orchestration Deploy basic environment Deploy Nacos cluster in K8s (registration and configuration center) Deploy Seata distributed transactions in k8s Deploy mysql, […]

Practical solution for monitoring SpringCloud microservices

1Introduction Spring Cloud is a microservice framework implemented based on Spring Boot. It provides rich microservice functions, such as distributed configuration, service registration and discovery, service circuit breaker, load balancing, etc. In order to better manage and monitor such a complex microservice system, it needs to be monitored. 2 Monitoring significance and application scenarios 1. […]

Let’s look at the essence: Why do microservices need contract testing?

01. Why do microservices need contract testing First let me introduce the company. We use a microservice architecture, and each department is responsible for the development and maintenance of several microservices. My department maintains the company’s payment service (billing), which relies on several services from other departments. When a user needs to pay for an […]

SpringBoot+Redis publish-subscribe mode encapsulates custom annotations for logs between microservices

Scene: In projects, system operation records are usually saved as logs in order to record user operation behaviors and analyze system problems when system failures occur. In order to maintain the low intrusion of code and the standardization of log data between microservices, You can use custom log annotations to achieve the above purpose, and […]

Microservices Design Principles: Build Resilient and Maintainable Applications

Article directory 1. Single responsibility principle 2. Independence and autonomy 3. Resilience and fault tolerance 4. API Gateway 5. Logging and Monitoring 6. Version management 7. Automated deployment and continuous integration 8. Security 9. Data consistency 10. Documentation and Communications Expand your thinking in conclusion Welcome to the Architecture Design Column~Microservice Design Principles: Build Flexible […]