222 points by coffeemug about 5 hours ago | 54 comments | View on ycombinator
levkk about 5 hours ago |
steno132 37 minutes ago |
I would propose a rewrite of Postgres in another language like Rust, introducing a pluggable application layer on top. While ambitious in scope I think it would be helpful and even necessary.
jraedisch about 5 hours ago |
linuxhiker 15 minutes ago |
kilobaud about 5 hours ago |
How is this project at all comparable to something like Temporal? Am I misunderstanding the limitation implied by this particular recommendation?
CharlieDigital about 2 hours ago |
df.wait_for_schedule()
How does this call work? Is it idempotent if I call it from an application? If I run it 2x with the same parameters, does it double tick? Am I invoking this manually from a query console to only do this one time? Am I running this as part of a migration script?For this[0]:
-- Wait for human signal (5 minute timeout)
~> (df.wait_for_signal('approval', 300) |=> 'sig')
~> df.if(
$$SELECT NOT ($sig::jsonb->>'timed_out')::boolean
AND ($sig::jsonb->'data'->>'approved')::boolean$$,
Is the `timed_out` a fixed constant that is returned on timeout?Also not immediately clear: how to handle errors/exceptions?
[0] https://github.com/microsoft/pg_durable/blob/main/examples/i...
TuringNYC about 4 hours ago |
For example, you cant use this: https://www.paradedb.com/blog/hybrid-search-in-postgresql-th...
Also for example, you dont get ultra-wide high dimensionality vectors.
It is nice they are open sourcing pg_durable, but how about adopting table stakes I'd get with AWS?
faxmeyourcode about 5 hours ago |
Why would I want to store my control flow in the database and not in code? It feels strange.
Not trying to dismiss the project, I'm just not getting it yet I think.
oa335 about 5 hours ago |
joelthelion about 4 hours ago |
rastignack about 4 hours ago |
One would be able to trigger maintenance jobs via simple lambda functions whose duration is capped.
mikey_p about 4 hours ago |
redmonduser about 4 hours ago |
cpursley about 5 hours ago |
As an ex-app engineer though, I kind of prefer my queue logic to be in code, in Git, but maybe with the right tooling, you can change my mind. :)
[0]: https://www.dbos.dev/
[1]: https://github.com/NikolayS/pgque