Software Architecture in Golang: Health Check Pattern (gRPC Example)



Software Architecture in Golang: Health Check Pattern (gRPC Example)

Software Architecture in Golang: Health Check Pattern (gRPC Example)

The Health Check pattern consists of implementing a way to expose the health of our service, to indicate if everything is performing correctly, typically web services implement it by defining and endpoint (like “/status” or “/health”) to exposes that information via status codes, or in gRPC using the gRPC Health Checking Protocol.

The Health Check Patter is also known as Health API Pattern or Health Monitoring Patern and is useful for Monitoring, Load Balancers and Service Registries.

== Relevant links

■ Software Architecture in Golang: Observability https://youtu.be/r8JY1AQtkj8
■ Software Architecture in Golang: Scalability vs Elasticity: https://youtu.be/YEs-hv3X3AY
■ Code Example: https://github.com/MarioCarrion/grpc-microservice-example/tree/81042d9af4f3a65d2671e6d9f827d93d119a3274
■ gRPC Health Checking Protocol: https://github.com/grpc/grpc/blob/master/doc/health-checking.md
■ Software Architecture in Go/Golang: https://www.youtube.com/playlist?list=PL7yAAGMOat_GCd12Lrv_evJ3Zhv1dl8B-

== All Go/Golang Playlists

■ Building Microservices in Go/Golang: https://www.youtube.com/playlist?list=PL7yAAGMOat_Fn8sAXIk0WyBfK_sT1pohu
■ Go/Golang Tools and Packages: https://www.youtube.com/playlist?list=PL7yAAGMOat_HEEOvH99agDs_5g51A0Ls3
■ Learning Concurrency Patterns in Go/Golang: https://www.youtube.com/playlist?list=PL7yAAGMOat_Fhj_px_DzNzTsXs-mRwv1t
■ Learning Go/Golang : https://www.youtube.com/playlist?list=PL7yAAGMOat_F7bOImcjx4ZnCtfyNEqzCy
■ Learning Relational Databases in Go/Golang: https://www.youtube.com/playlist?list=PL7yAAGMOat_EgwoQTvNUflrYL_4qzdB7f
■ Testing in Go/Golang: https://www.youtube.com/playlist?list=PL7yAAGMOat_HSeW4zF0uRL9EaHadE4ZZq

== Socials

■ https://twitter.com/MarioCarrion
■ https://www.instagram.com/mario.carrion
■ https://linkedin.com/in/MarioCarrion

00:00 – Introduction to the Health Check Pattern
01:22 – Health Check Pattern example in gRPC using Golang
09:54 – Conclusion

=== Who am I?

Hello👋🏼! I’m Mario, a Hands-on Software Architect and Lead Backend Engineer with more than 16 years of professional experience building all kinds of software including on-premise Industrial Automation Systems, Linux Accessibility Desktop and Browser Components as well as Distributed Advertising Microservices.

Every week I will share with you different topics I’ve learned while working for small startups and large companies including the processes I’ve followed over the years for successfully delivering complex enterprise systems from start to end.

Subscribe if you like Software Development, Software Architecture and Systems Design!

Keep it up. Don’t give up!

#golang #softwarearchitecture #systemdesign

=== Our Vlog Channel

https://www.youtube.com/c/RubyCarrion/videos

=== Affiliate links

■ Amazon Shop 🛒 https://www.amazon.com/shop/rubycarrion
■ Technical/Non-technical Books – Recommended by Mario Carrion 📚 https://www.amazon.com/shop/rubycarrion?listId=P8KAGIWTNH3X&ref=cm_sw_em_r_inf_list_own_rubycarrion_dp_dyqYP6yk67Hif

DISCLAIMER: Some of the links shared above are affiliate links. As a member of these affiliate programs, I earn a small commission from your purchases at no additional cost to you. Thank you in advance for your support!

Comments are closed.