Cloud Barcamp Roma: Soccersquare su Node.js, tips e consigli da sviluppatore

744 views

Published on

Sportsquare Games: sviluppare una piattaforma di successo con Node.js. L'esperienza da developer: tips e best practices by Alex Carpentieri, Co-founder & Developer presso SportSquare Games

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

  • Be the first to like this

No Downloads
Views
Total views
744
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cloud Barcamp Roma: Soccersquare su Node.js, tips e consigli da sviluppatore

  1. 1. Alex Carpentieri CTO @alexcarpe SOCCERSQUARE TECHNOLOGY @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  2. 2. The best technologies you need to develop your web app... ... at the end of this presentation @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  3. 3. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  4. 4. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  5. 5. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  6. 6. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  7. 7. Alex Andrea Gabriele @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  8. 8. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  9. 9. @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  10. 10. FRONTEND TECHNOLOGY HTML5 + AngularJs ✓ Dynamic content is rendered directly by the browser ✓ Easy to learn ! @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  11. 11. BACKEND TECHNOLOGY Node.js + Mysql + Redis + Mocha + Nginx! =! “TANTA ROBA!” cit. Anonymous @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  12. 12. CLIENTS: Browser, Tablet, LOAD BALANCER NODE.JS SERVERS DATABASE smartphone js css jpg html FRONTEND LANGUAGE & TECHNOLOGIES CACHING Simulation Engine BACKEND LANGUAGE & TECHNOLOGIES CSS AUTHORING FRAMEWORK TOOLSET FOR BUILDING WEB APP FRAMEWORK @sportsquaregame TESTING www.sportsquaregames.com info@sportsquare.it
  13. 13. Why Node.js? ✓ High performance ✓ Same language client & server side ✓ API-oriented with express.js ! @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  14. 14. Why NGINX? ✓ Load balancing made easy ✓ Easy to learn and setup ✓ Fast on serving static files ! @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  15. 15. Why Mocha? ✓ Testing ✓ Easy to learn and use ✓ It’s a MUST ! @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  16. 16. Why Percona SERVER? ✓ High performance on MYSQL ✓ Hot Updates ! @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  17. 17. Why Percona SERVER? @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  18. 18. Why Percona SERVER? ✓ No time to learn other DBMS ✓ Storage systems @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  19. 19. Why? Redis SERVER ✓ Easy to integrate ✓ Drastically drops the need of reading data from database ✓ key/value - structured data - primitive - queue @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  20. 20. Redis: key/value Used for caching data from the database @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  21. 21. Redis: message Used for exchanging infos between node instances @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  22. 22. Deadlines • Development for 5 months x 3 people • Testing performance in Open Beta • Iterating each 7-10 days Next days: we'll launch with ItaliaOnLine End of November: we'll launch with a Publisher @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  23. 23. Expected users by the end of the year 200K MAU 20K DAU 15% peak in an hour 20 min average session length 3K per hour ≈1K connected online @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  24. 24. The best technologies you need to develop your web app... ... it doesn’t exist. Please balance R/D or you might never finish your project @sportsquaregame www.sportsquaregames.com info@sportsquare.it
  25. 25. Alex Carpentieri CTO @alexcarpe THANK YOU FOR YOUR ATTENTION! @sportsquaregame www.sportsquaregames.com info@sportsquare.it

×