Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: RFC Metaserver overhaul
Home

[Freeciv-Dev] Re: RFC Metaserver overhaul

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: RFC Metaserver overhaul
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sat, 2 Nov 2002 21:32:42 +0000 (WET)

On Sat, 2 Nov 2002, Christian Knoke wrote:

> On Sat, Nov 02, 2002 at 08:38:07AM -0800, Paul Zastoupil wrote:
> > On Sat, Nov 02, 2002 at 04:24:52PM +0000, Vasco Alexandre Da Silva Costa 
> > wrote:
> > > On Fri, 1 Nov 2002, Paul Zastoupil wrote:
> > >
> > > > I think the metaserver needs a complete overhaul.
> > > >
>
> > > The server should send updates any time the previous information sent is
> > > invalid. i.e.:
> > >
> > > * After boot.
> > > * Every turn.
> > > * Everytime game status changes.
> > > * Everytime someone changes a server variable.
> > > * Everytime someone changes the comment.
> > > * Everytime a player is created, destroyed, set to computer or human
> > >   control, connects or disconnects .
> > >
> > > Since this may cause too many updates to be sent we could make the server
> > > only send updates at most every 5 seconds or so.
> >
> > This would be nice.
> >
> > >
> > > I do not expect the size of the data sent per update to be larger than
> > > 2-4KB.
>
> May I throw in: don't make it too big, please. 4KB every 5 seconds, upwards
> through a modem is too much IMO.

Only the server sends these updates. Someone with a modem running a server
will have IMHO more major concerns than these.
I don't expect packets to be sent every 5 seconds. I don't believe people
change variables, connect, disconnect and end turns all that often.

If we want to reduce bandwidth we can only send the fields which actually
changed since last time but that requires some extra state to be kept.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





[Prev in Thread] Current Thread [Next in Thread]