CONCURRENT PROGRAMMING IN SCALA – GTSC03
Threading and Concurrency in Scala
This short course provides an introduction to writing multi-threaded and concurrent code in Scala.
The course can be run on Windows, Linux or OS X.
Developers who already know some Scala, but who wish to see how Scala supports the writing of multi-threaded and concurrent code.
Developers with some experience of programming in Scala, or who have attended the “Scala Programming” course.
Creating and Using Threads
- Models of concurrent programming
- Threads and processes
- Creating and controlling threads
- Synchronization primitives
Futures and Promises
- Execution contexts
- Composing futures
- Handling errors
- Functional programming with futures
Introduction to Actors and Akka
- Actor systems and Akka
- Messaging styles
- Creating actors
- Sending messages
- Configuring actors
- Actor systems
- Handling actor failure
Routing and Dispatching
- Intro to routing and dispatching
- Default routing
- Built-in routers
- Custom routers
- Customizing dispatching