Switching to Hono

February 15, 2025

I deployed the serverless functions over the edge network to reduce the cold start time, which was previously around three minutes. Developing with Hono offers several advantages, such as seamless integration with OpenAPI specifications. While this can also be done with Express, setting it up for every repository can be cumbersome. Hono, however, simplifies this process by providing all the necessary functionality through a single library. I particularly like the theme provided by Scalar over the Swagger UI themes.


Additionally, Hono offers direct support for Cloudflare serverless functions, making it easy to create workers. In my case, I was proxying requests from one service to another, so allocating dedicated hardware for a server isn’t necessary. Instead, I can leverage the serverless functions running on the edge network.