Better HN
topnewbestaskshowjobs
Log inSign up

sorentwo

1,180 karma · joined Apr 19, 2012 (14y ago) · 322 submissions

Creator and maintainer of Oban, the robust background job processor for Elixir

https://oban.pro

Submissions

1.

Cognitive Radius(lemire.me ↗)

3 points · by sorentwo · 6d ago · discuss

comment 1w ago · link · parent

Marking this as 2012 would help. It’s a fun read in a nostalgic, pre-ai kind of way, where emphasizing that developers should use bcrypt wasn’t standard practice.

3.

Postgres 19 is Late, and it's AI's Fault(neon.com ↗)

5 points · by sorentwo · 3w ago · discuss

4.

Monitoring the Health of Oban Applications(oban.pro ↗)

1 points · by sorentwo · 1mo ago · discuss

comment 1mo ago · link · parent

Came to share the same thing! I just listened to that episode on a road trip last week, it was fantastic.

Absolutely worth a listen!

comment 2mo ago · link · parent

Glad somebody noticed and appreciated that! Human written long form content is extremely important (to us, but I think for the world).

Every single email and issue reply is also 100% human authored. People deserve to interact with humans online, especially when they have reached out for help and real interaction.

comment 2mo ago · link · parent

Had to go through the exact same process of linking Partner Central with Marketplace. The console suggested following multiple video tutorials and linked to docs that may be outdated.

They have this AI tool on every page that links to the same content or references settings panes without linking anything.

8.

A failed project could help solve the biggest energy need(washingtonpost.com ↗)

2 points · by sorentwo · 3mo ago · discuss

comment 3mo ago · link · parent

They certainly do, and I don't think it's a controversial take at this point.

Shameless link to an older article about throughput with Oban (https://oban.pro/articles/one-million-jobs-a-minute-with-oba...), and in follow-up research we've sustained 12k/s with a p99 under ~100ms.

10.

What is the most sophisticated piece of software ever written?(quora.com ↗)

1 points · by sorentwo · 5mo ago · discuss

comment 5mo ago · link · parent

As a library maintainer, skill and taste are almost equally important. If I can’t recognize inefficiencies, difficult to maintain code, or generally unpleasant code smells, then people lose trust in my libraries/products and it’s no better off than some recently generated slop.

Years of production experience, wisdom, and using something in anger matters for both skill and taste.

comment 6mo ago · link · parent

The efforts we've undergone to make Oban (and Pro) work with CRDB have been ridiculous. Feature detection all over because of a lack of common operators and functions that can't be used in indexes. The worst is the rampant "serialization_failure" errors that force continual transaction retries. Not how I'd suggest scaling Postgres.

That said, as a predecessor to dbos in building durable workflows just using Postgres, I concur with the overall sentiment.

13.

Digger engines drive JCB's attempt on hydrogen-powered land speed record(thetimes.com ↗)

3 points · by sorentwo · 6mo ago · discuss

comment 8mo ago · link · parent

The moment that OpenCode, after helping fix a Dockerfile issue, decided it was time to deploy to prod without asking for consent, I was out.

15.

Iran's Sea Mines Are One of Its Most Powerful Weapons(wsj.com ↗)

3 points · by sorentwo · 8mo ago · discuss

16.

Bridging Elixir and Python with Oban(oban.pro ↗)

137 points · by sorentwo · 9mo ago · 54 comments

comment 9mo ago · link · parent

Nearly this, but using ghostty instead of tmux. You don’t get the remote connection aspect of tmux, but for splitting/zooming/preserving windows it is fantastic. The best part is you can configure natural shortcuts rather than using a leader for everything.

comment 10mo ago · link · parent

There is one for elixir that is _mostly_ compatible with oban-py. Full compatibility, and potentially native hosting, are goals before 1.0

https://github.com/oban-bg/oban_web

comment 10mo ago · link · parent

With a typical Redis or RabbitMQ backed durable queue you’re not guaranteed to get the job back at all after an unexpected shutdown. That quote is also a little incorrect—producer liveness is tracked the same way, it’s purely how “orphaned” jobs are rescued that is different.

comment 10mo ago · link · parent

You can have jobs that run as long as you like. The difference is purely in how quickly they are restored after a crash or a shutdown that doesn’t wait long enough.

comment 10mo ago · link · parent

This is absolutely true (except we went OSS + Web initially, Pro came later). You were an inspiration, always helpful in discussion, and definitely paved the way for this business model.

comment 10mo ago · link · parent

> The vast, vast majority of Python libraries are not async-friendly and most still rely on the GIL. On the other hand, Celery has absolutely no asyncio support at all, which sets the pro feature apart.

That's great advice. Wish we'd been in contact before =)

comment 10mo ago · link · parent

Transactions around fetching/updating aren't trivial, that's true. However, the work that you're doing _is_ regular activity because it's part of your application logic. That's data about the state of your overall system and it is extremely helpful for it to stay with the app (not to mention how nice it makes testing).

Regarding overall throughput, we've written about running one million jobs a minute [1] on a single queue, and there are numerous companies running hundreds of millions of jobs a day with oban/postgres.

[1]: https://oban.pro/articles/one-million-jobs-a-minute-with-oba...

comment 10mo ago · link · parent

There are other projects that implement the ideas in OSS, but that's the same in Elixir. Not that we necessarily invented DAGs/workflows, but our durable implementation on the Elixir side predates DBOS by several years. We've considered it an add-on to what Oban offers, rather than the entire product.

Having an entirely open source offering and selling support would be an absolute dream. Maybe we'll get there too.

comment 10mo ago · link · parent

> It supports workflows, rate limiting, unique jobs, bulk operations, transactional enqueuing, etc. Why not move these things to the OSS version to be competitive with existing options, and focus on dedicated support and more traditional "enterprise" features, which absolutely are worth $135/month (the Oban devs provide world-class support for issues).

We may well move some of those things to the OSS version, depending on interest, usage, etc. It's much easier to make things free than the other way around. Some Pro only features in Elixir have moved to OSS previously, and as a result of this project some additional functionality will also be moved.

Support only options aren't going to cut it in our experience; but maybe that'll be different with Python.

> There are many more options available in the Python ecosystem than Elixir, so you're competing against Temporal, Trigger, Prefect, Dagster, Airflow, etc etc.

There's a lot more of everything available in the Python ecosystem =)

comment 10mo ago · link · parent

> Oban has been a lifesaver for me and it is the tool I miss the most from the Elixir ecosystem when doing work in Python

That's wonderful to hear! Hopefully you can make use of Oban in both places now =)

> I have one question: are there any plans for interop between Oban and the new Django Tasks[1]?

There aren't any plans at this point, but it's certainly possible.

27.

Show HN: Oban for Python (Job Orchestration Framework)(github.com ↗)

2 points · by sorentwo · 10mo ago · discuss

comment 10mo ago · link · parent

Pleased to see this posted! A lot of design time and effort behind this project (something we'll be speaking about this year). Happy to answer any questions people may have.

comment 10mo ago · link · parent

Seconded. I was going to say the exact same thing. Brilliant thought exercise that I still think about on a weekly basis 20 years later.

comment 10mo ago · link · parent

Before looking at the zoo I figured there would be a dozen or so engines compared. Seeing the actual comparison is astounding!

The amount of work just to aggregate and compare is admirable, let alone the effort behind the engines themselves.

12345
11