Everyone starts with a simple one-machine setup, running PHP(or whatever else you fancy), MySQL/PostgreSql and Apache/Nginx. Sooner or later that will not be enough, and you will be faced with some important architecture decisions. This talk will show you how you can optimize and increase the performance of your application by distributing tasks in an simple and affordable way.
Shifting Gears With
Srdjan Vranac // code4hire.com // @vranac
, consultant, mercenary, writing
terrible code that performs exceptionally, wrangling ele
s, obsessed with
, interested in
continuous integration and delivery, clean code, testing, best
practices and distributed systems
Just Scrape It!
/ 12 Hours = 2.500.000 Products
/ 3600 Seconds = 695 Products
600 nodes = 1.1 Sec. per product
Just Resize It!
Messaging And Queues
Process 1 Process 3
Communication between Processess
No Running Order Or Reliability
What Is Going On?
Debbugging Distributed Systems is Hard!
Uptime, Vmstat, Netstat, Iostat, Mpstat,
Tcpdump, Gdb, Valgrind, Ulimit, Sysctl
THE END ?
Gearman Supervisor StatsD
Measure Anything, Measure Everything