Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What purpose does the default service serve in Google's app engine

When deploying an app with a microservices architecture to google's app engine, it requires one of my services to be the default service.

Why is this required and does the default service behave any differently to any other 'named' service?

like image 393
Thomas Kingston Avatar asked May 25 '17 11:05

Thomas Kingston


1 Answers

Here would be some roles/reasons for the default service (I'm fairly sure the list is not exhaustive):

  • the fallback destination for routing a request using a dispatch.yaml file if none of the routing rules is matched
  • the fallback destination for cron jobs if they aren't specifically configured to target a specific service
  • for initial deployment of app-level configs, see Why do I need to deploy a "default" app before I can deploy multiple services in GCP?

Practically I'd consider such differences just extra functionality (mostly infra-related) compared to the named services, otherwise they're very similar.

like image 133
Dan Cornilescu Avatar answered Oct 19 '22 07:10

Dan Cornilescu