Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S system-design-primer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 190
    • Merge requests 190
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Donne Martin
  • system-design-primer
  • Issues
  • #31
Closed
Open
Issue created Mar 23, 2017 by Administrator@rootContributor

Change Zookeeper as example for service discovery

Created by: mad01

Using Zookeeper as a example of service discovery might not be a god idea. Why? The way you run and manage zookeeper is hard, the way zookeeper knows that a service is healthy is a bit fragile and does not allow node failure in the ZK cluster. Using something like consul as the example were the health checking is done differently and is pull based makes it more robust and is probably a better example to point to

zookeeper works fine if you are looking for a AP solution for master elections and things like that but for service discovery it's not that suitable

using consul means that you need a http endpoint that consul can health check using zookeeper means that you need application logic to hold a tcp connection open

Assignee
Assign to
Time tracking