Fading Coder

One Final Commit for the Last Sprint

API Routing and Common Pitfalls with Spring Cloud Gateway and Nacos

Dependency management utilizes the following technology stack versions: <properties> <spring-cloud.version>2020.0.1</spring-cloud.version> <spring-cloud-alibaba.version>2.2.1.RELEASE</spring-cloud-alibaba.version> <maven.compiler.source>11</maven.compiler.sourc...

Blazor Microservice Communication Patterns

When building modern web applications with Blazor, efficient communication between client and server components is essential. This guide explores how to implement robust microservice communication patterns using HttpClient and related extensions. Setting Up the Project Structure Begin by creating a...

Modernizing Consumer Finance Systems: A Strategic Refactoring Approach

Background Business Restructuring and Integration As requirements continued to evolve, the consumer installment division underwent significant adjustments, leading to new product directions. In this context, legacy services that had served for years became increasingly unsuitable for future product...

Implementing Distributed Tracing with Spring Cloud Sleuth and Zipkin

Implementing Distributed Tracing with Spring Cloud Sleuth and Zipkin In microservices architecture, applications are typically composed of numerous services that interact with each other. When issues arise, identifying the root cause can be challenging due to the complex web of service interactions....

Spring Cloud Gateway Core Concepts and Implementation

Introduction to Spring Cloud Gateway Spring Cloud Gateway serves as an API gateway built on the Spring ecosystem, leveraging technologies like Spring 5, Spring Boot 2.0, and Project Reactor. It provides a straightforward approach to route APIs while offering robust filter capabilities including circ...

Essential Server Configuration Steps for Microservice Deployments

1. Persisting Firewall Port Rules When exposing services to external traffic, port configurations must survive system reboots. Using firewalld, rules are applied to the runtime environment by default. To make them permanent, append the --permanent flag: sudo firewall-cmd --zone=public --add-port=808...

Monitoring Microservices with Spring Boot Admin and Spring Cloud

Spring Boot Admin provides a web-based management interface for Spring Boot applications. Built on top of Spring Boot Actuator, it offers a visual dashboard for monitoring application health, metrics, and configurations. Key capabilities include:Application status and version trackingLog level manag...

Deploying and Configuring Nacos Using Docker

Pull Nacos Image Retrieve the official Nacos server image from Docker Hub. podman pull nacos/nacos-server Run Nacos Container Launch a standalone instance mapped to host port 8848: podman run -d -p 8848:8848 -e MODE=standalone --name nacos_svr nacos/nacos-server:latest To connect Nacos to an externa...

Building Microservices with Spring Boot and Service Discovery

Microservices Architecture Overview Microservices architecture structures an application as a collection of loosely coupled services, where each service implements a specific business capability and can be developed, deployed, and scaled independently. Spring Boot provides comprehensive support for...

Configuring Nacos as Service Registry and Configuration Center in Microservices

Overview Nacos, developed by Alibaba, serves as a dynamic naming and configuration service that combines service registration and configuration management into a single platform. This guide walks through setting up and utilizing Nacos within microservice environments. Core Features of Nacos Nacos pr...