3 ms·
> With postgres, they’ve got an MVP in a day, and shipped within a week. And the next week they realize they want reader processes to block until there is work
by petilon 5y ago
> With postgres, they’ve got an MVP in a day, and shipped within a week.
And the next week they realize they want reader processes to block until there is work to do. Oops that's not supported. Now you have to code that feature yourself... and soon you're reinventing Kafka.
- guywhocodes 5y agoThat's where LISTEN comes in. It's very simple to write this loop perfectly correct.
- mlyle 5y agoThe very source we're talking about describes how to block until there is work to do -- listener.Listen("ci_jobs_status_channel")