Latest Articles
Three Invocation Patterns for Distributed Services
PrefaceRecently, we are doing a permission control function, one of the services is to freeze the user, the specific business logic is not necessarily appropriate to elaborate, so we will use the “elephant in the freezer” to abstract instead. The process is as follows:
1231. Open the refrigerator do
...
More >>
2022-02-28
Redis
/
RDB
/
AOF
/
persistence
The difference between heap and stack
Stack area (stack): Automatically allocated and released by the compiler, storing function parameter values, local variable values, etc. Its operation is similar to a stack in a data structure.
Heap area (heap): Generally allocated and released by the programmer, if the programmer does not release,
...
More >>
2022-02-21
stack
/
heap
/
difference
/
system
Low-code ten questions, how many do you know?
Adoption of low-code platforms will grow as organizations slash IT budgets while trying to keep up with the demands of digitization. Enterprise innovation and business agility will drive low-code development. It doesn’t mean that the development team can be abandoned, and it doesn’t mean that less c
...
More >>
2022-02-14
Low-code
/
Limitations
/
Microservices
Stream | basic knowledge
1. What is a stream?Stream uses an intuitive way similar to querying data from the database with SQL statements to provide a high-level abstraction of Java collection operations and expressions
Stream is a queue of elements from a data source and supports aggregation operations
Elements are objects
...
More >>
2022-02-07
Stream
/
Pipelining
/
Internal iteration
Principle and Implementation of MD5 Algorithm
What is MD5 algorithmMD5 Message Digest Algorithm (English: MD5 Message-Digest Algorithm), a widely used cryptographic hash function, can generate a 128-bit (16-byte) hash value (hash value), used to ensure Information transmission is complete and consistent.
MD5 functionInput information of any len
...
More >>
2022-01-31
MD5
/
Encryption
/
function
/
reversible
/
hash
Calling methods between microservices
The commonly used methods for calling microservices to each other are
HttpUrlConnection or classic network access framework HttpClient
However, in the Spring project, using RestTemplate is clearly more convenient
RestTemplate
Introduction:RestTemplate is an HTTP request tool supported since Spring 3
...
More >>
Cold start and hot start of APP, do you know?
1.app cold startapp cold start: When the application is started, there is no application process in the background, then the system will recreate a new process to assign to the application, this startup method is called cold start (there is no application process in the background). Because the syst
...
More >>
2022-01-17
app
/
cold start
/
hot start
/
Process
Responsive Design
Responsive DesignResponsive design is a concept introduced by Ethan Marcotte in May 2010, where the corresponding worth is the ability of web pages to behave differently on different sizes and types of devices.
A well-designed responsive page can provide a comfortable and beautiful interface, easy i
...
More >>
2022-01-10
Media Inquiries
/
JS layout
The Data Design Pattern of Microservice Architecture
Recently, I participated in the research and development of a company project and found some minor issues in data management. Based on past experience, I have recorded the microservice data design pattern here.
The services in the microservices architecture are loosely coupled and can be independent
...
More >>
2022-01-03
Database
/
Event Sourcing
/
API composition
Chat today: 10 habits of doing a good job at the front end
Habits can subtly reshape a person, especially simple and small habits that are easy to implement.
The role of good habits varies from person to person, due to the difference in the strength of our execution. Over the past 10 years of work, I have compiled some habits that I understand and shared th
...
More >>
2021-12-27
front end
/
habits
/
developmental