Summary
At the start of the chapter, we looked at what microservices are philosophically and what their advantages are, and implemented an HTTP-oriented microservice using Flask.
We then looked at some of the advantages of process-based modularity and saw how applying those principles to web applications results in a microservice architecture. We looked at the details needed to use Flask to create a RESTful microservice and put that knowledge to use by building a simple person management microservice.
Next, we looked at using nameko's RPC mechanism to implement a microservice, which simplifies the code significantly, at the cost of requiring that we set up an AMQP infrastructure and a more difficult interface with systems outside the AMQP ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access