大众点评网 Web开发之路

1,708 views

Published on

Published in: Technology

大众点评网 Web开发之路

  1. 1. Web
  2. 2. ABOUT ME /@alcoholwangalcoholwang@gmail.com
  3. 3. 2003 Web 2.0 2000 100 1700400M / 2000 / 3000 / 600 50%35 / 102
  4. 4. 2003 - 2004www.zsurvey.comASPAccess0.4 /2
  5. 5. TROUBLE Web DB SQL Server ASP.Net 1.12
  6. 6. 2005 - 2007www.dianping.comASP.Net 1.1SQL Server7180 /8
  7. 7. TROUBLE
  8. 8. WebCSS / JS YUI Compressor / Google Closure Compiler JS jpegoptim / OptiPNG / PNGOUT GZip
  9. 9. i1 / i2 / i3 .dpfile.com Cookie Expires Cache-Control
  10. 10. TROUBLEDNS
  11. 11. DNSSoftware Nginx / LVSHardware Session Session
  12. 12. TROUBLE CDN
  13. 13. http://i2.dpfile.com/s/css/g.base.css?v=22http://i2.dpfile.com/s/css/g.base.v22.css ↓ /data/static/s/css/g.base.css
  14. 14. 2008 - 2010ASP.Net 2.0 / 3.0 / 3.5MySQL + NoSQLMemcachedMogileFSLucene1873
  15. 15. TROUBLE IO
  16. 16. MogileFS / FastDFS / BeansDB / Taobao TFS
  17. 17. TROUBLE
  18. 18. List<Shop> ↓List<ShopIDIndex> Shop Shop Shop ↓ mget
  19. 19. CPUDAO ⇢ + AOP
  20. 20. Lazy DeleteCache Provider ↣ Cache Object Version Shop_{ShopID} Shop_{ShopID}_{Version}
  21. 21. CPU DAO ⇢ + AOPMemcached Consistent-Hash
  22. 22. TROUBLE
  23. 23. NoSQL Redis / MongoDB
  24. 24. TROUBLE
  25. 25. MemcacheQ / Redis
  26. 26. !1"231245:/77/2 C&D3"4&%E(F"GE(3H !1"2312456+"7&8/+9 !1"231245:";<124 @&+A1;&3+/A1)&+?%&+@&+A1;& BB @</*@&+A1;& ,-. =0&+> !"#"-/0#&+ !"#"$"%&()"*#&+
  27. 27. MemcachedNo SQL Join DNS CDN Debug

×