Daijue·Jun 26, 2023C++ Move SemanticsMove semantics is one of the most important features introduced in C++11. As a language that gives programmers great power in resource…A response icon1A response icon1
Daijue·Jun 25, 2023Basics of Redis SentinelRedis Sentinel is provided by Redis installation for automatic failover since Redis 2.8. A Redis Sentinel architecture consists of a group…
Daijue·Jun 24, 2023The Basics of Replication in RedisReplication plays an important role in helping Redis achieve high availability and scalability. In the simplest scenario, there is a master…
Daijue·Jun 14, 2023Algorithms for Finding All SubsetsMade with Real Code in Java, Python, C++, Go and JavaScript
Daijue·Jun 7, 2023A Tale of Two PointersSolutions to Algorithm Interview Questions by Two Pointers Going in the Same Directions
Daijue·Mar 22, 2022The JavaScript Promise — To Resolve or To RejectPromise is an advanced concept in JavaScript, but it is so much prevalent in modern APIs and code base that understanding it is essential.
InBits and PiecesbyDaijue·Mar 8, 2022The Good and Bad of JavaScript CallbacksCallbacks are functions. Callbacks can be both synchronous and asynchronous. Promise comes to the rescue of the callback hell.
Daijue·Feb 18, 2022Never Feel Insecure About Thread Safety AgainI used to feel very insecure when it comes to the topic of thread safety. Thread, by itself, is already an intimidating concept. (This…
Daijue·Feb 15, 2022Methods to Inspect and Control Java ThreadsThe word thread in computer science comes from the phrase “a thread of execution”, which basically defines the meaning of thread in the…