I've been benchmarking parts of ssb, with %bench-ssb
So far, have separate benchmarks for:
- generating messages
- validating messages
- writing messages to a raw flumedb
- writing messages to minimal secure-scuttlebutt (in progress)
- writing messages to standard secure-scuttlebutt
The idea is that by writing a bunch of small benchmarks we can see where the problem areas. I'm gonna get it to generate graphs etc, but currently I can see that secure-scuttlebutt write is weirdly slow. I'm seeing ~500 messages a second. That is way too slow, especially since ssb minimal can do 2.9k per second. Maybe the difference is in views? (because minimal has very few views)
I havn't even gotten to reads yet, but the short term goal is to get initial replication to be fast.