I'm currently developing a web app and have a question about architecture and scaling. Typically, the frontend and backend are separated and run in an auto-scaling environment like AWS Elastic Beanstalk, where costs are incurred only when the system is in use. I understand that frontend assets are often stored in an object storage service like S3 to effectively manage scaling. However, in Next.js 14, where the frontend and backend are integrated, I'm concerned about the impact on efficiency and cost. Specifically, if the backend isn't in use but the frontend is, the integrated system still consumes resources because it must spin up both. Does this setup affect the efficiency and pricing compared to a configuration where the frontend and backend are separate?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)