Spring Boot Cassandra CRUD Example
July 26, 2023 · 837 words · 4 min
Apache Cassandra is an open source NoSQL distributed database trusted by thousands of companies for scalability and high availability without compromising performance.
July 26, 2023 · 837 words · 4 min
Apache Cassandra is an open source NoSQL distributed database trusted by thousands of companies for scalability and high availability without compromising performance.
July 10, 2023 · 3831 words · 18 min
No software is 100% secure, it’s just that the problems haven’t been discovered yet.
In this article. I’ll share the top 10 Web Application Security Problems.
This article is reproduced from OWASP.
June 4, 2023 · 910 words · 5 min
A distributed transaction is a database transaction in which two or more network hosts are involved.
As we know, network and hosts may unreachable due to some reasons, like power failure, hardware malfunction, etc.
In this article, I’ll share how to implement distributed transaction with TCC.
May 16, 2023 · 858 words · 5 min
Today I’ll share an article about Dynamic Programing
.
Dynamic programming is both a mathematical optimization method and a computer programming method. The method was developed by Richard Bellman in the 1950s and has found applications in numerous fields, from aerospace engineering to economics.
wikipedia - Dynamic programming
May 6, 2023 · 1126 words · 6 min
A <code>Set</code> that further provides a total ordering on its elements. The elements are ordered using their natural ordering, or by a <code>Comparator</code> typically provided at sorted set creation time. The set’s iterator will traverse the set in ascending element order. Several additional operations are provided to take advantage of the ordering. (This interface is the set analogue of <code>SortedMap</code>.)
Oracle - SortedSet
Java provides a built-in SortedSet
implementation, known as TreeSet
. In this article, I’ll show how to implement a SortedSet
by Ordered Array
.
May 5, 2023 · 548 words · 3 min
Network is unstable, it can fail at any moment. In this article, I’ll share how to retry requests correctly with Feign.
Feign is a Java to HTTP client binder inspired by Retrofit, JAXRS-2.0, and WebSocket. Feign’s first goal was reducing the complexity of binding Denominator uniformly to HTTP APIs regardless of ReSTfulness.
Feign - Introduction
May 4, 2023 · 785 words · 4 min
This is the first article written in English. In this article, I’ll share how to build a Finite State Machine(FSM) to help business workflow transition, such as auditing.
A finite-state machine (FSM) or finite-state automaton (FSA, plural: automata), finite automaton, or simply a state machine, is a mathematical model of computation. It is an abstract machine that can be in exactly one of a finite number of states at any given time. The FSM can change from one state to another in response to some inputs; the change from one state to another is called a transition
Wikipedia - Finite-state machine
January 1, 1 · 0 words · 0 min
January 1, 1 · 0 words · 0 min
January 1, 1 · 0 words · 0 min