Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2b || !2b Reactive Spring

2b || !2b Reactive Spring

B31d4d4bd89bff2bc668026b714dc8cf?s=128

Oleh Dokuka

May 21, 2018
Tweet

Transcript

  1. 2BE || !2BE... 2BE || !2BE... REACTIVE ... REACTIVE ...

  2. ABOUT US ABOUT US

  3. None
  4. ABOUT DARTH VADER ABOUT DARTH VADER So ware Engineer at

    Levi9 JEEConf, JavaDay, JUG Speaker Project Rector Committer
  5. ABOUT MASTER JEDI ABOUT MASTER JEDI So ware Engineer at

    ZoomData JEEConf, JavaDay, JUG Speaker
  6. AGENDA AGENDA SITH OR JEDI SPRING FOR MODERN SITH OR

    JEDI SPRING FOR MODERN APPLICATIONS? APPLICATIONS?
  7. POINTS POINTS Today's demands Usability Relevance Performance Cost of Development

  8. TODAY'S DEMANDS TODAY'S DEMANDS

  9. None
  10. None
  11. None
  12. None
  13. None
  14. None
  15. JEDI SPRING JEDI SPRING

  16. None
  17. None
  18. JEDI STACK VS. SITH JEDI STACK VS. SITH STACK STACK

  19. JEDI STACK JEDI STACK

  20. None
  21. Spring Boot 1.x/2.x

  22. Spring Data

  23. SPRING WEBMVC SPRING WEBMVC

  24. None
  25. SITH STACK SITH STACK

  26. None
  27. Spring Boot 2.x

  28. Spring Data Reactive

  29. SPRING WEBFLUX SPRING WEBFLUX

  30. None
  31. None
  32. CRYPTO TRADING CRYPTO TRADING BITCOIN PLATFORM BITCOIN PLATFORM

  33. USABILITY USABILITY

  34. FIRST DEMO FIRST DEMO

  35. Bitfinex Bitmex Trading Platform User 1 User 2 Trades Storage

  36. LET'S CODE LET'S CODE

  37. RELEVANCE RELEVANCE

  38. LET'S CODE LET'S CODE

  39. PERFORMANCE PERFORMANCE

  40. None
  41. None
  42. dispatch dispatch return dispatch return return ~200 ms ~200 ms

  43. THROUGPUT WITH I/O THROUGPUT WITH I/O

  44. None
  45. Cloud Bandwidth Limitation OS Outgoing Connections Limitation Difference between RestTemplate

    and WebClient
  46. THROUGPUT WITHOUT I/O THROUGPUT WITHOUT I/O

  47. None
  48. CPU USAGE CPU USAGE

  49. None
  50. MEMORY USAGE MEMORY USAGE

  51. None
  52. INFRASTRUCTURE COST PER 1K USERS INFRASTRUCTURE COST PER 1K USERS

  53. COST OF COST OF DEVELOPMENT DEVELOPMENT

  54. SUMMARY SUMMARY

  55. None
  56. None
  57. https://www.infoq.com/articles/Servlet-and-Reactive- Stacks-Spring-Framework-5

  58. ONE MORE THING... ONE MORE THING...

  59. ZUUL 2 : THE NETFLIX JOURNEY ZUUL 2 : THE

    NETFLIX JOURNEY TO ASYNCHRONOUS, NON- TO ASYNCHRONOUS, NON- BLOCKING SYSTEMS BLOCKING SYSTEMS HTTPS://MEDIUM.COM/NETFLIX-TECHBLOG/ZUUL-2- HTTPS://MEDIUM.COM/NETFLIX-TECHBLOG/ZUUL-2- THE-NETFLIX-JOURNEY-TO-ASYNCHRONOUS-NON- THE-NETFLIX-JOURNEY-TO-ASYNCHRONOUS-NON- BLOCKING-SYSTEMS-45947377FB5C BLOCKING-SYSTEMS-45947377FB5C
  60. RXNETTY VS. TOMCAT RXNETTY VS. TOMCAT HTTPS://WWW.SLIDESHARE.NET/BRENDANGREGG/R HTTPS://WWW.SLIDESHARE.NET/BRENDANGREGG/R XNETTY-VS-TOMCAT-PERFORMANCE-RESULTS XNETTY-VS-TOMCAT-PERFORMANCE-RESULTS

  61. THE CODE THE CODE

  62. None
  63. Q & A Q & A