Click here to load reader

新浪 李晓栋 非商业网络设备的新浪应用之路

  • View
    870

  • Download
    2

Embed Size (px)

DESCRIPTION

中国互联网运维高峰论坛

Text of 新浪 李晓栋 非商业网络设备的新浪应用之路

  • 1. - http://weibo.com/3rdday0

2. -&1 3. 7+years in Sina:Linux (>1200)2008 2 4. 3 5. 4 6. DIY!5 7. DIY?(2004) -- DIY?(2007) --? DIY?(2010) -- DIY? 6 8. LVS 2 1 Haproxy 7 9. & 8 10. + 9 11. ?./configuremakemake install --No!No!No! 10 12. ? 11 13. -- (2008) -- (2011) 12 14. 2004 13 15. 2004 / / 14 16. 15 17. 16 18. 10017 19. 18 20. L4/7 OK -- --19 21. 20 22. L7 if { [HTTP::host] == "abc.sina.com.cn" and [HTTP::uri] starts_with "/zw/"} acl zw_url url_beg -i /zw/ acl t_host hdr(Host) -i abc.sina.com.cn21 23. 22 24. 23 25. acl pubic_stat_url url_beg -i /pub/stat acl active path_reg ^/(w+)/active[/&?]?$ 24 26. realserver-A VIP A realserver-A VIP B 25 27. 26 28. Try Best27 29. 28 30. 29 31. 30 32. TILERA31 33. Bypass Linux KernelUser Space LVS & relative tools(ipvsadm,keepalived)User Space ARP & RoutingPerformance tuning32 34. -33 35. !QA http://weibo.com/3rddayEmail: [email protected]