Currently, the backend is Node.js. I found that, it take a lot of memory in development mode and think it would do the same thing on production. And the packaged image is too large (>2GB)
Solution
So, let's take a look at Bun.js and Golang for an alternatives.
Study
Tried Golang from a fews month ago, it's super fast and the code is pretty familiar with javascript. However, It doesn't have Class and I will have to migrate all code structure.
Bun.js is the next option. I can use Honojs. Let's do the investigation next week.
Issue
Currently, the backend is Node.js. I found that, it take a lot of memory in development mode and think it would do the same thing on production. And the packaged image is too large (>2GB)
Solution
So, let's take a look at Bun.js and Golang for an alternatives.
Study
Tried Golang from a fews month ago, it's super fast and the code is pretty familiar with javascript. However, It doesn't have Class and I will have to migrate all code structure.
Bun.js is the next option. I can use Honojs. Let's do the investigation next week.