4. – Wikipedia
“Microservices are a more concrete and modern
interpretation of service-oriented architectures (SOA) used to
build distributed software systems. Like in SOA, services in a
microservice architecture are processes that communicate
with each other over the network in order to fulfill a goal.
Also, like in SOA, these services use technology agnostic
protocols. Microservices architectural style is a first
realisation of SOA that has happened after the introduction
of DevOps and this is becoming the standard for building
continuously deployed systems.”
6. By Webysther Nunes - Own work, CC BY-SA 4.0https://commons.wikimedia.org/w/index.php?curid=39594469
http://martinfowler.com/articles/microservices.html
8. Microservices
• Small
• Focused
• Doing One Thing Well
“Microservices are small, autonomous services that work
together.” – Sam Newman
• Technology heterogenic
• Resilient
• Scalable
• Easy to deploy
28. Static routes
• are hard to maintain
• have to be updated when service instance
changes
• do not offer load balancing between multiple
instances
• do not cater for service failures
49. Polyglotism
• different languages
• different frameworks
• different datastores
• Eureka very specific for AWS 😕
• Eureka Client lib Java only 😩
50. What about .net?
• Nancy – Microservice Framework
• Polly – Circuit Breaker
• a lot to come with ASP.Net Core
11/13 chapters done
release in Fall 2016
52. • distributed Key-Value-Store
• REST Interface
• DNS Interface #
• Multi Datacenter
• Client libs for Go, Python, PHP,
Scala, Java, Erlang, Ruby, node.js
and C#
• Replaces Eureka, Config Server,
Cloud Bus
53. • distributed Key-Value-Store
• REST Interface
• DNS Interface with SkyDNS
• very lightweight
• easy to use
• Client libs for Go, Python, Java,
Scala, node.js, Ruby, C, C++, C#,
Clojure, Erlang, PHP, Haskell, R,
…
• Replaces Eureka, Config Server
54. • distributed Key-Value-Store
• build in Java originally to do Leader Election for Hadoop
Clusters
• very mature and stable / huge community
• Client libs for Java, C#, PHP, Ruby, node.js, …
• Curator by Netflix makes things easier
• Replaces Eureka, Config Server and brings Leader Election,
e.g. for Scheduled tasks in a whole cluster.
Zookeeper
55. What else?
• Spring Cloud Task – AWS 𝜆-like API
• Spring Cloud Security – OAuth2 Infrastructure
• Spring Cloud Bus – Messaging between all
components using Redis, AMQP, RabbitMQ, …
• Spring Cloud Stream – Message driven
Microservices using Redis, Kafka, RabbitMQ, …