Microservices written in Java for the standard environment

49 views
Skip to first unread message

Mikael Hjalmarson

unread,
May 13, 2018, 12:03:32 PM5/13/18
to Google App Engine
Hi,

I'm sorry if these questions have been answered in older threads, but I've tried my best to search through the group. This week I took my first steps in GAE, but it seems hard to get going with something other than simple HelloWorld apps since the documentation is lacking. I guess what I'm looking for is a guide on how to get started with microservices in a GAE project in the Standard Environment. How do I structure my Java project? How can I run these services (or modules in the older terminology) in my local environment. How will scaling work with these services? 

Best regards
Mikael

Katayoon (Cloud Platform Support)

unread,
May 14, 2018, 12:43:06 PM5/14/18
to Google App Engine

Hi,


The architecture of microservices in App Engine is explained in this documentation and as a start you may migrate one of your existing monolithic applications to one with microservices by following this guide.


All your microservices can be run independently either in your local environment or on cloud, however the only way to execute code in these services is through an HTTP invocation, like a user request or a RESTful API call. Furthermore, autoscaling, load balancing, and machine instance types are all managed independently for services.


We Have provided different range of samples in java-docs-samples and getting-started-java, though we haven’t provided any particular sample for microservices in App Engine Standard. So, I recommend that you create a feature request on having a sample for microservices in App Engine Standard Env. in our Issue Tracker since Google Groups are reserved for general Google Cloud Platform-end product discussions

Mikael Hjalmarson

unread,
May 15, 2018, 2:59:42 AM5/15/18
to Google App Engine
Hi, 

Yes, working with microservices has not been an issue for me in other projects. It's just that it would be very helpful with more documentation about the App Engine in this regard. I will create a feature request, since I think this would be helpful for other developers. 

Thanks for your response. 
/ Mikael
Reply all
Reply to author
Forward
0 new messages