Ogdc 2013 network stragegy for mmo game

371 views
295 views

Published on

Published in: Entertainment & Humor, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
371
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • lkjlkjlkjljlk
  • Ogdc 2013 network stragegy for mmo game

    1. 1. Network Strategy for MMO Game Trần Như Toàn , Lead Software Engineer, Game Studio North , VNG Corporation
    2. 2. Technical Leader
    3. 3.  Turn-based, Real-time MMO Games Network Game Developers  MMO Mobile Games
    4. 4. 1 2 3Common Problems Disconnection Lag
    5. 5. 35% Game Client (un-trusted , multitasking) 35% Game Servers (Overloaded ,Costly) 30% Network (latency , bandwidth)
    6. 6. Data Protocol Combination Compress
    7. 7. OLD Traffic of 3200 CCU:  In: 1,53 KB/s  Out: 325,08 KB/s
    8. 8. 1 2 3Common Problems Disconnection Lag
    9. 9. Slow Connection Disconnection
    10. 10. Maintain connection until time-out • Use session for each connection • Hold connection state in session • Activate connection when having any signal
    11. 11. myPlay before
    12. 12. Why ??? • Interrupted, even temporarily • ISP might have intermittent issues , router fail • Drop in the strength of the signal
    13. 13. Disconnect protection Re-connection
    14. 14. Automatically reconnect when connection is lost Remain user’s state Game flow is not interrupted
    15. 15. Session Game Client State Data New Connection Priority Message Queue
    16. 16.  Game flow is not interrupted  Client games auto-reconnect when connection lost  Remain state of User The complexity of the reconnection is hidden from the developers.
    17. 17. Result
    18. 18. 1 2 3Common Problems Disconnection Lag
    19. 19. Ghost User Firewall
    20. 20. Block Game Port
    21. 21. Http Tunnel by-pass Firewall Http Tunnel
    22. 22. Incomplete TCP disconnection occurs (e.g. disable 3g, wifi ….) Why?How to deal with ghosts?
    23. 23. Reduce the impact of pending connections • Create scheduled task (called Ghost Hunter) • Check the integrity of each connection • Remove those that are stale
    24. 24. Summary Lag
    25. 25. Happy Gaming

    ×