Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64229

Re: Python Scalability TCP Server + Background Game

Newsgroups comp.lang.python
Date 2014-01-18 04:40 -0800
References <27bae268-20a6-4ac3-a0dc-bd5be04d1da1@googlegroups.com> <08f0a532-6828-4eef-ae9f-de8722edd11e@googlegroups.com>
Message-ID <c2960031-ee97-40ad-a817-1bcd3452341f@googlegroups.com> (permalink)
Subject Re: Python Scalability TCP Server + Background Game
From phiwer@gmail.com

Show all headers | View raw


Den lördagen den 18:e januari 2014 kl. 13:13:47 UTC+1 skrev Asaf Las:
> On Wednesday, January 15, 2014 8:37:25 PM UTC+2, phi...@gmail.com wrote:
> 
> > My problem is as follows: 
> 
> > ....
> 
> > 2) The network layer of the game server runs a separate process as well, 
> 
> > and my intention was to use gevent or tornado (http://nichol.as/asynchronous-
> 
> >servers-in-python).
> 
> > 3) The game server has a player limit of 50000. My requirement/desire is to 
> 
> > be able to serve 50k requests per second 
> 
> > 4) The game is not a real-time based game, but is catered towards the web.
> 
> > Due to this information, I have developed the initial server using netty in 
> 
> > java. I would, however, rather develop the server using python,... and then 
> 
> > use python for the frontend. ...
> 
> 
> 
> do you have references to implementations where python was used as frontend for such traffic load? 
> 
> 
> 
> you can have a look to this group for numbers
> 
> https://groups.google.com/forum/#!forum/framework-benchmarks
> 
> 
> 
> Asaf

Yes I've looked at those charts, and that was one of the reasons why I decided
to go with netty for the back-end (although I'm probing to see if python 
possibly could match in some way, which I haven't thought of yet...).

With regards to front-end, I haven't fully decided upon which framework to use.
It's easier to scale the front-end, however, given that the problem of
locking game state is not present in this logical part of the architecture.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python Scalability TCP Server + Background Game phiwer@gmail.com - 2014-01-15 10:37 -0800
  Re: Python Scalability TCP Server + Background Game Chris Angelico <rosuav@gmail.com> - 2014-01-16 08:08 +1100
    Re: Python Scalability TCP Server + Background Game phiwer@gmail.com - 2014-01-17 23:44 -0800
      Re: Python Scalability TCP Server + Background Game Chris Angelico <rosuav@gmail.com> - 2014-01-18 19:01 +1100
        Re: Python Scalability TCP Server + Background Game phiwer@gmail.com - 2014-01-18 03:54 -0800
  Re: Python Scalability TCP Server + Background Game Asaf Las <roegltd@gmail.com> - 2014-01-18 04:13 -0800
    Re: Python Scalability TCP Server + Background Game phiwer@gmail.com - 2014-01-18 04:40 -0800
      Re: Python Scalability TCP Server + Background Game Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-18 13:19 +0000
        Re: Python Scalability TCP Server + Background Game Philip Werner <phiwer@gmail.com> - 2014-01-19 12:53 -0600
          Re: Python Scalability TCP Server + Background Game Chris Angelico <rosuav@gmail.com> - 2014-01-20 05:58 +1100
            Re: Python Scalability TCP Server + Background Game Philip Werner <phiwer@gmail.com> - 2014-01-21 03:59 -0600

csiph-web