Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

OGDC2013_ Network stragegy for MMO game_ Mr Tran Nhu Toan

Presentation in OGDC 2013 organized by VNG Corp.

  • Login to see the comments

OGDC2013_ Network stragegy for MMO game_ Mr Tran Nhu Toan

  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

×