Skip to content

demo code for talk `elixir way by revisting a project` on elixir australia meetup

Notifications You must be signed in to change notification settings

gzzengwei/elixir-way-revisit-job-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JobDemo

Code example for talk 'Elixir way by revisiting a project'

Installation

Install the dependencies:

mix deps.get

Git tags for demo steps

git checkout v01 # simple loop with pure function
git checkout v02 # Using Task, with `start`
git checkout v03 # Switch to `GenServer`
git checkout v04 # Upgrade to `DynamicSupervisor`
git checkout v05 # `GenStage` with PubSub
git checkout v06 # Using `BroadcastDispatcher`
git checkout v07 # `BroadcastDispatcher` with erlang :queue module
git checkout v08 # Update Producer `buffer_size` param

Starting the app

For happy path:

iex -S mix

For error path:

ENABLE_ERROR=true iex -S mix

Links

About

demo code for talk `elixir way by revisting a project` on elixir australia meetup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages