[Twisted-Python] Two main loops
Drew Smathers
drew.smathers at gmail.com
Wed Nov 14 14:15:52 EST 2007
On Nov 12, 2007 11:56 AM, Jasper <jasper at peak.org> wrote:
> Nitro wrote:
> > In a game you usually never send/receive huge objects. For various
> > reasons you always try to reduce your bandwidth as much as possible. A
> > low bandwidth implies a rather low number of objects and data.
> Actually, in my (and most) turn based strategy games, it's normal to
> send lots of data, every turn. Not all games are realtime, with data
> that fits easily into small packets.
>
> -Jasper
> <http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python>
>
For this specific use case, I would expect using a producer/consumer:
http://twistedmatrix.com/projects/core/documentation/howto/producers.html
However, it still seems unlikely that you'd need to transmit that much data
even in a turn-based system. How many bytes are we talking about?
--
\\\\\/\"/\\\\\\\\\\\
\\\\/ // //\/\\\\\\\
\\\/ \\// /\ \/\\\\
\\/ /\/ / /\/ /\ \\\
\/ / /\/ /\ /\\\ \\
/ /\\\ /\\\ \\\\\/\
\/\\\\\/\\\\\/\\\\\\
d.p.s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20071114/136d16a5/attachment.htm
More information about the Twisted-Python
mailing list