notexOPENOverview
Notex/Systems/Ticket Server
07.06LESSON 06 OF 9 · 1 MIN READ

Ticket Server

Always free to read
SECTION VIDEOTicket Server

Video coming soon. Start with the reading below.

COMING SOON

Ticket servers are another interesting way to generate unique IDs. Flicker developed ticket servers to generate distributed primary keys [2]. It is worth mentioning how the system works.

Design a unique ID generator in distributed systems — original diagram 94

The idea is to use a centralized auto_increment feature in a single database server (Ticket Server). To learn more about this, refer to flicker’s engineering blog article [2].

Pros:

  • Numeric IDs.
  • It is easy to implement, and it works for small to medium-scale applications.

Cons:

  • Single point of failure. Single ticket server means if the ticket server goes down, all systems that depend on it will face issues. To avoid a single point of failure, we can set up multiple ticket servers. However, this will introduce new challenges such as data synchronization.
Progress is saved on this device.
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K