Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Microservices without Servers

145 vues

Publié le

Servers are killing your productivity. Rather than building better software for your users, you end up constantly distracted by maintaining computers. Wasn't the "cloud" supposed to fix this? It sounded so promising until we realized it was just renting VMs in someone else's datacenter. We couldn't escape "servers". Until now...

In this session, developers will learn how to build microservices without servers, using modern “serverless” cloud platforms. We’ll look at common challenges (and solutions) to building applications using “serverless” stacks. Exploring emerging “serverless” design patterns will give developers the knowledge to build application architectures using these new platforms.

Presented by Jonathan Kaufman, Developer Advocate for IBM Emerging Technology currently residing in Cambridge, MA.

Publié dans : Technologie
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Microservices without Servers

  1. 1. Microservices without Servers Jonathan Kaufman • IBM • QCon San Francisco • @kauffecup
  2. 2. Servers Are Killing Your Productivity
  3. 3. Idea Profit � ���
  4. 4. Hard Drive Fails Linux OS Vulnerability Middleware Version Update Upgrade Network Infrastructure More Memory and Bigger CPU DB Table Index Gets Corrupted Get Another Server…
  5. 5. Wasn’t the Cloud Supposed to Fix This? �
  6. 6. “Computing as a Utility” source: https://flic.kr/p/5aHJFh
  7. 7. Power Sub-Station? source: http://i22.photobucket.com/albums/b344/GlassCurtain/Substation.jpg
  8. 8. No Escape... source: http://bit.ly/1ozGfzK
  9. 9. average utilization 20% - 40% of capacity
  10. 10. What Can We Do?
  11. 11. AWS Lambda
  12. 12. …why is this different? “runs code in response to events, managing the computing resources”
  13. 13. functions as a service ƒ(x)
  14. 14. Scaling: 0 to N ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x) ƒ(x)
  15. 15. Pay-As-You-Go a loves dc, https://www.flickr.com/photos/alovesdc/3466740007, CC (BY) license
  16. 16. http://uk.businessinsider.com/amazon-web-services-lambda-explained-2015-11 "One happy lambda customer saving 80% off their cloud bills"
  17. 17. Isn’t this just Platform-As-A-Service?
  18. 18. https://twitter.com/adrianco/status/736553530689998848
  19. 19. Spoilers… …there’s still servers.
  20. 20. Enough Talking, Bring on the Code.
  21. 21. Weatherbot source: uk.reuters.com/article/us-life-selfies-idUKKCN0R305L20150903
  22. 22. IBM Openwhisk
  23. 23. ➜ workspace: git clone https://github.com/openwhisk/openwhisk.git ➜ workspace: cd openwhisk ➜ openwhisk: vagrant up
  24. 24. my_service.js
  25. 25. function main(params) { // code code code return { ... }; } my_service.js Entry Point Event Parameters Service Result
  26. 26. import com.google.gson.JsonObject; public class Hello { public static JsonObject main(JsonObject args) { // code code code JsonObject response = new JsonObject(); // some more code return response; } } my_service.java Entry Point Event Parameters Service Result
  27. 27. Actions
  28. 28. REST
  29. 29. REST API
  30. 30. Triggers
  31. 31. Challenges
  32. 32. Compute Limits zund, https://www.flickr.com/photos/zund/12202485675, CC (BY-NC-ND) license
  33. 33. Monitoring, Debugging, and Testing Thomas Hawk, https://www.flickr.com/photos/thomashawk/4544013443, CC (BY-NC) license
  34. 34. Complexity bitterjug, https://www.flickr.com/photos/bitterjug/7670055210, CC (BY) license
  35. 35. Frameworks
  36. 36. Servers Are Killing Your Productivity
  37. 37. source: http://gunshowcomic.com/648
  38. 38. https://twitter.com/patrickdebois/status/734459440603275264
  39. 39. Ditch Your Servers. Upgrade Your Productivity.
  40. 40. https://github.com/openwhisk https://dwopen.slack.com#openwhisk https://stackoverflow.com/questions/tagged/openwhisk @openwhisk or @kauffecup http://jkaufman.io/microserves-without-servers-talk

×