Readit News logoReadit News
cmdtab commented on Build durable workflows with Postgres   dbos.dev/blog/why-postgre... · Posted by u/KraftyOne
johtso · 20 days ago
Why would you not recommend Cloudflare workflows? Was thinking of using them in my current project..
cmdtab · 20 days ago
They inherit all the limitations of DO. For example, if you want to do anything that requires more than 6 TCP connection. Every fetch request will start failing silently because there is no more TCP connection to go through. This was a deal breaker for us. Their solution was split our code into more workflows or DOs.

You are limited to 128 MB ram which means everything has to be steamed. You will rewrite your code around this because many node libraries don't have streaming alternatives for things that spike memory usage.

The observability tab was buggy. Lifecycle chart is hard to understand for knowing when things will evict. Lot of small hidden limitations. Rate limits are very low for any mid scale application. Full Node compatibility is not there yet (work in progress) so needed to change some modules.

Overall, a gigantic waste of time unless you are doing something small scale. Just go with restate/upstash + lambdas/cloud run if you want simpler experience that scales in serverless manner

cmdtab commented on Build durable workflows with Postgres   dbos.dev/blog/why-postgre... · Posted by u/KraftyOne
diarrhea · 20 days ago
Interesting!

What made you opt for DBOS over Temporal?

cmdtab · 20 days ago
Temporal required re-architecting some stuff, their typescript sdk and sandbox is bit unintuitive to use so would have been an additional item to grok for the team, and additional infrastructure to maintain. There was a latency trade off too which in our case mattered.

Didn't face any issue though. Temporal observability and UI was better than DBOS. Just harder to do incremental migration in an existing codebase.

cmdtab commented on Build durable workflows with Postgres   dbos.dev/blog/why-postgre... · Posted by u/KraftyOne
LudwigNagasena · 20 days ago
What was the reason for the transition?
cmdtab · 20 days ago
Needed checkpoints in some of our jobs wrapping around the AI agent so we can reduce cost and increase reliability (as workflow will start from mid step as opposed to a complete restart).

We already check pointed the agent but then figure it's better to have a generic abstraction for other stuff we do.

cmdtab commented on Build durable workflows with Postgres   dbos.dev/blog/why-postgre... · Posted by u/KraftyOne
cmdtab · 20 days ago
Recently moved some of the background jobs from graphile worker to DBOS. Really recommend for the simplicity. Took me half an hour.

I evaluated temporal, trigger, cloudflare workflows (highly not recommended), etc and this was the easiest to implement incrementally. Didn't need to change our infrastructure at all. Just plugged the worker where I had graphile worker.

The hosted service UX and frontend can use a lot of work though but it's not necessary for someone to use. OTEL support was there.

cmdtab commented on MoonPay executives may have sent $250k to Nigerian scammer   theblock.co/post/362339/m... · Posted by u/wslh
cmdtab · 2 months ago
I find it interesting how Americans roll over open corruption now
cmdtab commented on Ask HN: Who is hiring? (July 2025)    · Posted by u/whoishiring
cmdtab · 2 months ago
Runable | ONSITE - Bangalore | Full Time | https://runable.com

Runable is building general purpose automation agent to automate anything digitally possible.

We are hiring for backend/platform focused full stack engineers, video editor and a community manager intern.

https://runable.notion.site/Careers-at-RUNABLE-20dfb5780e748...

Apply. We have a simple take home for engineering role unless you have a solid github or stuff you built we can check.

Task: Build a simple orchestrator that runs a coding agent in the background inside firecracker instances with novnc support.

cmdtab commented on Show HN: Pickaxe – A TypeScript library for building AI agents   github.com/hatchet-dev/pi... · Posted by u/abelanger
gabrielruttner · 2 months ago
gabe, hatchet cofounder here. thanks for this feedback and i agree!

under the hood we're using vercel ai sdk to make tool calls so this is easily extended [1]. this is the only "opinionated" api for calling llm apis which is "bundled" within the sdk and we were torn on how to expose it for this exact reason, but since its so common we decided to include it.

some things we were thinking is overloading `defaultLanguageModel` with a map for different usecases, or allowing users to "eject" the tool picker to customize it as needed. i've opened a discussion [2] to track this.

[1] https://github.com/hatchet-dev/pickaxe/blob/main/sdk/src/cli...

[2] https://github.com/hatchet-dev/pickaxe/discussions/3

cmdtab · 2 months ago
I think providing examples and sample code is better than tying your API to AI sdk.

Due to how fast AI providers are iterating on their APIs, many features arrive weeks or months later to AI SDK (support for openai computer use is pending since forever for example).

I like the current API where you can wait for an event. Similar to that, it would be great to have an API for streaming and receiving messages and everything else is handled by the person so they could use AI sdk and stream the end response manually.

cmdtab commented on Show HN: Pickaxe – A TypeScript library for building AI agents   github.com/hatchet-dev/pi... · Posted by u/abelanger
gabrielruttner · 2 months ago
perfect use case and this was one of the reasons we built pickaxe, we have a number of coding agents/pr review platforms powered by hatchet with similar patterns already... more to come on the compute side for this use case soon

we'll have agent->client streaming on the very short term roadmap (order of weeks), but haven't broadly rolled out since its not 100% ready for prime time.

we do already have wait for event support for client->agent eventing [1] already in this release!

[1] https://pickaxe.hatchet.run/patterns/human-in-the-loop

cmdtab · 2 months ago
Pretty much was my first question if there was support for streaming events. Any way we could be beta tester? ༼ つ ◕_◕ ༽つ
cmdtab commented on Apple introduces a universal design across platforms   apple.com/newsroom/2025/0... · Posted by u/meetpateltech
cmdtab · 3 months ago
There is no contrast. Wow! Why?

Deleted Comment

u/cmdtab

KarmaCake day80November 27, 2024
About
https://saksham.work

me@saksham.work

View Original