Odnkabyia8rqcffqlhhe
SkillsCast

Building a CQRS application using the Scala Type System and Akka

10th December 2015 in London at Business Design Centre

There are 36 other SkillsCasts available from Scala eXchange 2015

Please log in to watch this conference skillscast.

548590351 640

In this hands-on session we'll explore some techniques you can use when implementing a CQRS application using Akka and Scala.

First we'll show you how we can use the Scala Type System to build a domain model based on case classes and functional paradigms. Contrary to what common sense dictates, we'll demonstrate that functional programming is a very good fit for domain modeling.

Secondly we'll explore the available options when integrating it with Akka and Akka Persistence.

We'll cover the following points:

  • The advantages and pitfalls of using Akka as a messaging subsystem

  • How to reliably propagate events from the command side to the query side of your CQRS application

  • How to recover from failure

  • How to fit it in an asynchronous programming model

During this hands-on session we'll build a simple CQRS application based on Play and Akka.

YOU MAY ALSO LIKE:

Building a CQRS application using the Scala Type System and Akka

Renato Cavalcanti

Renato is a software developer at Lightbend where he works in the Lagom Framework Team. Scala aficionado since 2009, he has been hacking in Scala and related technologies for fun and profit. He has a special interest for Event Sourcing/CQRS, DDD and Microservices Architectures. He's the founder of BeScala (Belgian Scala User Group) and maintainer of Lagom Framework.

SkillsCast

Please log in to watch this conference skillscast.

548590351 640

In this hands-on session we'll explore some techniques you can use when implementing a CQRS application using Akka and Scala.

First we'll show you how we can use the Scala Type System to build a domain model based on case classes and functional paradigms. Contrary to what common sense dictates, we'll demonstrate that functional programming is a very good fit for domain modeling.

Secondly we'll explore the available options when integrating it with Akka and Akka Persistence.

We'll cover the following points:

  • The advantages and pitfalls of using Akka as a messaging subsystem

  • How to reliably propagate events from the command side to the query side of your CQRS application

  • How to recover from failure

  • How to fit it in an asynchronous programming model

During this hands-on session we'll build a simple CQRS application based on Play and Akka.

YOU MAY ALSO LIKE:

About the Speaker

Building a CQRS application using the Scala Type System and Akka

Renato Cavalcanti

Renato is a software developer at Lightbend where he works in the Lagom Framework Team. Scala aficionado since 2009, he has been hacking in Scala and related technologies for fun and profit. He has a special interest for Event Sourcing/CQRS, DDD and Microservices Architectures. He's the founder of BeScala (Belgian Scala User Group) and maintainer of Lagom Framework.

Photos