14 ms·
Is there a job/message queue implemented in pure Postgres, so it doesn't depend on Python, Perl, Ruby, ...? So that it can be used from any language that can co
by RedShift1 5y ago
Is there a job/message queue implemented in pure Postgres, so it doesn't depend on Python, Perl, Ruby, ...? So that it can be used from any language that can connect to Postgres?
- worewood 5y agoMy opinion is if you need a message queue use a message queue product, not a database.
- gurjeet 5y agoFWIW, my opinion is that you always start with the database, especially an RDBMS, to solve your problem. Databases have some pretty advanced programming constructs, and advanced algorithms that are available to you via a language as simple as SQL. And when it (the database) cannot serve your needs in terms of performance anymore, then you must choose a domain-specific product dedicated to solve the you challenges. > premature optimization is the root of all evil.
- _hl_ 5y agoUsually job queue libraries provide other niceties like tight language integrations. While you could probably build a job queue with a decent API in pure postgres, it wouldn't even come close to e.g. just slapping @task in front of your method like in the post.