I'm building the backend for an e-commerce site that needs to handle various services including payment processing, order management, an admin panel, user authentication, search functionality, and location-based filtering. I have some experience with Express.js, but I haven't built any large-scale or production applications yet. Since this platform will potentially serve millions of users, I want to make sure I pick the right technology stack. Which of these frameworks, Express.js or Hono.js, would be the best choice based on your experiences?
5 Answers
My advice would be to build a quick proof of concept with both frameworks and run some load tests based on your expected user load. Currently, we use Express for smaller internal applications, but for high throughput systems, we rely on Java/Vert.x.
If you're open to exploring more options, I'd suggest looking at Fastify.js as well. It's quite similar to Express, making it easy to transition, but it offers better performance and a solid plugin ecosystem.
If you're going down the route of Hono, especially if you're using Cloudflare’s tech stack, it could be a good fit. But if not, I’d probably stick with Express.js.
There's a good comparison video that dives into both frameworks, which you might find helpful. Personally, I prefer Hono's API design and its TypeScript support. It really shines in those areas.
I totally agree! Strong typing has become such a game changer in web development.
Yeah, and Hono even won some recent benchmarks!
I'd recommend going with what you already know—Express.js. It's well-established and has a huge ecosystem around it, which could save you time. Plus, you're already familiar with it.
I heard Hono.js is supposed to be more performant and scalable. Is that actually true?

Have you personally used Fastify? How did it go?