Search Postgresql Archives

Re: Game Server Lags

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

 



On 2 October 2012 15:02, Arvind Singh <arvindps@xxxxxxxxxxx> wrote:
> we are all aware of the popular trend of MMO games. where players face each
> other live.
> My questions are focussed on reducing load on Game database or Sql queries
>
> a) How to control the surge of records into the GameProgress table. so that
> players get response quicker. The Server starts to lag at peak hours or when
> 1000 players are online

It sounds like this data is not that valuable, so a small window of
data loss in the event of a crash might be acceptable for a gain in
performance. If that is the case, consider turning off
synchronous_commit. Note that this is something that you can do at the
transaction granularity, so, for example, if there are financial
transactions, they need not make this trade-off.

-- 
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux