Top
Best
New

Posted by yakkomajuri 11/3/2025

Why we migrated from Python to Node.js(blog.yakkomajuri.com)
229 points | 281 commentspage 3
me2too 11/3/2025|
Is this 2015?
802e65bc-e259 11/4/2025||
I am curious, what is the latest and greatest language/framework that they should have used from the start?
morshu9001 11/3/2025||
Plenty of people are still using Python, Java, or even C++ for this sort of thing, even in new codebases, for no reason other than familiarity
andrewstuart 11/3/2025||
Python async doesn’t suck. Python async is awesome.

But there’s giant red flags up if you’re trying to do async with Django, which is built as synchronous code.

dalberto 11/3/2025||
Async django is not for the faint of heart, but it's definitely possible in 2025.

I recently wrote about issues debugging this stack[1], but now I feel very comfortable operating async-first.

[1] https://blendingbits.io/p/i-used-claude-code-to-debug-a-nigh...

y1426i 11/3/2025||
We did the same for our app as well. I wrote a little library to make it as simple as FastAPI to generate swagger specs - you can try it out - https://github.com/sleeksky-dev/alt-swagger .
tempest_ 11/3/2025|
We use fastapi for our newer stuff. Its nice but unless you really need async I think you can get further quicker with something like flask.

I really wish the dev would extract the dependency injection portion of the project and flesh it out a bit. There are a lot of rough edges in there.

novoreorx 11/4/2025||
This kinda resonates with me. I've been using Python for over a decade and the only async method I trusted was gevent, and since I moved to Go after 2016, I never want use Python async in production level project, even I came back to see how it goes almost every year.

But since Python's LLM ecosystem is so well, I really appreciate the courage it takes to migrate to Node when writing a RAG system. I've tried similar things recently, working on a document analyzing project using React Router as the full-stack framework, while put some ETL related work on the Python side, use inngest to bridge Node and Python services. In this way, I got the benefit of Node for LLM chat, while stil able to facilitate Python's SOTA ETL libraries.

xenator 11/3/2025||
So basically you just rewrote boilerplate code with complexity of "hello world" and deploy scripts. Without any dependencies, data migrations, real user data and downtime SLA. And after that you had time to write quite long article.

What honest reaction you expect from readers?

oompydoompy74 11/3/2025|
I have no idea how you reached this conclusion from the article that I read.
xenator 11/4/2025||
Just simple arithmetics.
aprilfoo 11/4/2025||
Posts inviting language/frameworks flame wars are clickbaits... and i fell for it, again.
oceansky 11/4/2025|
I, for one, love reading those.
pphysch 11/3/2025||
Who is the audience for a post like this? Presumably HN, since the author invoked PG.

But who is "we rewrote our stack on week 1 due to hypothetical scaling issues" supposed to impress? Not software professionals. Not savvy investors. Potential junior hires?

rs186 11/3/2025|
Probably people who write too little code but read too many blog posts
hintymad 11/3/2025||
> Python async sucks

I always find this line of thought strange. It's as if the entire team hinges their technical decision on a single framework, when in reality it's relatively easy to overcome this level of difficulties. This reminds me of the Uber blunder - the same engineer/team switched Uber's database from MySQL to Postgres and then from Postgres to MySQL a few years later, both times claiming that the replaced DB "does not scale" or "sucks". In reality, though, both systems can work very well, and truth be told, Uber's scale was not large enough for either db to show the difference.

TZubiri 11/3/2025|
The grass is always greener, because of greenshift, a phenomenon where the light dilates due to the universe expansion dilation of spacetime.
neya 11/3/2025|
Do yourself a favor and use Elixir. Elixir has almost the same top libraries from Python you need to work with AI. As a matter of fact, the Elixir versions are far less fragile and more reliable in production use cases. I documented my journey of writing an AI app using Elixir and listed out the top libraries you can use, especially if you're coming from Python:

https://medium.com/creativefoundry/i-tried-to-build-an-ai-pr...

More comments...