2014 docker boston fig for developing microservices

12
FIG FOR DEVELOPING MICROSERVICES Paul Lam, co-founder Spokepoint Presented at Docker Boston, October 2014

Upload: paul-lam

Post on 19-Jun-2015

2.584 views

Category:

Software


0 download

DESCRIPTION

Using Fig and Docker for developing microservices

TRANSCRIPT

  • 1. FIG FOR DEVELOPINGMICROSERVICESPaul Lam, co-founder Spokepoint!Presented at Docker Boston, October 2014

2. RUNNING CODE ON MYOWN MACHINE Guaranteeing consistencyrunning the same code ondifferent machines Guaranteeing consistencyrunning different stacks onany developer's machine Everything running at thesame time on any laptop 3. the microservice architectural style is an approach todeveloping a single application as a suite of smallservices, each running in its own process andcommunicating with lightweight mechanisms, often anHTTP resource API.Martin Fowlerhttp://martinfowler.com/articles/microservices.html 4. INDEPENDENT SERVICESAuthor namescrapingArticle imageContact infoscrapingNews search scrapingWhy? See http://martinfowler.com/articles/microservices.htmlImpactestimation 5. Front-endWriteSearchManageBack-endWriteSearchManageDataMiningDataMiningARCHITECTUREYou want to work on this 6. SOLUTIONSEffortsversion manager, etc.use stagingserversRobustnessvirtualjust run environmentsthem 7. DEMO: FIG UP UP AND UP- Go- MySQL - Clojure - Clojure- Redis- MySQL- Clojure- DynamoDB 8. DEMO: JEKYLL WITHOUTRUBY / RVM Continuous development https://github.com/Spokepoint/reagent-project.github.io 9. ALTERNATIVESFig VagrantSyntax YAML RubyProviders Docker Docker, VirtualBox,VMware, and moreBootup time seconds seconds(with Docker provider)Multiple containers Yes YesPlugins No? Yes 10. BENEFITS Fast -- bootup in a couple seconds Easy -- install Docker and Fig + a few lines of YAML Reproducible -- laptop environment independent Isolated -- no conflict between databases Continuous -- host/guest shared folders 11. CONTACTPaul Lampaul @ spokepoint.com@ Quantisan