gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] How to compile gnugo as a shared library?


From: Terry McIntyre
Subject: Re: [gnugo-devel] How to compile gnugo as a shared library?
Date: Thu, 4 Dec 2008 14:54:24 -0800

On Thu, Dec 4, 2008 at 1:37 PM, Sorin Gherman <address@hidden> wrote:
> I see, that makes a lot of sense, thanks again! As the game progresses, the
> load time for each new move will increase, I assume.
> So I agree now, keeping one process per game would benefit the CPU usage.
> Problem is that currently I don't have the notion of a "game" on the server
> side, but only on the client side.
> Also, there is no clear way to know that a game is over, and kill the
> associated gnugo process, without introducing some time limits for the user:
> have to close their game after N minutes of inactivity.
> Currently, without time limits, a user can, say take a lunch break and
> resume their game afterwards.

Perhaps you can implement some sort of caching strategy; if the game
is still active ( a move made within the last 2 minutes ), keep the
process alive; otherwise, save state to disk until the user returns.

This gets fairly complex. How many users do you support at one time?
How many users in toto?




reply via email to

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