Re:Go and SQLite in the Cloud
by marktangotango on Friday December 09, 2022 @11:03AM
(#33922793)
You should duplicate this test against postgres inserts. I did the same thing for sqlite; in go using a mutex on inserts, and sqlite still out performs postgres on inserts (on the same machine).
Here's one for 64 parallel writes: https://gist.github.com/markuswustenberg/f35ab7e191137dca5f7...
1e9/1198679 = 834 writes per second is still far from crash and burn territory when using just WAL mode.Of course, it gets more interesting when there are also concurrent readers, as people are trying out elsewhere in the discussion. But the point still stands: it can handle way, waaaay better than "fives of authors" in a not-at-all scary way.