Professional Documents
Culture Documents
Pico Services
Pico Services
Pico Services
@AdamBien / adam-bien.com
adam-bien.com
blog.adam-bien.com
twitter.com/AdamBien
airhacks.com
airhacks.io
airhacks.tv
adam-bien.com
Adam Bien,
press.adam-bien.com
adam-bien.com
realworldpatterns.com
adam-bien.com
adam-bien.com
Definition
In short, the microservice architectural style is an approach to
developing a single application as a suite of small services, each running
in its own process and communicating with lightweight mechanisms,
often an HTTP resource API. These services are built around business
capabilities and independently deployable by fully automated
deployment machinery. There is a bare minimum of centralized
management of these services, which may be written in different
programming languages and use different data storage technologies.
http://martinfowler.com/articles/microservices.html
adam-bien.com
Definition
http://en.wikipedia.org/wiki/Microservices
adam-bien.com
adam-bien.com
adam-bien.com
Business Component
Boundary
Control
Entity
Installation
Download size: ~100MB
Installation: unzip
Start: Shell script execution
Start time: 1s - 3secs
Pure Java is default.
adam-bien.com
Overhead: GlassFish v4
adam-bien.com
adam-bien.com
adam-bien.com
Overhead: WSL12.1.3.0.0
adam-bien.com
Overhead Summary
adam-bien.com
Empty Chrome
adam-bien.com
WAR Packaging
unzip xyz.war 0,02s user 0,02s system 64% cpu 0,072 total
jar -xvf zyz.war 0,17s user 0,05s system 114% cpu 0,191 total
adam-bien.com
Maven Build
24 lines of pom.xml and:
[INFO] -----------------------------------------------------------------------[INFO] BUILD SUCCESS
[INFO] -----------------------------------------------------------------------[INFO] Total time: 3.913 s
adam-bien.com
Some code.
Thank You!
and see you at
workshops.adam-bien.com
adam-bien.com