I'm sure you all know the concept of "thread" and "process". In Go, "coroutines" can be understood as more lightweight threads. The efficiency of system...
Now that you understand what RPC is, let's take a look at dubbo-Go's RPC flow. Next, I'll use Dubo-Go-samples/HelloWorld as an example for analysis. The...
Many automated code generation tools rely on syntax tree analysis, such as GoImport, Gomock, wire, and others. Many interesting and useful tools can be implemented...
The main job of an interface is simply to provide method name signatures, input parameters, and return types. Methods are ultimately implemented by concrete objects,...
This article mainly for the lock resource preemption, waiting for goroutine management of the source code analysis. The contents and functions of sudog, Semaroot, TREAP...
Message queue asynchrony: More work can be done at the same time and it is more efficient than serial asynchrony. Decoupling: In scenarios where the...
First, take a look at how to test our program in the Go language. Create a first_test.go file. 1,1,2,3,5,8,13... Create a fibonacci_test.go file. Third: quick...
Continuous integration is a software development practice in which team development members frequently integrate their work, meaning that by each member integrating at least once...
Before we get into mutex, it's important to understand the concept of a key part of concurrent programming. When a program is running concurrently, parts...
In daily development, there are limits on the frequency of requests for certain interfaces. For example, the login interface, the interface to send SMS, the...
In the Go language world, in addition to the HTML/Template package that comes with the standard library, there are a wide variety of third-party template...
This article records my understanding of Golang scheduler and the method of tracking scheduler, especially an easy to ignore goroutine execution order problem, read a...
A map is an abstract structure consisting of <key, value> pairs. The keys are not repeated, and all operations are key/value. There are generally two...
In go-Zero's Distributed Caching System share, Kevin focused on the principles of consistent hash and practices in distributed caching. This article goes into detail about...
Today we're going to talk about Golang's synchronous waiting group. We're going to open ten coroutines now, and when all ten coroutines are done, the...
Mix XDI DI, IoC container Overview, IoC Container Overview is a library that creates objects and handles object dependencies. This library can implement unified dependency...
Tars is a unified application framework of background logic layer that Tencent has been using from 2008 to today. It currently supports C++,Java,PHP,Nodejs and Golang...