Social Game的技術挑戰-支援千萬級DAU的Social Game技術構架

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    8 Favorites

    Social Game的技術挑戰-支援千萬級DAU的Social Game技術構架 - Presentation Transcript

    1. Social Game 的技术挑战 —— 支持千万级 DAU 的 Social Game 技术构架
    2. 目录 Five Minutes 简介 《开心农场》技术构架 Social Game 的技术挑战 加入我们吧! 1 1 2 3 4
    3. 我们的愿景
      • 五分钟致力于成为世界领先的 Social Game 开发和运营商!
      • Five Minutes was established to become a leading Social Game Publisher in the world !
    4. 我们的游戏理念
      • Our games are designed for NON-GAMERS.
      • Playing with REAL-FRIENDS is more fun than playing alone.
      • Lower participation cost: people can play a FIVE-MINUTES game daily.
    5. 《开心农场》运营成绩 从 DAU 来看《开心农场》是世界最大的 Social Game ! 08 年 11 月 378 万 校内 09 年 02 月 60 万 漫游 09 年 03 月 70 万 51 1564 万 总计 09 年 4 月到 5 月 1000 万 QQ 校友 &Qzone 09 年 4 月 56 万 Facebook 上线时间 当前 DAU 平台
    6. 目录 《开心农场》技术构架 Five Minutes 简介 Social Game 的技术挑战 加入我们吧! 1 2 1 3 4
    7. 《开心农场》的主要难点
      • 如何存储大规模的用户数据(千万级的用户量)
      • 如何应对大量的访问 (每天数亿次的请求量)
      • 如何应对数据的频繁修改 (每秒数万次数据修改)
    8. 负载均衡
      • Web 服务器平行扩展
        • LVS 或者 DNS 轮询来负责流量分发
        • 共享 Session
    9. 服务器性能优化
      • 请求操作处理异步化
      • 缓存接口数据
      • Linux 内核参数优化
      • 挖掘 PHP 的效率
        • 用 fastcgi 模式来运行 php
        • 用 EAccelerator 来加速
        • 固定不变的数据做成 php 配置文件
        • 用 C 来开发 php 扩展
    10. 数据库性能优化
      • 数据库分库分表
      • 所有的数据全部设计成 KEY->VALUE 的形式,不使用 JOIN
      • 使用 Innodb
      • 经常操作的数据表中的所有字段尽量设计成数值型的
      • 用 UPDATE 替代 INSERT 和 DELETE 操作
    11. 异步处理
      • 原则
        • 把客户端暂时不需要的数据进行异步处理
      • 实例
        • 将非核心数据先写入 Memcached ,异步更新到数据库
        • 合并数据库更新操作
        • Feed 和 Notification 的异步发送
    12. 利用客户端资源
      • Flash 屏蔽重复操作和不必要的请求
      • Flash 进行一些计算来减轻服务器的负担,例如好友排序等
      • Flash 缓存一些数据
    13. 目录 Social Game 的技术挑战 Five Minutes 简介 《开心农场》技术构架 加入我们吧! 1 3 1 2 4
    14. Social Game 的挑战 Social Game Social Network Game = + 非实时互动 + 大负载 实时互动 大负载 + 非实时互动 大负载 + 实时互动 小负载 ( 分服 ) +
    15. Blue Whale 蓝鲸
    16. 目录 加入我们吧! Five Minutes 简介 《开心农场》技术构架 Social Game 的技术挑战 1 4 1 2 3
    17. 加入我们吧!
      • C++ Programmer (Linux/Unix)
      • Python Programmer
      • Flash AS3 Programmer
      • 请发送简历到: [email_address]
      让我们一起 引领 Social Game 的技术潮流!

    + superlevinsuperlevin, 3 months ago

    custom

    1759 views, 8 favs, 4 embeds more stats

    由設計開心農場遊戲的Five Minutes分享的 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1759
      • 1234 on SlideShare
      • 525 from embeds
    • Comments 0
    • Favorites 8
    • Downloads 31
    Most viewed embeds
    • 502 views on http://superlevin.ktop.com.tw
    • 19 views on http://clay0529.blogspot.com
    • 3 views on http://www.edures.com.cn:8080
    • 1 views on http://wildfire.gigya.com

    more

    All embeds
    • 502 views on http://superlevin.ktop.com.tw
    • 19 views on http://clay0529.blogspot.com
    • 3 views on http://www.edures.com.cn:8080
    • 1 views on http://wildfire.gigya.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories