Skip to content

A distributed message broker protocol & implementation.

Notifications You must be signed in to change notification settings

lyuben-todorov/piko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

piko

A distributed message broker protocol & implementation.

Projects related to this repository

  • node - Node implementation.
  • pcm - Cluster manager script.
  • piko-cli - CLI.
  • willis - Testing & diagnostic.

Benchmarks

Currently, I'm benchmarking the following situations:

  1. n messages to single node in a cluster of m nodes.
  2. Split n messages evenly between m nodes.
  3. Test 1 but with async client handling.
# n m sample size seq. client ops/s
1 1000 2 20 yes 90.2 ± 0.16
2 1000 2 20 yes 181 ± 3.05
3 1000 2 20 no 1850 ± 245

Split test does in fact achieve twice the throughput.

Performace doesn't degrade over time. Here are the results after 20 sequential test 1s:

Test 2 doesn't work with async client handling and regardless the throughput is low.

This means the project will migrate to tokio.

About

A distributed message broker protocol & implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published