OGDC2013_ Network stragegy for MMO game_ Mr Tran Nhu Toan

download OGDC2013_ Network stragegy for MMO game_ Mr Tran Nhu Toan

If you can't read please download the document

description

Presentation in OGDC 2013 organized by VNG Corp.

Transcript of OGDC2013_ Network stragegy for MMO game_ Mr Tran Nhu Toan

  • 1.Network Strategy for MMO Game Trn Nh Ton , Lead Software Engineer, Game Studio North , VNG Corporation

2. Technical Leader 3. Turn-based, Real-time MMO Games Network Game Developers MMO Mobile Games 4. 1 2 3Common Problems Disconnection Lag 5. 35% Game Client (un-trusted , multitasking) 35% Game Servers (Overloaded ,Costly) 30% Network (latency , bandwidth) 6. Data Protocol Combination Compress 7. OLD Traffic of 3200 CCU: In: 1,53 KB/s Out: 325,08 KB/s 8. 1 2 3Common Problems Disconnection Lag 9. Slow Connection Disconnection 10. Maintain connection until time-out Use session for each connection Hold connection state in session Activate connection when having any signal 11. myPlay before 12. Why ??? Interrupted, even temporarily ISP might have intermittent issues , router fail Drop in the strength of the signal 13. Disconnect protection Re-connection 14. Automatically reconnect when connection is lost Remain users state Game flow is not interrupted 15. Session Game Client State Data New Connection Priority Message Queue 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. Result 18. 1 2 3Common Problems Disconnection Lag 19. Ghost User Firewall 20. Block Game Port 21. Http Tunnel by-pass Firewall Http Tunnel 22. Incomplete TCP disconnection occurs (e.g. disable 3g, wifi .) Why?How to deal with ghosts? 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. Summary Lag 25. Happy Gaming