Tags
Language
Tags
April 2024
Su Mo Tu We Th Fr Sa
31 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 1 2 3 4

Scala Microservices

Posted By: AlenMiler
Scala Microservices

Scala Microservices by Jatin Puri
English | 19 Sept. 2017 | ISBN: 1786469340 | ASIN: B01CUI0JVY | 328 Pages | AZW3 | 2.65 MB

Key Features

Build robust microservices using Play Framework and Lagom
Model your data for highly interactive applications and scale using Event Sourcing & CQRS
Build applications that are resilient to failures by using Message Passing for communication
Deploy and manage Scala Microservices for scale by using docker containers with Kubernetes for orchestration

Book Description

In this book we will learn what it takes to build great applications using Microservices, the pitfalls associated with such a design and the techniques to avoid them.

We learn to build highly performant applications using Play Framework. You will understand the importance of writing code that is asynchronous and nonblocking and how Play leverages this paradigm for higher throughput. The book introduces Reactive Manifesto and uses Lagom Framework to implement the suggested paradigms. Lagom teaches us to: build applications that are scalable and resilient to failures, and solves problems faced with microservices like service gateway, service discovery, communication and so on. Message Passing is used as a means to achieve resilience and CQRS with Event Sourcing helps us in modelling data for highly interactive applications.

The book also shares effective development processes for large teams by using good version control workflow, continuous integration and deployment strategies. We introduce Docker containers and Kubernetes orchestrator. Finally, we look at end to end deployment of a set of scala microservices in kubernetes with load balancing, service discovery and rolling deployments.

What you will learn

Learn the essentials behind Microservices, the advantages and perils associated with them
Build low latency, high throughput applications using Play and Lagom
Dive deeper with being asynchronous and understand the superiority it provides
Model your complex domain data for scale and simplicity with CQRS and Event Sourcing
Be resilient to failures by using message passing
Look at best practices of version control workflow, testing, continuous integration and deployments
Understand operating system level virtualization using Linux Containers. Docker is used to explain how containers work
Automate your infrastructure with kubernetes

About the Author

Jatin Puri is a passionate engineer and programming language enthusiast. He holds a master's degree in mathematics. He is a Lightbend-certified Scala trainer and is involved with spreading goodness of Scala through Hyderabad Scala Meetup, Stack Overflow, training workshops, and open source contributions.

When he is not programming, he teaches meditation and stress elimination techniques under the aegis of The Art of Living foundation.

Selvam Palanimalai is a Production Engineer currently working in data pipeline automation using Kubernetes and Spark in downtown Toronto. He is passionate about technology-driven problem solving, clean data, and merciless automation. He is active in the open source community on GitHub, contributing to the Statistical group (SOCR) at the University of Michigan, Ann Arbor.

Table of Contents

Introduction to Microservices
Introduction to Play Framework
Asynchronous and Non-Blocking
Dive Deeper
Reactive Manifesto
Introduction to Lagom
CQRS and Event Sourcing
Effective Communication
Development Process
Production Containers
Example Application in K8s