NODE.JS
MICROSERVICES

WITH DOCKER CLOUD

Armagan Amcalar

BeMyApp Webinar
Jul 21st, 2016

Who am I?

Armagan Amcalar
Head of Software Engineering @ unu GmbH
Founder @ Lonca Works

        dashersw            dashersw

AUTHORED ON GITHUB

Outline

Properties of a microservice

Example microservice with cote

How continuous delivery works on Docker Cloud

CD & scaling demo

Microservices

Multiple little services for a single request
A bug in a service crashes only that service
Consumes minimal resources
Scales well, needs minimal additional resources

Supports event-driven architecture

Auto discovery

Dynamic configuration

High availability

Enter cote.js

Zero-configuration

Scalable, distributed applications

Fault-tolerant

cote.js Features

Auto-discovery
Mesh network, peer-to-peer communication
Pubsub pattern
Requester/responder pattern
Client-side communication with Websockets
Load balancing with different strategies
Daemon monitor

Demo time!

Continuous delivery with Docker Cloud

Docker Cloud is a fully managed cloud environment for running Docker applications

 

Infrastructure as Code & Pets vs Cattle

 

Manage clusters of servers with AWS, DigitalOcean, etc.

Manage and scale apps

Automatically build Docker images on push

Automatically deploy new apps

 

Demo time!

thank you!

Join cote.js community

Let's keep in touch!

Armagan Amcalar

armagan@amcalar.com
twitter: @dashersw
github: dashersw