[SR-Users] pdb module best practice

Henning Westerholt henning.westerholt at 1und1.de
Tue Jan 25 11:14:30 CET 2011


On Monday 24 January 2011, Thomas Baumann wrote:
> the downtime is not a problem, I already have 2 deamons running.
> I want to reduce the time , how changes become active.
> 
> 1. update xxx entry
> 2. export table to *.csv (5s)
> 3. generate *.mmap file (25 seconds)
> 
> So changes will take at lease 30 seconds to become active.  Only 20% of my
> numbers are updated very often, I want to export them and the generation
> of the *.mmap file takes only 5 seconds.
> 
> But in this case I need to specify the daemons per request and not in the
> general parameters. Because later on it might be necessary to ask the
> daemons hosting the rest of my numbers.  Or maybe 30 seconds are ok ?

Hi Thomas,

i understand. You could of course change/ extend the interface of the pdb, but 
at the moment this functionality is not available. During module startup the 
sockets and server data structures are initialized, so the structure needs 
probably a bit changed.

But let me ask, what kind of changes are done to your routing? Is the routing 
data then completely invalid, or just a more expensive route is taken for this 
particular target? In the latter case a update period of 30 seconds sounds not 
like a big deal to me, after all you probably have also some manual steps 
involved before you do an update.

Cheers,

Henning



More information about the sr-users mailing list