Performance concerns for docker engine hosting company
Hello! i’m making a hosting company. We have a controller and daemon based infrastructure. Currently the Controller is made with bun and hono and I adore it. It has a phenomenal developer experience compared to golang. Our daemon is made in golang though. We did this as we wanted it to be incredibly fast. My issue with this is that golang has a horrible developer experience compared to typescript for my use case. My only concern before i migrate my codebase to typescript is the performance. This would interact with the docker engine API locally and will have some heavy ram caching running on new gen hardware (7950x, 192gb ram). How many requests can i assume this can safely handle? I want to set a goal at 500 a second, but still want to be able to support higher rates for peak traffic.
tldr; i’m making a docker container hosting company. I want to move my daemon (docker engine API and FS wrapper) from golang to typescript. How many req a sec can it safely handle
5 Replies
And, is deno stable enough to be used in prod?
Not sure about performance comparisons against Go. Rest assured Deno is production ready. It's used by quite a few companies like Slack, Netlify, GitHub, Stripe, and others for a couple of years by now.
Does deno have any compatibility issues or can I do a direct plug and play? This would be v2.0 replacing bun. Only bun specific feature is the
Bun.env
which I will replaceSimiliar to bun we do have issues in our issue tracker. You can gather the compatibility status by doing a quick search in our issue tracker for the packages you intend to use.
Regarding
Bun.env
you can easily switch to process.env
which works in all three runtimes (Deno, Node, Bun)Lovely, thank you! Excited to make the switch