The System Design Newsletter

The System Design Newsletter

Share this post

The System Design Newsletter
The System Design Newsletter
What Is Service Discovery?

What Is Service Discovery?

Feed: Service Discovery In Microservices

Neo Kim's avatar
Neo Kim
Jun 30, 2023
6
Error

Share this post

The System Design Newsletter
The System Design Newsletter
What Is Service Discovery?
3
2
Error
Share

Thanks for reading systemdesign.one newsletter. If you're not yet subscribed, let me help you with that:

Error

Service Discovery Write Workflow

The service provider shares its IP address and port number for registration with the service registry. A periodic heartbeat signal is utilized to indicate the current status of a service instance. Typically, well-behaving service instances will voluntarily deregister upon shutdown. However, if a service abruptly shuts down and no heartbeat signal is detected for an extended duration, the system will automatically classify the instance as inactive.

Service Discovery Read Workflow

By employing the publish-subscribe pattern, reliable service discovery can be implemented. In this approach, service consumers are advised to subscribe to the desired service providers listed in the service registry. As any modifications occur in the service providers, the service registry proactively notifies the subscribed service consumers of these changes.

Read the detailed article


Thank you for reading System Design Newsletter. This post is public so feel free to share it.

Share

Ibrahim Elsawaf's avatar
Sertaç's avatar
dns issue's avatar
Junaid Effendi's avatar
ROY's avatar
6 Likes∙
2 Restacks
6
Error

Share this post

The System Design Newsletter
The System Design Newsletter
What Is Service Discovery?
3
2
Error
Share

Discussion about this post

User's avatar
Raviraj Achar's avatar
Raviraj Achar
Oct 3, 2023

This domain is what my team is responsible for in Meta's infrastructure. You described the essence of the space pretty well. Though there are many ways to do this and you have described one possible way here.

Also something to consider is the scale of reads >> scale of writes which makes this an extremely read heavy system.

Expand full comment
Like (1)
Reply
Share
2 replies by Neo Kim and others
2 more comments...
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
#1: Learn More - Awesome WhatsApp Engineering (6 minutes)
Aug 27, 2023 â€¢ 
Neo Kim
752

Share this post

The System Design Newsletter
The System Design Newsletter
8 Reasons Why WhatsApp Was Able to Support 50 Billion Messages a Day With Only 32 Engineers
25
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
#30: Learn More - Awesome PayPal Engineering (4 minutes)
Dec 26, 2023 â€¢ 
Neo Kim
274

Share this post

The System Design Newsletter
The System Design Newsletter
How PayPal Was Able to Support a Billion Transactions per Day With Only 8 Virtual Machines
14
How Stripe Prevents Double Payment Using Idempotent API
#45: A Simple Introduction to Idempotent API (4 minutes)
May 9, 2024 â€¢ 
Neo Kim
413

Share this post

The System Design Newsletter
The System Design Newsletter
How Stripe Prevents Double Payment Using Idempotent API
30

Ready for more?

Error
© 2025 Neo Kim
Publisher Privacy
Substack
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

ErrorError

Create your profile

User's avatar

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.

User's avatar

javinpaul, a subscriber of The System Design Newsletter, shared this with you.