Top Techniques for Enhancing Koyeb's Multi-Service Deployment

Hello Everyone,

Although I’m new to the platform, I’m enthusiastic about the potential it has for application deployment and scaling, particularly given its serverless architecture. I’d want to install a few services that must communicate with one another, and I’m looking for best practices or insights on how to optimise Koyeb multi-service deployments.

I currently intend to implement three services:

  • a web server that manages requests from the front end.
  • The primary logic is processed by an API server.
  • a worker in the background for asynchronous jobs.

I’d be interested in learning about any methods for efficiently managing various services on Koyeb, as they all depend on distinct resource requirements and may have particular scaling requirements. In particular:

How do services normally interact on Koyeb in terms of networking and service discovery? Can I safely set up these interactions without disclosing everything to the outside world using an internal networking configuration? :thinking:

Performance & Scaling: What choices are there for adjusting the scale of each service separately? Is it suggested to set up auto-scaling so that it only starts when certain metrics are met? :thinking:

Cost-Efficiency: I’m also working to keep expenses under control. Are there any tricks for maximising resources to prevent wasteful use, particularly for background workers that might not require constant operation? :thinking:

https://community.koyeb.com/t/changelog-66-paris-upgrade-70-faster-deployments-more-select-the-koyeb-app-on-database-service-creation-and-more/snowflake

I’ve studied the quickstart manuals and official documents, but I would still like any practical advice from the community, especially if anyone has knowledge of similar installations or can share options that have worked well for them.

Thanks in advance for your help and support.