Your SlideShare is downloading. ×
0
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
2013 05-18-building distributed systems-php day
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

2013 05-18-building distributed systems-php day

235

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
235
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. BUILDING DISTRIBUTED SYSTEMS Juozas Kaziukėnas // juokaz.com // @juokaz
  • 2. 300’000’000 products / 24 hours = 12’500’00 products / 3600 seconds = 3’472 products / 3000 nodes = 1.1 sec. per product
  • 3. BUICNOSCNLKSANCLAS
  • 4. Juozas Kaziukėnas, Lithuanian You can call me Joe More info http://juokaz.com
  • 5. ONE SERVER IS NOT ENOUGH
  • 6. SCALINGTO MULTIPLE SERVERS
  • 7. INDEPENDENT NODES
  • 8. 1TO 2 SERVERS = HARD 2TO 100 SERVERS = EASY .
  • 9. TWO GENERALS PROBLEM
  • 10. LOCKING... LOL
  • 11. MYSQLTRANSACTIONS
  • 12. STATELESS
  • 13. USETIMEOUTS
  • 14. ASYNCHRONOUS PROCESSING
  • 15. MESSAGING AND QUEUES
  • 16. COMMUNICATION BETWEEN PROCESSES
  • 17. MESSAGE SIZE
  • 18. GEARMAN
  • 19. NO RUNNING ORDER OR RELIABILITY
  • 20. DATA
  • 21. LOCATION
  • 22. DE-NORMALIZATION
  • 23. CAPTHEOREM
  • 24. EVENTUAL CONSISTENCY
  • 25. ATOMIC OPERATIONS
  • 26. CACHE
  • 27. SETTING SERVERS UP
  • 28. CONFIGURATION
  • 29. PUPPET FOR SERVERS MANAGEMENT
  • 30. DYNAMIC SCALING
  • 31. SELF DISCOVERY
  • 32. AMAZON EC2 SPOT INSTANCES 10x cheaper than normal on-demand instances
  • 33. 24’000 CORE CLUSTER = $300/H
  • 34. PROTOTYPING
  • 35. START SMALL
  • 36. VAGRANT FORVMS MANAGEMENT
  • 37. WHAT IS GOING ON?
  • 38. HARD
  • 39. DEBUGGING DISTRIBUTED SYSTEMS IS HARD
  • 40. ALL STACK LEVELS FAIL
  • 41. MONITORING
  • 42. COUNT EVERYTHING
  • 43. UPTIME,VMSTAT, NETSTAT, IOSTAT, MPSTAT,TCPDUMP, GDB,VALGRIND, ULIMIT, SYSCTL ETC...
  • 44. THANKS! Juozas Kaziukėnas @juokaz

×