Splitting a monolithic application into smaller services raises practical questions: how should those services communicate, where should they keep state, and how can they be tested and deployed reliably? Hands-On Microservices with works through those questions by building a sample service and following it from architecture choices to deployment and scaling.
Diogo Resende assumes readers have the basics of and focuses on putting the ideas to work. The examples bring together JavaScript, familiar tools, and the operational systems used to run services in containers and cloud environments.
From monolith to independently developed services
The book opens with microservice concepts and the transition away from monolithic architecture. It considers the traits and trade-offs of microservices, giving readers a framework for thinking about decomposition, autonomy, communication, and scalability before getting into implementation.
Choose a toolkit, then build a working service
Express, Micro, Seneca, and Hydra illustrate different approaches to creating services. A sample project puts those ideas into practice, including HTTP routes and image-related operations. Seeing several toolkits alongside a concrete build helps make the architectural choices less abstract.
State, security, and testing
As the example develops, Resende examines ways to manage state, including filesystem storage and databases such as MySQL, RethinkDB, and Redis. Dedicated coverage of security and testing extends the discussion beyond getting a service to run: readers encounter Mocha, Chai, code coverage, and service mocking as part of the development process.
Package and deploy with containers
Docker and Docker Compose feature in the deployment chapters, which cover images, Dockerfiles, container management, and database deployment. The book then moves into scaling, replication, and sharding, with examples involving Docker Swarm and Kubernetes.
Cloud-native development and design patterns
The later material follows a cloud-native microservice workflow and closes with architectural patterns such as Front Controller, Layered, Service Locator, Observer, and Publish-Subscribe. Together, these topics connect service design with the practical work of testing, running, and scaling an application.
Who will find it useful?
This guide is intended for developers who know basic and want a hands-on introduction to microservices. Readers working in languages such as Java or C# may also find the architectural concepts relevant. If you want to trace a service from its first design decisions through deployment, this book offers a structured place to start.
User Reviews
Only logged in customers who have purchased this product may leave a review.
Building Microservices with JavaScript
Sold by Diogo Resende
Original price was: $5.00.$2.50Current price is: $2.50.

There are no reviews yet.