Skip to content

jax-ex-public-repos/genstage_examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenstageExample

Used to talk about strategies and use cases for genstage at Jax.Ex meetup.

Setup Instructions:

git clone https://github.com/MichaelDimmitt/genstage_examples.git &&
cd genstage_examples/ &&
mix deps.get &&
mix ecto.create &&
mix ecto.migrate &&
iex -S mix

open http://localhost:4001/factorial?number=10

Using posix commands to send 10 requests to localhost.

for i in {1..10}; do curl http://localhost:4001/factorial?number=$i; done 

# silent execution
for i in {1..10}; do curl -s http://localhost:4001/factorial?number=$i; done >/dev/null

About

different strategies for dealing with genstage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%