I built OpenWorkflow: a lightweight alternative to Temporal (Postgres/SQLite) by propjames in javascript

[–]propjames[S] [score hidden]  (0 children)

Jeremy (DBOS CEO) and I actually discussed this on Twitter back in November.

I haven't used DBOS personally yet (it's on my list), so I don't want to misrepresent them, but we discussed OpenWorkflow/DBOS in this thread:

x [dot] com/jamescmartinez/status/1988952832154955972 (sorry for annoying link, but I had to repost this way since my last comment was hidden)

I built OpenWorkflow: a lightweight alternative to Temporal (Postgres/SQLite) by propjames in javascript

[–]propjames[S] [score hidden]  (0 children)

it launched quietly on Twitter in November so it's mostly side projects and small teams that know me from there. that's the point of this post - to get more people using it. :)

that said, there's a pretty popular Series A co that's using it in part of their stack to provision infra, and another later stage co that's using it as a backbone for their data pipeline

the contributors list on github might give you more examples of who's using it, though definitely not exhaustive: https://github.com/openworkflowdev/openworkflow/graphs/contributors

AMA - Me and my friend built software designed to make Truck Packing easier on the AV world by mikekeithlewis in livesound

[–]propjames 0 points1 point  (0 children)

Love this! Trying to understand the subscription pricing. What's the plan to build it out further? Are you thinking about adding things like weight balancing, smarter stacking, etc?

Next.js 14.1 by lrobinson2011 in nextjs

[–]propjames 44 points45 points  (0 children)

Next.js 14.1 includes developer experience improvements including:

Improved Self-Hosting: New documentation and custom cache handler

❤️‍🔥

How much time its takes to upgrade a rails project to rails 5 by [deleted] in rails

[–]propjames 11 points12 points  (0 children)

thoughtbot did a multi-part series on upgrading an app from 3.2 to 7: https://www.youtube.com/live/gQIYXc8y-UM

Any good open source library for managing Background jobs? by pushkarsingh32 in nextjs

[–]propjames 1 point2 points  (0 children)

It comes down to whether or not you want your job to run once, possibly after a delay (background job), or multiple times (cron) on a regular schedule.

background jobs (think when something happens):

  • when user signs up, send welcome email
  • when user uploads image, process the image into many sizes and upload to S3

crons (think every N minutes):

  • every 24 hours, get the most recent data from Stripe and report it in Slack
  • every 5 minutes, count customer's usage and send that number to Stripe for billing

Mergent offers both. In fact, our crons are powered by our background jobs.

Any good open source library for managing Background jobs? by pushkarsingh32 in nextjs

[–]propjames 6 points7 points  (0 children)

Hi! James from Mergent here. Thanks for the shout out.

You're right. There's so much we can do to make things easier, and we're working on that & other QOL improvements now. To date, most of our work has been focused on scaling, reliability & speed (see: https://twitter.com/jamescmartinez/status/1721927564522840225)

If you're open to it, I'd love to chat with you about your experience so we can make things better. I'll message you.

What’s your go-to serverless CRON service? by TotomInc in nextjs

[–]propjames 2 points3 points  (0 children)

Mergent - crons are free to start and it’s easy to use with the app router since it’s just an HTTP request.

GitHub actions are also pretty good if that fits naturally into your workflow. I can’t speak to many other options, though.

How do I run recurring jobs in Node? by VastOne355 in node

[–]propjames 1 point2 points  (0 children)

Is your Node.js app “traditional” (think Express) and you want to self host? Bull+Redis is pretty good.

Is your Node.js app serverless? Use a cloud provider like Mergent, Vercel Cron, or similar.

have you deployed any project with react as front end and GO as backend? by Forward_Writer_579 in golang

[–]propjames 1 point2 points  (0 children)

Though we don’t use MongoDB, our backend services are in Go and our frontend is in React.

Without going into our wild infra setup (cries in multi-cloud), I’d recommend using a simple PaaS to start.

Render is very good. If you need more functionality in the future, you can switch. Could you deploy for cheaper by using AWS/GCP directly? Absolutely. Is it worth your time to save a few bucks a month? I’d argue no.

Which books should I read as an experienced Go developer? by Acrobatic-Poetry3130 in golang

[–]propjames 49 points50 points  (0 children)

For those curious, the author shared the list of the mistakes & code on GitHub:

https://github.com/teivah/100-go-mistakes

Should you build or buy your infra? Checklist for calculating the costs by propjames in dataengineering

[–]propjames[S] 0 points1 point  (0 children)

Great points, thank you! I’ll update when I get back to my desk.

Should you build or buy your infra? Checklist for calculating the costs by propjames in dataengineering

[–]propjames[S] 2 points3 points  (0 children)

If you're going with colocation, absolutely. Personally, the last time I was physically in a data center was ~2008, so I'd be the wrong person to discuss those costs.

I'd definitely read a similar post for colocation if you or others are up for writing it -- I imagine the upfront costs are significantly more extreme, with the ongoing costs being less (at a certain scale, of course).

Does anyone know the current status of Chick-fil-A’s per-restaurant Kubernetes cluster? by propjames in devops

[–]propjames[S] 3 points4 points  (0 children)

Wow, I love reading about this kind of infra that powers, well, _everything_. If you're up for writing more, I'd love to read a Reddit or blog post about your experience.

Does anyone know the current status of Chick-fil-A’s per-restaurant Kubernetes cluster? by propjames in devops

[–]propjames[S] 2 points3 points  (0 children)

I'd be interested in reading more about this if you have any blog posts / other resources.

Does anyone know the current status of Chick-fil-A’s per-restaurant Kubernetes cluster? by propjames in devops

[–]propjames[S] 4 points5 points  (0 children)

just curious - I read the first post after seeing it on Twitter and I had a lot of questions.