Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
A Gentle Introduction
to Microservices
In short, the microservice architectural style is an approach to
developing a single application as a suite of small servi...
a suite of small services, each running in its own process,
built around business capabilities and independently
deployabl...
architectural style
not a technology
not a platform
not a "stack"
not a design pattern
great...they're nothing
but they're everything
they are small services
how small?
small
small-ish
sizing is hard
bounded context
aggregate root
encapsulated
isolated
stand alone
and
operate on its own
stand alone
each microservice gets...
it's own
execution process
WebAPI
(in its own app pool)
self hosted service
windows service
Azure process
shut down test
the data store
shut down test
what did it affect?
data store coupling
At least
maybe 2
or 3
never <1
each microservice
is an application
microservice
data
store
data
store
data
store
1 microservice : 1 repo
isolation
1 microservice : 1 deployment
fast and often
communication
2 types
public comms
REST
service-to-service
comms
REST?
messaging?
other?
pick
apply it consistently
Your Application
Products
Inventory
Customer
Management
Sales
Shipping
Employees
Procurement
Marketing
Invoicing
HTTP/REST...
Thank you
donald.belcham@particular.net
@dbelcham
www.igloocoder.com/tags/microservices
www.github.com/dbelcham/microservi...
Q&A
Microservices: A Gentle Introduction
Microservices: A Gentle Introduction
Upcoming SlideShare
Loading in …5
×

Microservices: A Gentle Introduction

581 views

Published on

The basics of what microservices are

Published in: Technology
  • Be the first to comment

Microservices: A Gentle Introduction

  1. 1. A Gentle Introduction to Microservices
  2. 2. 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. -- James Lewis and Martin Fowler
  3. 3. a suite of small services, each running in its own process, built around business capabilities and independently deployable. In short...
  4. 4. architectural style
  5. 5. not a technology
  6. 6. not a platform
  7. 7. not a "stack"
  8. 8. not a design pattern
  9. 9. great...they're nothing
  10. 10. but they're everything
  11. 11. they are small services
  12. 12. how small?
  13. 13. small
  14. 14. small-ish
  15. 15. sizing is hard
  16. 16. bounded context
  17. 17. aggregate root
  18. 18. encapsulated
  19. 19. isolated
  20. 20. stand alone and operate on its own
  21. 21. stand alone
  22. 22. each microservice gets...
  23. 23. it's own execution process
  24. 24. WebAPI (in its own app pool)
  25. 25. self hosted service
  26. 26. windows service
  27. 27. Azure process
  28. 28. shut down test
  29. 29. the data store
  30. 30. shut down test
  31. 31. what did it affect?
  32. 32. data store coupling
  33. 33. At least
  34. 34. maybe 2
  35. 35. or 3
  36. 36. never <1
  37. 37. each microservice is an application
  38. 38. microservice data store data store data store
  39. 39. 1 microservice : 1 repo
  40. 40. isolation
  41. 41. 1 microservice : 1 deployment
  42. 42. fast and often
  43. 43. communication
  44. 44. 2 types
  45. 45. public comms
  46. 46. REST
  47. 47. service-to-service comms
  48. 48. REST?
  49. 49. messaging?
  50. 50. other?
  51. 51. pick
  52. 52. apply it consistently
  53. 53. Your Application Products Inventory Customer Management Sales Shipping Employees Procurement Marketing Invoicing HTTP/REST Communication Backplane
  54. 54. Thank you donald.belcham@particular.net @dbelcham www.igloocoder.com/tags/microservices www.github.com/dbelcham/microservice-material
  55. 55. Q&A

×