How to implement microservices

2,694 views

Published on

Published in: Technology, Business
0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,694
On SlideShare
0
From Embeds
0
Number of Embeds
138
Actions
Shares
0
Downloads
62
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

How to implement microservices

  1. 1. How to Implement MicroservicesDevOpsExchangeLondonApr2014 Marc Cluet DevOps & Automation Advisory Rackspace https://www.flickr.com/photos/charlattecreations/2451149483
  2. 2. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Who am I?! Marc Cluet (@lynxman) More than 16 years of experience as a SysAdmin Founding member of Juju and MAAS while at Canonical Leading a DevOps Engineering Team at Rackspace Been DevOps’in for 5 years now
  3. 3. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK What is Rackspace?! Founded in 1998 in San Antonio, TX by three guys that wanted to create a hosting company Home of Fanatical Support /o/ Second biggest Public Cloud in the world OpenStack Project co-founder
  4. 4. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! https://www.flickr.com/photos/wintermute2600/4056854111
  5. 5. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! Microservices are not new! !!
  6. 6. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!!
  7. 7. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! https://www.flickr.com/photos/marfis75/3279307888
  8. 8. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! Microservices are reliant! !!
  9. 9. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! https://www.flickr.com/photos/5wa/8593739154
  10. 10. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!! Microservices force you to! Design for Failure!! !!
  11. 11. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK So… Microservices!!
  12. 12. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Recommendations! https://www.flickr.com/photos/mdpettitt/4818781521
  13. 13. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK 1 Server per Service! https://www.flickr.com/photos/90994070@N00/4700774401
  14. 14. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Do your HA right! https://www.flickr.com/photos/daverugby83/4583767689
  15. 15. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Containers! https://www.flickr.com/photos/gcwest/281385801
  16. 16. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Containers!
  17. 17. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Containers! <3! !!
  18. 18. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Containers!
  19. 19. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK API Versioning! https://www.flickr.com/photos/kevinbyrom/5027408898/
  20. 20. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK API Versioning! https://www.flickr.com/photos/kevinbyrom/5027408898/ Version 1 /servers?image=imageId& flavor=flavorId& name=serverName& status=serverStatus& marker=markerID& limit=int&changes- since=dateTime& RAX-SI:image_schedule=boolean Version 2 /v2/{tenant_id}/servers​{?changes-since,​image,​flavor,​name,​marker,​ limit,​status,​host} Version 3 /v3/servers/{server_id}/action​{?changes-since,​image,​flavor,​name,​ marker,​limit,​status,​host}
  21. 21. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Sync vs Async! https://www.flickr.com/photos/beate_meier/8337014543
  22. 22. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Sync vs Async! Action 1 Action 2 Action 3
  23. 23. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Sync vs Async! Action 1 Action 2 Action 2b Action 3
  24. 24. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Sync vs Async! Router API Server Scheduler MQ Worker
  25. 25. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Dark Side of Microservices! https://www.flickr.com/photos/kalexanderson/7556757396
  26. 26. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Costs! https://www.flickr.com/photos/amagill/3366720659
  27. 27. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Concentration! https://www.flickr.com/photos/z_wenjie/5602616401
  28. 28. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK Network Fragmentation! https://www.flickr.com/photos/small_realm/6898449633
  29. 29. RACKSPACE® HOSTING | WWW.RACKSPACE.CO.UK https://www.flickr.com/photos/mikko_luntiala/12691267935 https://www.flickr.com/photos/dullhunk/202872717
  30. 30. 30 RACKSPACE® HOSTING | © RACKSPACE US, INC. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.CO.UK RACKSPACE® HOSTING | 5 MILLINGTON ROAD | HAYES, UNITED KINGDOM UB3 4AZ UK SALES: +44 (0)20 8712 6507 | UK SUPPORT: 0800 988 0300 | WWW.RACKSPACE.CO.UK @lynxman! http://slideshare.net/lynxmanuk/! http://www.rackspace.co.uk/technicalservices/ ! !

×