Cloud agent runtime performance too slow for NextJS React app

I’m trying to get our local client app setup and running in Cloud Agents.

The performance of the system when running Docker, a NestJS app, and a large NextJS React app is really bad. Our dashboard hangs and cant load successfully.

Is there an option to pay for higher CPU/Memory machines? Vercel offers some pre-baked higher performance bundles, and Github actions gives you many ways to do this.

Any other guidance on this type of setup would be great - As it stands, I don’t think we can use it.

There’s currently no option to select higher CPU/memory machines for Cloud Agents. The machine specs are fixed for all users right now. Running Docker + NestJS + a large NextJS app is a pretty heavy stack for the current resources, so the bottleneck you’re hitting makes sense.

In the meantime, if your NextJS app supports it, running in development mode with reduced features (e.g., disabling source maps, reducing the number of pages compiled) can lower the memory footprint.

I’ve shared your feedback about higher-performance machine tiers with our team. A related thread that may be useful: Remote agent cpu / ram size.