String almost any program can not do without text (string). In Go, string is a built-in type, and it has similar properties to the ordinary slice type. For example, you can enter

Background A lot of high-performance development needs to pay attention to details. Among them, memory alignment is one of the performance details that should be paid attention to in daily development of Golang, so record it and share it with everyone. The size of the structure calculates the

Reading content: https://12factor.net/zh_cn/ Foreword Nowadays, software is usually delivered as a service. They are called network applications, or software as a service (S

Nonviolent Communication is a reference book to teach people how to communicate harmoniously with others. It has been selected as one of the "50 required books" recommended by the University of Hong Kong. From the perspective of psychology, the author explains that people are communicating with the middle class

Why do you want to read How to Read a Book? It is very popular and one of the 50 books recommended by Hong Kong University. It is worth reading deeply, and it is also conducive to reading other books in the future. It is very helpful for growth

Linked list is a common basic data structure. It is a linear list, but it does not store data in a linear order. Instead, it stores data in each node to the next

Heap Heap is a special complete binary tree in computer science, which can complete operations such as inserting, deleting, and obtaining the maximum value within O (log n) time complexity. If it meets

Preface Goroutine is a lightweight thread in Go language. It can run on a single thread and achieve concurrency by using coroutines. Goroutine can not block the main thread

The biggest feature of GoroutineGo language is that it supports concurrency from the language level. Goroutine is the most basic execution unit in Go. In fact, every

I bought a course to record my mind map notes, principles, storage processors, distributed computing applications

In daily work, Node.js is widely used. I have seen some data before. This time, I want to make a summary to deepen my impression. It will also be convenient for subsequent reference. Event cycle Event cycle is Node

I bought a course to record the mind map notes I learned CPU memory network disk IO file system kernel application architecture design performance monitoring performance test