Traditional concurrent and parallel programming using thread pools and synchronization is hard to implement correctly. Understand the fundamentals and benefits of the Actor model and message passing concurrency.
- [Voiceover] Hi, and welcome to…the second video of this section.…In the previous video, we looked at concurrency…and parallelism models, based on threads…and shared mutable state.…In this video, we're going to take a look at…some high level concepts of the Actor Model…and message passing concurrency.…In this video, we're going to take a look at how…the simple concept of actors and messages…could be used to harness the concurrency…and parallelism in a wide range of…applications and services.…As we are going to see, there are pros…and cons of using the Actor Model.…
However, for many kinds of software systems,…it works perfectly well.…As most of the modern mainstream…software development models and paradigms,…Actor Model was created and formulated…a couple of decades ago in the early '70s.…One of its first successful implementation was…done by Ericcson as part of the Erlang programming language.…This language is still there.…Moreover, it is worth to note that these days,…Erlang is gaining a lot of traction,…particularly in the telecommunication industry,…
Embark on an exciting journey into the universe of web development using the Scala programming language and frameworks—natural choices for back-end developers building highly scalable, reliable, and reactive RESTful web services and APIs. This training is the starting point for mastering the nonblocking and asynchronous programming models that lie in the heart of the Spray framework. It starts with an introduction to the REST architecture. Then switch gears to the Akka toolkit and framework, building a sample book catalog application along the way.
Once you've learned about the REST architectural style and Actor model—the foundations that the Spray framework is built upon—you'll shape out your own RESTful web services by providing simple route definitions. Further on in the course, author Andriy Redko delves into authentication and authorization, secure transport, documentation, testing, and caching support. Finally, you will learn how to develop the Spray client API to call external web services.
- The Actor model and Akka framework
- RESTful architecture principles and constraints
- Building RESTful services
- Core Spray framework modules such as spray-can, spray-routing, spray-json, spray-caching, and spray-client
- Securing RESTful web services and APIs with Spray
- Configuring Spray applications with HTTPS support
- Documenting Spray RESTful web services using Swagger
- Caching basics
- Calling external RESTful services