网易开源

2020-02-27 141浏览

  • 1.open source in netease 网易杭州研究院 谢骋超 @ 圈圈套圈圈 @xiecc
  • 2.About me---hujs(jsconf in chi na)
  • 3.Category Overview Pomelo framework InnoSQL Site
  • 4.Overview How many corps support employees for full time open source ? We are, a long, along … time ago
  • 5.Netease and open source Now is the time, for exposure
  • 6.A game server development fra mework
  • 7.Pomelo framework Web Game Tomcat/Jetty Struts/Spring ruby on rails django express Reddwarf SmartfoxServer Bigworld
  • 8.Fast, scalable architect ure single process does not scale
  • 9.Runtime architecture
  • 10.Game VS Web Long connection VS Short connection Partition:area based VS Load balanced cluster State VS Stateless Broadcast VS Request/response
  • 11.almost zero code achie ving this architecture easy to extend servers
  • 12.Server abstraction fo ssage e m d r wa r maste maste rr backen backen d d frontend frontend pu sh by mes ch s an age ne l backen backen d d rpc backen backen d d frontend frontend backen backen d d
  • 13.Server abstraction Duck type con nec tor fronten d are a backen d cha t statu s
  • 14.Server abstraction server type
  • 15.Easy request/response, channel, rpc
  • 16.Request/response Zero config Client, like ajax Server, like web mvc framework
  • 17.rpc framework Zero config Auto route app.rpc.chat.chatRemote.kick
  • 18.Focus on performanc e, and honest
  • 19.Full stress testing
  • 20.A lot of optimization Online users perarea:100 to 800 Responsetime:200ms Problemssolved:Html 5, client side memory leak Path finding and aoi optimization Data too… fat, reduce weight Unclean connection data, make socket.io cra zy Some apiimplementation:dataApi Divideprocess:path finding And… broadcast
  • 21.1600 onlines per area
  • 22.800 onlines per area
  • 23.A lot of tools and librar y
  • 24.Pomelo---architecture ai aoi schedul e robot ... pathfin d seqqueue datasync Library framework Admin console tools
  • 25.Full MMO demos in HTM L5
  • 26.Written in node.js
  • 27.Coming soon… 2012.11 月底
  • 28.InnoSQL http://www.innomysql.org/Mysql 分支版本 更好的 MySQL 数据库性能 将一些富有创创 意的想法用于数据 创 创 创 创 创 创 创 创创 的生 创 创创创 境。 创
  • 29.InnoDB Flash Cache SSD as L2 Cache Persistent cache – Write ba ck Read cache – Read page from flash cach e Write cache – Merge write
  • 30.InnoSql’s flash cache architec ture
  • 31.InnoDb FlashCache
  • 32.InnoDb warm up MySQL/Percona/Twider – Dump/Load LRU InnoSQL – Share Memory + Dump/Load LR U
  • 33.InnoSql warm up
  • 34.IO Statistics Vanilla MySQL SQL Profiler – Record IO statstics based on global InnoSQL SQL Profiler – Integrate IO statistics with SQL Profiler – IO statistics with each SQL – Excellent help for DBA & developer
  • 35.IO Statistics Slow log
  • 36.And more 死锁检测优化 --stack 方式模拟递归 UNDO informatin_schema -- 每个事务的 undo 信息 Virtual sync Replication with group commit MySQL Profiler
  • 37.Open source site http://code.netease.comhttps://github.com/NetEase/Follow us @ 圈圈套圈圈 @insidemysql @ 网易汪源 @-CE-
  • 38.Q& A