Using the service (aka module) keyword in app.yaml its possible to create 
microservices on app engine.

The reason of this post is to get a better picture of how to setup an 
application existing of microservices on the app engine. The application in 
question will receive, store and send a good amount of data.


*Microservices*
Microservices communicate with eachother using HTTP requests. How do you 
decide where the service can be reached, and how does this translate to the 
development environment.

   1. Discovery service? Minimal sample or link?
   2. Hardcoded location <service>.<app_id>.appspot.com? and modify hosts 
   file for local development?
   

*Endpoints*

   1. Is it a common practice to use the Endpoints feature to develop an 
   API for internal communication between services?
      1. Another solution would be a webapp
   2. Is it a common practice to use the Endpoints feature to develop an 
   REST API for users which communicates with the services?
      1. Another solution would be a webapp
   

*Large response/request*
Developing an application which receives/stores/distrubutes a large data 
set. Pushing and pulling data is done using a REST API. My concern is that 
the data travels to multiple services over the network increasing bandwith 
usage. Example;
[user] -> REST API Service -> Data Service -> Datastore

In a monolith application the data gets processed directly. In a 
microservice application the data travels from the user to the API Service 
and is then send to the Data Service to be processed.

   1. Give the Data Service an API which is accessible by the user?
   2. Is this an issue on App Engine cost wise?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/577ec981-aaf7-4397-8d41-8c27c11ddec8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] M... Pim Reijersen

Reply via email to