When a comment on HN has more merit than the article.
The only problem with postgres is that inserting has some interesting scaling problems. Putting a queue between the event sources and the db is usually recommended.
The only problem with postgres is that inserting has some interesting scaling problems. Putting a queue between the event sources and the db is usually recommended.
Pat Helland has some really good writing on this stuff, e.g. https://pathelland.substack.com/p/i-am-so-glad-im-uncoordina...
That depends on the nature of the events and whether you can live with the database being out-of-date while the events are still in the queue.
Emphasis on _usually_. If your db is at 2% CPU utilization with/without queues ... you probably don't need a queue.