Microservice on GAE+ Mix of Standard and Flexible

2020-02-14 10:27发布

We have two separate projects as follows

  1. GAE Standard on JAVA runtime, let us say- APP1
  2. GAE Flexible on Python runtime, let us say- APP2

We want to move both the projects in one micro-services application project with two services, say APP1service (default), and APP2service.

Wanted to check if it is possible to host standard and flexible GAE services sharing one application identity in microservices setup?

Quick answer is highly appreciated.

ps.

Google documentation does not answer this question directly and hints that it is unlikely.

1条回答
smile是对你的礼貌
2楼-- · 2020-02-14 10:48

Yes, it is possible to have any mix of environments and languages as separate services inside of the same GAE application. While not explicitly mentioned, it is implied by the code isolation of services. From App Engine Services as microservices:

Code can be deployed to services independently, and different services can be written in different languages, such as Python, Java, Go, and PHP.

You just need to take care of:

查看更多
登录 后发表回答