Skip to content

FutureQ - v0 - #25

Draft
hertzcodes wants to merge 57 commits into
futureq-io:mainfrom
hertzcodes:main
Draft

FutureQ - v0#25
hertzcodes wants to merge 57 commits into
futureq-io:mainfrom
hertzcodes:main

Conversation

@hertzcodes

@hertzcodes hertzcodes commented Jun 12, 2026

Copy link
Copy Markdown

hi ahmad we gotta talk about this.
the replication (raft) is vibe coded and i still haven't reviewed claude's code in details.

only the producers is implemented.

overall I could reach 30k/s write speed (with payloads varying between 0 to 2kb) on a single node with 200 concurrent requests. ( we must find good values for raft per workload though )
also the client is important ( the more concurrent requests the better speed ( because we will have less syncs on dragonboat's pipeline during the same time ))
on 3 node replicas it gives us way less ( around 8k ) with strong consistency.
it was all on localhost btw. so it's defo way less in production
i know it's pretty bad but this is the most durable thing with the least complexity. we might have to add batching, increase concurrency internally in the sdk we are going to write and also support no acks or async disk writes to increase the speed.

there's no batching. only single message acks (always acks) and syncs
we gotta decide how much performance and what features we want for V2.

I don't have any idea for the consumer part and the deletion of keys yet. also the guarantees we want to have on the delivery.

just take a look at it and tell me what you think.
I think using pebble is actually a good idea since dragonboat uses pebble itself underneath.

@hertzcodes hertzcodes changed the title FutureQ - v2 FutureQ - v0 Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant