Microservices have everything from code to k8s deployment (XI. Log collection)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...

Added by devarishi on Tue, 08 Mar 2022 03:48:50 +0200

Microservices have everything from code to k8s deployment (X. error handling)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...

Added by zulubanshee on Mon, 07 Mar 2022 03:40:56 +0200

Implementation and analysis of time wheel and time wheel in go zero

Time wheelUsed to delay the scheduling of tasks.sceneImagine a scenario where I need to maintain a connection pool. The connection in the connection pool has a timeout time. The connection will maintain a certain frequency to send heartbeat packets. For example, it will expire in 5s if I don't receive keep alive within 30s. conn will disconnect ...

Added by cavedave on Sat, 19 Feb 2022 17:38:08 +0200

Take you ten days to easily handle the Go micro service series

At the beginning of this article, we will publish a series of articles to show you a go zero micro service example in detail. The whole series is divided into ten articles, and the directory structure is as follows:Environment construction (this article)Service splittingUser servicesProduct serviceOrder servicePayment servicesRPC service Auth a ...

Added by robsgaming on Tue, 15 Feb 2022 05:26:15 +0200

Microservices have everything from code to k8s deployment (III. authentication)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...

Added by ambo on Fri, 11 Feb 2022 16:07:27 +0200

Take you ten days to easily finish the finale of Go micro service (Distributed Transaction)

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment constructionService splittingUser servicesProduct serviceOrder servicePayment servicesRPC service Auth authenticationService monitoringLink track ...

Added by VanPEP on Wed, 09 Feb 2022 06:43:58 +0200

Take you ten days to easily handle the Go micro service series

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment construction Service splitting User services Product service Order service Payment service (this article) RPC service Auth authentication Service ...

Added by drumhrd on Fri, 28 Jan 2022 15:48:49 +0200

Take you ten days to easily complete the Go micro service series

At the beginning of this article, we will publish a series of articles to show you a go zero micro service example in detail. The whole series is divided into ten articles, and the directory structure is as follows: Environment construction (this article) Service splitting User services Product service Order service Payment services RPC servic ...

Added by giraffemedia on Sat, 22 Jan 2022 01:38:04 +0200

Take you ten days to easily complete the Go micro service series

preface We will show you a go zero micro service example in detail through a series of articles. The whole series is divided into ten articles, and the directory structure is as follows: Environment constructionService splittingUser services (this article)Product serviceOrder servicePayment servicesRPC service Auth authenticationService monit ...

Added by Galia on Fri, 21 Jan 2022 09:34:11 +0200

This paper explains the principle and implementation of consistent hash

Why do I need a consistent hash First, what is hash Hash, generally translated as hash, or transliterated as hash, is to transform an input of any length (also known as pre mapping pre image) into a fixed length output through hash algorithm, and the output is the hash value. This transformation is a compression mapping, that is, the hash valu ...

Added by alexrait1 on Sun, 28 Nov 2021 23:48:00 +0200