2. Agenda The need to change
From monolith to bounded contexts
Actor model
F# with Giraffe and Orleans
3. About me
• Harald Schult Ulriksen
• Doing software since y2k was a problem
• Works as a consultant @ Aurum AS
• Currently on personalization for the
Norwegian Broadcasting Corporation
hsulriksen
18. Any organization that
designs a system … will
produce a design whose
structure is a copy of the
organization's
communication structure.
- Conway’s law
https://vimeo.com/371384897
22. Technical enablers
• From database sync as integration point to
messages and events
• Static code analysis (ndepend)
• Routing and strangling Nginx + Varnish
• Hypermedia
• Separate build/deployment pipelines (fake)
• Cloud self service – with cost monitoring
https://www.youtube.com/watch?v=bkYDI-5IQdc
43. identity + behavior [+ state]
in-memory,
persisted, or
stateless
class User : Grain, IUser
user/arjun.rampal
44.
45.
46.
47.
48. Grains
• Virtual Actor
• Fundamental building block, model objects in
the domain
• Effectively: Distributed Object
• Unit of computation + state
• Send/receive messages
• React to incoming messages
• Select an appropriate granularity
https://www.youtube.com/watch?time_continue=1426&v=Cj_jUHCXE3U