<oembed><type>rich</type><version>1.0</version><title>Kevin Åberg Kultalahti wrote</title><author_name>Kevin Åberg Kultalahti (npub106…ptw9x)</author_name><author_url>https://yabu.me/npub106wfyjh9y4wftfz5629w392j58sgr7pg44xuqwq4pz6sjxyvse0qcptw9x</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>I&#39;d be curious to see how this runs on a bare metal VPS - I would expect way way higher throughput.&#xA;&#xA;Another thing to try would be to batch writes - instead of writing every time something happens you collect writes in a queue and write every 50ms in one big transaction. This should help a lot with write throughput.&#xA;&#xA;Reading can be done in the same way.&#xA;&#xA;If you want to avoid parameter limits you can use JSON1.&#xA;&#xA;Last but not least, analyze the queries using `EXPLAIN QUERY PLAN` to make sure your indices are correctly used.</html></oembed>