Live data from Hacker News

Show HN: DBOS Java – Postgres-Backed Durable Workflows

github.com

31–40 of 59 posts

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#31
post #26

I really wish you guys would change the name since the product has moved so far away from the goals and concepts in the original publication. :). I love the product and what you are doing -- it's definitely needed and valuable.

What is the original publication?

https://dbos-project.github.io/ has all of the info

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#32

I like dbos architecture much more than temporal since it is much easier to operate on small team. But dbos doesn't have opensource release of web ui, which is most critical part for a workflow management tool. Since competitor have all of itself opensource I don't think dbos will have a chance.

We'll be releasing self-hostable Conductor (the web UI) soon--stay tuned!

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#33
The Java version looks pretty danged cool paging through the some of the code.

I was trying to think of a use case for this and I was reminded of a Sun Microsystems demo (yes I'm that old) I saw. The paused a JVM and "slept" it, then kicked up on another machine almost instantly, all over the network. Was a pretty cool party trick, but then they did it when an HTTP request came in (Serverless was invented a LONG time ago!). I kinda wonder if this could be used for that?

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#34

The Java version looks pretty danged cool paging through the some of the code. I was trying to think of a use case for this and I was reminded of a Sun Microsystems demo (yes I'm that old) I saw. The paused a JVM and "slept" it, then kicked up on another machine almost instantly, all over the network. Was a pretty cool party trick, but then they did it when an HTTP request came in (Serverless was invented a LONG time…

Haha yes, one thing you can use this for is "long waits" or "long sleeps" where a program waits hours or days or weeks for a notification (potentially through server restarts, etc) then wakes up as soon as the notification arrives or a timeout is reached. More info in the docs: https://docs.dbos.dev/java/tutorials/workflow-communication

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#35

I like dbos architecture much more than temporal since it is much easier to operate on small team. But dbos doesn't have opensource release of web ui, which is most critical part for a workflow management tool. Since competitor have all of itself opensource I don't think dbos will have a chance.

We are a happy user of DBOS. I’ve been building out a lightweight TUI for managing our DBOS application internally, since we have workflows with tens of thousands of steps. I know the team is working on improving conductor for this use-case, but our internal TUI handles it pretty well for now. Hoping to open source it, but the code is a wreck atm. Anyways, I say all this to say, DBOS has a good client that can communicate with the instance easily, so building out a UI that fits your specific needs should be fairly simple.

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#37

Peter, how does this compare to Azure Durable Functions? (Say, for the sake of argument, that you are comparing the Python version of both) Are there things that fundamentally you can do in one and not in the other?

The main difference is that this is a library you can install and use in any application anywhere, while Durable Functions is (as I understand it) primarily for orchestrating serverless functions in Azure.

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#38

I like dbos architecture much more than temporal since it is much easier to operate on small team. But dbos doesn't have opensource release of web ui, which is most critical part for a workflow management tool. Since competitor have all of itself opensource I don't think dbos will have a chance.

We'll be releasing self-hostable Conductor (the web UI) soon--stay tuned!

If that comes, it will be truly great.

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#39

The Java version looks pretty danged cool paging through the some of the code. I was trying to think of a use case for this and I was reminded of a Sun Microsystems demo (yes I'm that old) I saw. The paused a JVM and "slept" it, then kicked up on another machine almost instantly, all over the network. Was a pretty cool party trick, but then they did it when an HTTP request came in (Serverless was invented a LONG time…

> I was reminded of a Sun Microsystems demo (yes I'm that old)

I wonder if my Solaris 7 cert is still good...

Re: Show HN: DBOS Java – Postgres-Backed Durable Workflows

#40

Peter, how does this compare to Azure Durable Functions? (Say, for the sake of argument, that you are comparing the Python version of both) Are there things that fundamentally you can do in one and not in the other?

The main difference is that this is a library you can install and use in any application anywhere, while Durable Functions is (as I understand it) primarily for orchestrating serverless functions in Azure.

(disclaimer: I work at Microsoft, but am not directly involved with Durable Functions)

Being a library is a pretty interesting feature! Correct, Durable Functions allows you to write task-parallel orchestrations of task-parallel 'activities' (which are stateless functions), and these orchestrations are fully persistent and resilient, like DBOS executions. It also has the concept of 'Entities', which are named objects (of a type you define) that "live forever", and serialize all method invocations, which are the only way to change their private state. These are also persistent. The Netherite paper [1], section 2, describes this model well.

So, there seems to be a pretty close correspondence between DBOS steps and DF activities, and between workflows and orchestrations. I don't know what the correspondence is to DF entities is in the DBOS model.

[1] https://www.microsoft.com/en-us/research/wp-content/uploads/...

Post reply on HN