Elixir image uploader that will encode image messages in protocol buffers and send over zeromq
Elixir Shell Protocol Buffer
Latest commit 9614bf0 Jan 14, 2016 @jbavari Update bombardment command
Permalink
Failed to load latest commit information.
config Initial commit Jan 14, 2016
lib Remove comments Jan 14, 2016
test Initial commit Jan 14, 2016
.gitignore Initial commit Jan 14, 2016
README.md Update bombardment command Jan 14, 2016
bombardment_timing.sh Initial commit Jan 14, 2016
mix.exs Initial commit Jan 14, 2016
mix.lock Initial commit Jan 14, 2016

README.md

Elixir ØMQ Image Uploader

Project Details

I needed to evaluate sending images to server over zeromq using protocol buffers.

This project is written to do just that.

Built with:

  • Elixir
  • ZeroMQ - using the exzmq package
  • Protocol Buffers - using the exprotobuf package

Get started

First, ensure you have erlang and elixir installed. Then run mix do deps.get, deps.compile.

Ensure you have a zeromq endpoint listening somewhere, and put those settings in config/config.exs for ip and port to your zero MQ endpoint.

Then run mix run -e Zmq2Client.zmq

Push it to the limit

There's a simple script that will execute several several uploads in parallel.

Run sh bombardment_timing.sh and it will upload several in parallel and give you an output on time.