News for hackers. Stuff that matters.
Re:You Are Not Google (2017) by ngrilly on Friday April 05, 2019 @04:51PM (#19586914)
I have an app that uses an in-memory queue too in one thread :-)

I'm curious: why do you queue instead of directly writing to the database?

Re:You Are Not Google (2017) by cheez on Friday April 05, 2019 @05:05PM (#19587037)
At the moment, I queue to batch insert real time data at ~5 second intervals. It seems less wasteful of resources, but quite frankly is probably not needed.