Elixir a Language for the Future

Elixir a Language for the Future

98195776df79590269541395c699f816?s=128

João Moura

June 23, 2017
Tweet

Transcript

  1. 3.
  2. 4.
  3. 5.
  4. 6.
  5. 7.
  6. 8.
  7. 9.
  8. 11.
  9. 12.
  10. 13.
  11. 15.
  12. 16.
  13. 17.

    ?

  14. 19.
  15. 21.
  16. 22.
  17. 24.
  18. 25.
  19. 26.
  20. 28.
  21. 29.
  22. 30.
  23. 31.
  24. 34.
  25. 38.
  26. 39.
  27. 42.
  28. 43.
  29. 44.
  30. 45.
  31. 47.
  32. 48.
  33. 49.
  34. 55.
  35. 56.
  36. 60.
  37. 64.

    Functional “doing the same thing over and over again and

    expecting different results” Albert Einstein
  38. 66.
  39. 76.
  40. 78.
  41. 79.
  42. 80.
  43. 81.
  44. 82.
  45. 84.
  46. 85.
  47. 86.
  48. 87.
  49. 89.
  50. 90.
  51. 91.
  52. 92.
  53. 93.
  54. 94.
  55. 95.
  56. 96.
  57. 97.
  58. 99.
  59. 100.
  60. 101.
  61. 102.
  62. 103.
  63. 104.
  64. 105.
  65. 106.
  66. 107.
  67. 108.
  68. 109.
  69. 110.
  70. 111.
  71. 112.
  72. 116.

    # OF PROCESSES # CALL FOR SPAWN AND BLOCKER #

    SPAWN NEW PROCESSES # FUNCTION THE PROCESS EXECUTE
  73. 117.

    # OF PROCESSES # CALL FOR SPAWN AND BLOCKER #

    SPAWN NEW PROCESSES # FUNCTION THE PROCESS EXECUTE # BLOCKER THAT GETS THE MESSAGE
  74. 118.
  75. 119.
  76. 120.
  77. 121.
  78. 123.

    mix

  79. 124.
  80. 127.
  81. 128.
  82. 129.
  83. 131.
  84. 132.

    Rails: req/s: 1 140 530 Stdev: 18.96ms Max latency: 159.43ms

    Pheonix: req/s: 12 120 000 Stdev: 3.35ms Max latency:43.30ms
  85. 137.
  86. 139.
  87. 140.
  88. 141.
  89. 142.
  90. 143.
  91. 144.
  92. 145.