Actors as functions - Workshop exploring Akka.NET with F#
Details
VIKTIG OPPDATERING:
På grunn av hotellstreiken flytter vi hele arrangementet (inkludert pizza) til Nyskapingsparken på VilVite senteret. Ta kontakt med Øyvind på telefon 950 64 184 dersom du trenger hjelp til å finne frem.
"All the world's a stage, all the men and women merely actors, and all the actors merely functions"
William Shakespeare (mostly)
During this 3 hours workshop we will practice implementing a scalable file distribution engine.
We will be writing it in F# using actor model and Akka.NET.
Instuctors:
Erlend Wiig (NRK), Vagif Abilov (Miles)
Prerequisites:
- Computer with either Visual Studio (2013/2015) or Xamarin Studio installed.
- F# version 3.1 or higher…
- It is recommended to do or at least review tasks from Petabridge Akka Bootcamp ( https://github.com/petabridge/akka-bootcamp ), especially its F# part.
- Access to FTP server is recommended but not mandatory. We will make available an FTP simulator that will simulate FTP operations on a local machines.
AGENDA
17:00-17:45 - Pizza i Nyskapingsparken
Bitshift spanderer pizza og noe å drikke uten alkohol. Om du ønsker noe annet fra baren tar du det på egen regning :-)
Husk at alle må være tilstede på konferanserommet til 17:45 da presentasjonen starter!
17:45-20:45 - Workshop
Part 1: Warming up (30 min.)
1.1 Brief introduction into actor model, Akka and Akka.NET.
1.2 Comparison of Akka.NET C# and F# API.
1.3 Introduction to an open source file transfer library SSH.NET (http://ssh.net/).
Part 2: Actors in action (100-120 min.)
2.1 Implementing Connect and Disconnect commands
2.2 Implementing ListDirectory command
2.3 Refactoring, moving Connect/Disconnect inside the actor implementation
2.4 Implementing UploadFile and DownloadFile commands
2.5 Routing and scaling actors using smallest mailbox strategy
2.6 Improving actor responsiveness using asynchronous SSH.NET (http://ssh.net/) API
2.7 Revising routing to use consistent hash strategy
Part 3: Testing actors (30 min.)
3.1 Testing actors using Akka.NET TestKit
3.2 Property-based testing using FsCheck
20:45-: - Geek Beer
Vi tar en tur til Kontoret bar og fortsetter diskusjonene over noe kaldt å drikke.
