China Bank Money Transfer

中国,银行间转账场景。

Read More

Resilience

my initial understanding of system resilience.

good news is from the spring framework itself, we have these resilience capabilities.

As of 7.0, the core Spring Framework includes a couple of common resilience features,
in particular @Retryable and @ConcurrencyLimit annotations for method invocations.

another good resource is resilience4j.

Read More

Agency and Trust

总结一下项目:代理和信托。

代理涵盖帮助投资机构/投资者买卖证券,收益归投资者。

信托涵盖财富管理,收益归约定的受益人。

Read More

RestClient

RestClient Official Document

The RestClient is a synchronous HTTP client that offers a modern, fluent API. It offers an abstraction over HTTP libraries that allows for convenient conversion from a Java object to an HTTP request, and the creation of objects from an HTTP response.

Lets see how it is designed.

Read More

Docker-Compose in Spring Boot

Docker Compose simplifies the management of multi-container applications by defining services, networks, and volumes in a single YAML file.

with a single command, we can create and start all the services from yaml file.

let’s see how we use docker compose in Spring Boot. Github Demo / Docker Compose Support in Spring Boot

Read More

BackOff

Backoff is a strategy for dealing with failures, conflicts, or resource competition.

The core logic is: when an operation fails or encounters a limitation, it will pause for a period of time before trying again, and the retry interval is usually adjusted dynamically to avoid increasing system pressure or conflicts.

let’s see how spring-framework implement it.

Read More