LambdUp, Prague, 2018
Simplifying systemswith Elixir@sasajuricaircloak.com
View Slide
Elixirfunctionalconcurrent
process...foo(...)bar(...)...
functional Elixirmodules and functionsimmutable datafirst-class functions
...spawn(fn -> ... end)...
process A...foo(...)bar(...)...process B...baz(...)qux(...)...
scheduler scheduler scheduler schedulerBEAM (Erlang VM)CPU CPU CPU CPU
concurrentfunctional
less moving partssimpler developmentsimpler testingsimpler deploymentsimpler maintenanceimproved collaboration
theerlangelist.com
git clone https://github.com/sasa1977/erlangelist.gitmix deps.get && pushd assets && npm install && popdiex -S mix phx.server
#1 serving requests
http listener https listener
http listener https listenerhandler 1 handler 2 handler n…
#2 usage stats
stats collectorhandlerhandler handlerdisk writer
cleanup
scheduler cleanup jobperiodically starts
#3 HTTPS
our system CA servercertificate requestchallenge infochallenge
certifierhttp serverusage stats
dev CA server
Elixir in a nutshellstart simplego far
40% off using codectwlambdup atmanning.com