In today's microservice architecture, how to ensure the consistency of distributed transactions is a problem that every backend development engineer may encounter.
As a backend engineer, I often deal with various distributed systems in my daily work, such as ETCD, Redis, k8s, etc. When deploying these distributed clusters, we usually set the number of nodes to an odd number, which seems to be a conventional rule. But why? In addition to the fact that even-numbered nodes are prone to voting tie, are there other reasons?
This blog will describe in detail how I installed Ubuntu16.04 dual system in bare metal state and installed the corresponding version of ROSkinetic system. In addition, after installing these two systems, how to successfully install and debug INDEMIND binocular camera and implement ORB-SLAM2 algorithm.
If you want to know how Go performs GC (Garbage Collection). I have read a lot about the "three-color marking method" on the Internet, but I think it is very complicated and not simple enough. Then this article is a very good reference for your entry into Go's GC mechanism.
Cgo calls are mainly divided into two types:
This article will mention both methods, but mainly talk about the second method. When talking about the second method, we will take Go language calling C++ library-- Armadillo as an example.
The article will first describe the principles of Cgo, and then describe the two methods of calling. If you only want to see the sample code, you can jump to the back.
This document mainly records the learning content in the process of troubleshooting the problem of query interface timeout caused by excessive memory usage of PostgreSQL database during large-scale writes. It mainly focuses on memory management and learns the relevant core architecture of PostgreSQL.
Centrality algorithms are used to understand the influence of specific nodes in a graph and their impact on the network, which can help us identify the most important nodes.
Bloom filters are a probabilistic data structure that checks for presence of an item in a set.
As David Wheeler said:
All problems in computer science can be solved by another level of indirection.
The idea of proxy is reflected in many fields of computers. In essence, A and B can communicate directly, but we add C as an intermediary, and A and B communicate through C.
A website for study notes.
ShenZhen, China
Dear readers,
Thank you for visiting my blog! I want to acknowledge that there aren't many posts in English here at the moment. As a native Chinese speaker, I've always written primarily in Chinese. However, I'm now working to translate my existing content into English to reach more readers.
This process involves using tools like Google Translate, so you may encounter occasional less-than-perfect expressions. I truly appreciate your understanding and patience as I navigate this transition.
The translation effort will take time, but I'm committed to bringing more content to you in English. Thank you for your support and for sticking around! 😄