bezrukov / queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Try to implement same that did https://www.youtube.com/@SovietReliable

queue

Easy to use distributed event bus similar to Kafka

Features (work in progress)

  1. Easy to configure our of the box to not lose data.
  2. Distributed, with asynchronous replication by default.
  3. Explicit acknowlwdgement of data thet was read.

Design (work in progress)

  1. Sata is split into chunks and is stored as files on disk. The files are replicated.
  2. Readers explicitly acknowlwdge data that was read. Readers are responsible for reading the chunks starting with the appropirate offsets.

TODOs:

  1. Limit for the maximum message size is 1 MiB, etherwise we can to longer serve results from disk because we read from disk in 1 MiB chunks.
  2. Write a more fine-grained test for on-disk format.

About


Languages

Language:Go 99.7%Language:Makefile 0.3%