Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Implementing Event-Driven Microservices Architecture in Functional Language

NDC Conferences via YouTube

Overview

Explore event-driven microservices architecture implementation in functional programming through this comprehensive conference talk. Learn how to leverage Domain Driven Design for creating microservice boundaries, use F#'s discriminated unions to capture domain models, and implement custom workflows with computation expressions. Discover the benefits of event-driven architecture in solving distributed data challenges, and understand the implementation of distributed sagas for coordinating microservices. Dive into event sourcing techniques using F#'s List.fold operation, and explore evolutionary architecture aspects. Gain insights on modeling services as pure functions, achieving infinite scalability through immutability, and simplifying testing processes. Master the art of creating scalable, highly distributed web services in F#, demonstrating how functional paradigm naturally captures the behavior of modern service architectures.

Syllabus

This recording is from NDC Oslo 2018
Objectives
Monolithic: The old school approach...
Microservices: The Brave new world...
Microservice Architecture
Advantages
Microservice: A functional view
Why not to use OOP?
Modelling a Service using FP
Implementation: Example in F#
Asynchronous workflows
Loose Coupling implies Distributed Data
Domain Driven Design (DDD)
Elements of DDD
DDD: Aggregates
Data Partition Strategies: Use DDD
DDD: Architecture Layers
Problems with Distributed Data
Cannot use ACID Transactions
Cannot use 2-Phase Commit
Eventual Consistency
Event Driven Architecture
Introducing Sagas
Communication: Request/Response
Communication: Event-Driven
Communication Patterns
Contract Management
Event Sourcing: Introduction
Implementing Event Sourcing in F#
Event Sourcing: Benefits & Drawbacks
Command Query Responsibility Segregation
Multiple Views from Single events stream
CORS: Benefits & Drawbacks
Testing Microservices (Request/Response)
Testing Microservices (Event Driven)
Static Analysis of Functional style code
Scalability
Code Correctness
Case Study: Twitter
Summary

Taught by

NDC Conferences

Reviews

Start your review of Implementing Event-Driven Microservices Architecture in Functional Language

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.