Full stack blog development, improvement and containerization of the project

Original link: https://llfc.club/category?catid=20RbopkFO8nsJafpgCwwxXoCWAs#!aid/21lXHiY0k69T0TXhqqk9BsrlPZy Objectives of this section In the previous section, the template rendering was completed. In my spare time, I added several pages. You can view the work done every day according to the branches. In this section, the reading of configurat ...

Posted by tonbah on Sun, 05 Dec 2021 02:08:04 +0100

Tick timer of Let's Go Rust series

prefaceIn actual project development, there are often functional development requirements for scheduled tasks. Scheduled tasks are mainly divided into two types,Execute a task at a fixed time, that is, TimerBased on a fixed time interval, a task is executed periodically, that is, TickerMany time-based scheduling frameworks are inseparable from ...

Posted by JayFM on Fri, 03 Dec 2021 11:19:41 +0100

Participate in some summaries of Tinykv

Talent Plan KV learning campAbout Talent Plan KV training camp, I think it is necessary for me to introduce it. This is a set of open source distributed KV storage practical courses launched by PingCAP company. This course includes four sub projects:Project 1 requires participants to complete a stand-alone KV Server independentlyProject 2 needs ...

Posted by MikeNye on Thu, 02 Dec 2021 05:13:21 +0100

My first experience of Go + language -- zero basic learning Go + crawler

My first experience of Go + language - (4) zero basic learning Go + crawler "My first experience of Go + language" | the essay solicitation activity is in progress Go + language is very suitable for writing crawler programs. It has the advantages of perfect concurrency mechanism, large number of concurrency, less resource occupat ...

Posted by McManCSU on Wed, 01 Dec 2021 12:54:19 +0100

Fully understand the declaration method of Golang slice, shallow copy phenomenon, deep copy and append operation

What is slicingA slice is a reference to a contiguous fragment of an array. Slice is a reference type. It doesn't actually store elements. It just identifies a continuous fragment on the array.An array is a series of memory spaces in memory, and each element occupies a piece of memory.The data structure of slice is a structure body, which consi ...

Posted by tamilmani on Tue, 30 Nov 2021 15:29:49 +0100

Gin Framework: Turn on TLS/SSL

introduceIn a complete example, turning on TLS/SSL in the Gin framework is what we call https.We will use rk-boot To start the microservice for the Gin Framework.Visit the following address for the complete tutorial:https://rkdocs.netlify.app/cnGenerate Self-Signed CertificateUsers can purchase certificates from major cloud vendors or use them ...

Posted by seenu_vas80 on Mon, 29 Nov 2021 05:00:55 +0100

Golang program startup process

go run main.go a go program starts. However, how does the operating system execute the go code behind this? What does go do to run the user's main function?One compilationgo build main.goThe go code we write is compiled into an executable file to be directly executed on the machine. It is on the linux platform ELF Format executable file, linux ...

Posted by kestasjk on Sun, 28 Nov 2021 18:14:12 +0100

Gin Framework: Distinguish profiles based on cloud native environments

introduceUsing a complete example, in the Gin framework, profiles are distinguished based on the environment. That is, how to read different profiles in environments such as Testing and Online.We will use rk-boot To start the Gin Framework microservice.Visit the following address for the complete tutorial:https://rkdocs.netlify.app/cninstallgo ...

Posted by celsoendo on Wed, 24 Nov 2021 22:34:40 +0100

How to view Kubernetes API traffic by grabbing packets

When we view and modify Kubernetes resources through kubectl, have you ever thought about the interface behind? Is there any way to probe these interactive data?The interface between kuberentes client and server is based on http protocol. Therefore, we only need to be able to capture and parse https traffic, and we can see kubernetes API traffi ...

Posted by cedtech23 on Mon, 22 Nov 2021 03:33:10 +0100

Adaptive load shedding for microservice governance

Why do I need to reduce the load In micro service clusters, the call link is perplexing. As a service provider, there is a mechanism to protect itself, which prevents the caller from calling himself down without any brain calls and ensuring the high availability of his services. The most common protection mechanism is the current limiting mech ...

Posted by access9 on Sun, 21 Nov 2021 22:09:17 +0100