December 2023
Intermediate to advanced
208 pages
5h 55m
English
In earlier chapters, we discussed architecture at the macro level. Service is the fundamental component of those designs, which implements functionality that we can’t borrow among architectural building blocks. This chapter explores how we can implement well-designed, efficient, and stable services.
Several frameworks (e.g., Spring Boot, Ballerina) let you write a service. In each case, you adopt a template that looks something like this:
Response do-something(request){
//code
response = ...
return response
}
The request object represents the user’s input, typically JSON, XML, or a binary protocol such as Protocol Buffers. We then process the request, carry out what is ...
Read now
Unlock full access