Hacker News new | ask | show | jobs
by jumpingmice 2433 days ago
Reading 100k rows per second from sqlite sounds WAY easier than serving 100k HTTP/2 queries in the same time.
1 comments

True. But in my case the code also distributes these datapoints to multiple threads, computes technical indicators and simulates tradings while gathering statistics to finetunne parameters.

The only optimization I've done was to ditch maps wherever I could. They were dominating flamegraphs.

This is why I expected GRPC to perform better. But I agree it depends heavily on what's being done.