luozhiyun | 我的技术分享

Database data replication and partitioning

Original link: https://www.luozhiyun.com/archives/805 Please declare the source of the reprint~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/805 This article is mainly to summarize the content related to data replication and partitioning in chapters 5 and 6 of “designing-data-intensive-applications” In the distributed database, the distributed nodes of the database have copy backup through replication, mainly […]

Database data replication and partitioning Read More »

High Energy Poses: Make Yourself Feel Better

Original link: https://www.luozhiyun.com/archives/802 I wrote this article mainly because I recently listened to a podcast “The Great Discussion on the Metaphysics of Charm: What kind of person is it, and it is popular!” https://www.xiaoyuzhoufm.com/episode/64ad7cb4b21ecc647deed28f” mentioned a book “High Energy Posture”, so I went to see the author’s TED. Amy Cuddy shared her research findings “Your

High Energy Poses: Make Yourself Feel Better Read More »

steam deck cured my electronic ed

Original link: https://www.luozhiyun.com/archives/728 I don’t know when it started, I no longer have the interest to play games. Even though there are many games in my steam library and hundreds of games in the xgpu, I have no desire to experience them at all. I bought my first xbox in June last year, activated the

steam deck cured my electronic ed Read More »

Prometheus data storage those things

Original link: https://www.luozhiyun.com/archives/725 This article uses Prometheus v2.40 source code Please declare the source of the reprint~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/725 This article is mainly to sort out how Prometheus’s time series database stores and manages data. I hope this article can bring some inspiration to everyone. overview Let’s take a

Prometheus data storage those things Read More »

What exactly does a link do?

Original link: https://www.luozhiyun.com/archives/721 Please declare the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/721 I haven’t studied in depth what the linking process has done before. Taking advantage of the recent efforts to sort out the knowledge of computer systems, I have sorted out what the linking process has done. If you

What exactly does a link do? Read More »

Effective C++ Notes for Beginners

Original link: https://www.luozhiyun.com/archives/715 Please state the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/715 Recently, I was reading the book “Effective C++” and found that many concepts in it are likely to be forgotten if I just read it once, so I simply compiled and excerpted them. This article is mainly an

Effective C++ Notes for Beginners Read More »

Fork & Copy-on-Write COW Principle

Original link: https://www.luozhiyun.com/archives/710 Please declare the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/710 The kernel code for this article is Linux 0.11 In the previous article, we looked at how exceptions and interrupts in computer systems are done. In this article, we will look at how fork uses exceptions to create

Fork & Copy-on-Write COW Principle Read More »

Exceptions & Interrupts in Computer Systems

Original link: https://www.luozhiyun.com/archives/705 Please declare the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/705 Interrupts and exceptions can be attributed to an event processing mechanism. A signal is sent through an interrupt or an exception, and then the operating system will interrupt the current operation, and then find the corresponding handler to

Exceptions & Interrupts in Computer Systems Read More »

Google C++ Style excerpt notes

Original link: https://www.luozhiyun.com/archives/698 Why do this excerpt? Because when I was learning C++ code, I found that its functional advantages are too powerful, and there are no strong restrictions on code writing. After decades of iteration, C++ actually bears a lot of old times, which also leads to different backgrounds in different times. People from

Google C++ Style excerpt notes Read More »

VXLAN protocol for cloud native virtual network

Original link: https://www.luozhiyun.com/archives/687 Please declare the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/687 The first time I knew VXLAN was when I saw that the network plug-in called flannel used in k8s has a VXLAN mode, which implements the Overlay Network (overlay network) and can connect all containers together. So in

VXLAN protocol for cloud native virtual network Read More »

Let’s talk about two Go GC optimization strategies that are about to become obsolete

Original link: https://www.luozhiyun.com/archives/680 Please declare the source for reprinting~, this article was published on luozhiyun’s blog: https://www.luozhiyun.com/archives/680 This article was originally intended to talk about Go Memory Ballast and Go GC Tuner to adjust the GC strategy, how the implementation principle is, and what is the effect. But in the process of writing, I found

Let’s talk about two Go GC optimization strategies that are about to become obsolete Read More »

How to properly retry requests in Go

Original link: https://www.luozhiyun.com/archives/677 One of the problems that we usually cannot avoid in development is how to achieve reliable network communication in unreliable network services, among which http request retry is a frequently used technology. But the Go standard library net/http does not actually have this function of retry, so this article mainly explains how

How to properly retry requests in Go Read More »