reverse proxy server for socket server?

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Post Reply
yysct2005
Posts: 21
Joined: 28 Apr 2011, 06:39

reverse proxy server for socket server?

Post by yysct2005 »

hello,everybody.

How can configure a reverse proxy server for a socket server(sfs2x)?

any suggestion,thank you..

maybe,lvs? f5?
请加入QQ群: 33431550
一起讨论学习,webgame å¼€å
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

By reverse proxy you mean a Load Balancer, right?
Usually web load balancers don't work well with game servers because they are based on persistent connections.
It's much easier to have the client decide which server to connect to via a list of instances that can be loaded dynamically from anywhere on your system (like a web server).

So the flow would be:

- Client retrieves list of game servers from web server
- Client decides where to connect (based on custom internal logic, user choice or other factors...)
- Client connects

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
yysct2005
Posts: 21
Joined: 28 Apr 2011, 06:39

reverse proxy server for socket server?

Post by yysct2005 »

Thank you ,Lapo.

We don't want to show game server's public ip to client for some reason. (maybe for security,prevent attackers etc.)
请加入QQ群: 33431550
一起讨论学习,webgame å¼€å
Post Reply