SCALABILITY	
  
at	
  Gi.gidiyor	
  
H	
  	
  	
  	
  	
  O	
  	
  	
  	
  R	
  	
  	
  	
  I	
  	
  	
  	
  Z	
  	
  	
  ...
WHO	
  
Harun	
  Yardımcı	
  

am	
  
I	
  ?	
  

So:ware	
  Architect	
  @	
  Gi.gidiyor.com	
  /	
  eBay	
  Turkey	
  
	...
What	
  is	
  Scalability?	
  	
  
UP	
  

Costs too much, easy but
limited. 
And it is not cool.

There	
  are	
  two	
  ways	
  of	
  scaling.	
  Which	
  ...
CPU	
  	
  vs	
  	
  Cost	
  	
  vs	
  	
  Iron	
  man	
  

VerEcal	
  

Horizontal	
  
It	
  was	
  always	
  there	
  
So	
  what	
  is	
  changed	
  	
  
and	
  it	
  became	
  so	
  
popular	
  
YOU	
  
X
Logs,	
  Messages,	
  Categories,	
  Cart	
  InformaEon,	
  Payment	
  InformaEon,	
  
Search	
  Impressions,	
  Click	
...
SCALE	
  	
  
how	
  we	
  do	
  it?	
  
Hardware	
  
SoPware	
  

B	
  O	
  T	
  H	
  
Horizontal	
  
VerEcal	
  

REPLIC...
Load	
  Balancer	
  
•  Pooling	
  
•  Session	
  Sharing	
  
	
  
Server	
  Pools	
  
Web	
  Server	
  Pools	
  
Service	
  Pools	
  
Databases	
  
Master	
  -­‐	
  Master	
  
Master	
  –	
  Slave	
  
NoSQL	
  Clusters	
  
Caching	
  
Distributed	
  Cache	
  Pools	
  
Queues	
  
Asynchronous	
  Queues	
  
Many	
  Channels	
  	
  	
  
CDN	
  
Remote	
  Services	
  
Thank	
  You	
  

Any	
  quesIons?	
  
References	
  
• 
• 
• 

hWp://www.slideshare.net/harunyardimci/giYgidiyorcomda-­‐acik-­‐kaynak-­‐uygulamalar	
  
hWp://ww...
Scalability at Gittigidiyor
Upcoming SlideShare
Loading in …5
×

Scalability at Gittigidiyor

775 views

Published on

Published in: Technology, Self Improvement
1 Comment
2 Likes
Statistics
Notes
No Downloads
Views
Total views
775
On SlideShare
0
From Embeds
0
Number of Embeds
20
Actions
Shares
0
Downloads
8
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Scalability at Gittigidiyor

  1. 1. SCALABILITY   at  Gi.gidiyor   H          O        R        I        Z        O        N        T        A        L V E R T I C A L
  2. 2. WHO   Harun  Yardımcı   am   I  ?   So:ware  Architect  @  Gi.gidiyor.com  /  eBay  Turkey     more  about  me  ?   linkedin.com/in/harunyardimci/   want  to  follow  me?   @h_yardimci   @nosqlcozumler   have  some  quesIons?       harun.yardimci@gmail.com   hyardimci@ebay.com   nosqlcozumler@gmail.com  
  3. 3. What  is  Scalability?    
  4. 4. UP   Costs too much, easy but limited. And it is not cool. There  are  two  ways  of  scaling.  Which  way  to  choose?   out  out  out  out  out   Much more effective and cheap, but it is relatively hard to apply.
  5. 5. CPU    vs    Cost    vs    Iron  man   VerEcal   Horizontal  
  6. 6. It  was  always  there  
  7. 7. So  what  is  changed     and  it  became  so   popular  
  8. 8. YOU  
  9. 9. X Logs,  Messages,  Categories,  Cart  InformaEon,  Payment  InformaEon,   Search  Impressions,  Click  Rates,  Search  Keywords,  ….   X ~12  Years  
  10. 10. SCALE     how  we  do  it?   Hardware   SoPware   B  O  T  H   Horizontal   VerEcal   REPLICATION   SHARDING   VIRTUALIZATION   BIGGER  HARDWARE   LOAD  BALANCER   DATABASE   CACHING   QUEUES   NOSQL   CDN   SOA     HA   BCP   SPOF  
  11. 11. Load  Balancer   •  Pooling   •  Session  Sharing    
  12. 12. Server  Pools   Web  Server  Pools   Service  Pools  
  13. 13. Databases   Master  -­‐  Master   Master  –  Slave   NoSQL  Clusters  
  14. 14. Caching   Distributed  Cache  Pools  
  15. 15. Queues   Asynchronous  Queues   Many  Channels      
  16. 16. CDN   Remote  Services  
  17. 17. Thank  You   Any  quesIons?  
  18. 18. References   •  •  •  hWp://www.slideshare.net/harunyardimci/giYgidiyorcomda-­‐acik-­‐kaynak-­‐uygulamalar   hWp://www.slideshare.net/harunyardimci/what-­‐why-­‐24523991   hWp://en.wikipedia.org/wiki/Scalability   •  Image  Sources   o  hWp://bitsandpieces1.blogspot.com/2006/05/it-­‐takes-­‐two-­‐trucks-­‐to-­‐haul-­‐one-­‐big.html   o  hWp://www.mynamesnotmommy.com/yes-­‐there-­‐are-­‐dumb-­‐quesEons/quesEon-­‐mark/   o  hWp://www.flickr.com/photos/kmsharpless/3439529196/   o  hWps://www.iconfinder.com    

×