Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 759 Bytes

File metadata and controls

21 lines (16 loc) · 759 Bytes

consistent_hashing_workers

Test

This repo contains 3 services:

  • Generator is generating jobs with an id and data
  • Workers are processing the jobs and send their results to reporter
  • Reporter is aggregating jobs results and then saves a report

In steady state, requirements are:

  • Each job id is processed by the same worker
  • Workload is evenly distributed among the workers

Abstract Design

Abstract

Implementations

RabbitMQ (Centralized Message Broker)

RabbitMQ

ZeroMQ (Distributed Messaging Sockets)

ZeroMQ