I’m making a FOSS analytics system, and ease-of-installation is important. I want to send event data to a separate SQLite database, to keep analytics data separate from the main app’s data.
I’m concerned about scaling, since even a modestly busy website could have 1000+ events per second.
My thought is to store events in memory on the server and then make one batched write every second.
Does this seem like a reasonable way to get around the SQLite limitation where it struggles with lots of DB writes? Any better ideas?