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

我与影子孤独终老i 提交于 2019-12-28 04:31:13

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/44178971/what-purpose-does-the-default-service-serve-in-googles-app-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!