On Sunday 23 January 2011, Thomas Baumann wrote:
I tested the pdb module and the pdb_server. It is a
fast solution even
with a huge amount of numbers.
But how I can update the pdb_server in a fast and effective way ? I tried
it in the following way:
[...]
The time of 30 seconds is good but not fast enought.
Some of my numbers are updated very often, to export them and create a new
mmappable file will take only 3 seconds.
I had the idea to split my numbers in a more or less static area and a
dynamic area.
What I want to do later is to have the pdb_server not static configured, I
want to define the server within the request:
[...]
Does it make sence, or has somebody a better idea how changes activated
within 10s or less ?
Hi Thomas,
afaik the module has some build in load balancing capabilities. So if you
specify two servers, it will query both, and just use the first reply it
receives. So what about just using two daemons, and updating them one after
the other? This should give you zero downtime.
Cheers,
Henning