Ask HN: Using Bluebird Promises in 2025?
The rationale is that native promises have different, and worse, performance characteristics... Which I think is maybe technically true. Something about the event loop and microticks.
And they've had to fix various latency issues over the years due to people using native promises instead of Bluebird in our codebase.
But our code is full of boilerplate, harder to read and maintain as a result and I'm struggling to accept that this is the right tradeoff for a growing team (~30 devs working on this codebase)
I also just can't believe that a lot of other shops are doing this, or that we're the only ones running into these performance issues.
Maybe it's our use-case? I kinda doubt it. We're an observability/analytics product so there's a fair bit of data transformation going on. But we don't have a ton of concurrent users (think dozens).
I'm hoping that this thread can attract some performance-conscious nodejs engineers who can help shed some light on how your apps aren't slow or blocking all the time despite using native promises.
Thanks, and Happy Friday!