© J.J. Merelo 2020
J. MereloRaku Recipeshttps://doi.org/10.1007/978-1-4842-6258-0_11

11. Microservices

J. J. Merelo1 
(1)
Granada, Granada, Spain
 

The world of websites gave way to the world of web services, and this eventually spawned the world of microservices, which are small reactive applications, with a REST API, that respond to HTTP commands using JSON or some other serialization language. Since the introduction of the Cro microframework, most needs related to microservices are covered. In this chapter, we will see how to use this microframework in several, different, ways.

Recipe 11-1. Create a Microservice

Problem

You need to create a microservice that acts as an API to a service you are offering.

Solution

Create a layer over your business logic ...

Get Raku Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.