Coding Night 2015

Coding Night 2015

37df158edd0f4ca5fc2fff2e87f43487?s=128

Christian Bäuerlein

July 17, 2015
Tweet

Transcript

  1. None
  2. Hi! J Christian Bäuerlein • @fabrik42 • github.com/fabrik42

  3. Creating mobility using existing resources

  4. Creating mobility using existing resources Bringing together drivers and passengers

    to share a ride.
  5. 0-5 km Urban 5 - 100 km Regional 100 -

    700 km Intercity
  6. None
  7. None
  8. None
  9. Speed Dating the flinc Tech Stack

  10. Backnet

  11. Load Balancer Load Balancer Rev. Proxy Rev. Proxy App Server

    App Server App Server App Server App Server ... Static Assets Caching DB Queue Ext. Service Worker Worker Worker Worker Worker ... Micro service Simplified version of our backnet server setup.
  12. Servers in Germany (owned by German Company) All Servers running

    in VMs Provisioning via Chef
  13. Ruby on Rails

  14. 5 Years

  15. > 330k Users

  16. ~100k LOC Ruby

  17. 20 API Clients RESTful JSON API oAuth 2 Provider Detailled

    test suite
  18. PostgreSQL

  19. Extensions

  20. Stored Procedures User Defined Functions

  21. Exceeded 32 Bit Int in 2013

  22. WE LOVE IT!

  23. Background Processing Sending Emails Calculating Routes Processing User Uploads External

    Services
  24. Essential part of our architecture Don‘t let the user wait.

    Don‘t let the user see errors from external services. Retry yourself in the background. Come back to the user later.
  25. Microservices Sending Email, Push, SMS Accessing/processing 3rd party services Ruby/Go/C++/Java

  26. Routing Server High Performance Tailored to the flinc use cases

  27. Business Intelligence

  28. Business Intelligence

  29. Testing

  30. ~7500 Tests

  31. ~3 min for full suite

  32. Rspec Jasmine Protractor

  33. Deployment

  34. Make your code accessible

  35. Communicate changes

  36. None
  37. Thank you! flinc.org/jobs Christian Bäuerlein • @fabrik42 • github.com/fabrik42

  38. None