How do internal network requests work between services?

Last updated: April 17, 2025

Context

When making requests between services in your application, you may need to understand how internal network communication works and whether to use internal or public URLs for service-to-service communication.

Answer

Services within the same cluster can communicate with each other using internal network addresses. Here are the key points about internal network communication:

  • Internal URLs can be found in your app's service Networking tab

  • Internal URLs are stable and do not change

  • Internal URLs are only used for service-to-service communication within the cluster

  • External/public URLs always use public DNS routing

  • Internal service requests are automatically load balanced using a round-robin algorithm

For optimal performance in server-side service-to-service communication, it is recommended to use internal network addresses rather than public URLs.