Upload
docker-inc
View
241
Download
0
Embed Size (px)
Citation preview
IronMQ is an easy-to-use, highly available, message queue as a service
Think SQS, but any cloud (and on-prem)(we copied them)
IronWorker is a massively parallel, multi-language, task processing platform
Think Lambda, but any cloud (and on-prem)(they copied us)
1) Write code using ${FAVORITE_LANG} that performs a specific function == your worker
How to use IronWorker
require ‘twilio-ruby’@client = Twilio::REST::Client.new(IronWorker.payload[‘sid’], IronWorker.payload[‘token’])
# send SMS to a bunch of peopleIronWorker.payload[‘numbers’].each do |num| @client.messages.create(from: '+14159341234', to: num, body: 'Hey there!')end
Twilio Batch SMS Example
Solved our main problemCan upgrade and add images easily while being backwards compatible
(hooray, tags)
Other Things We Use Docker For
● Developmento Same environment for dev, CI and production
● Deployment (CoreOS)o Everything uses Docker now including our API’s, our UI, etc.
● On-premise packaging / deployment