[OpenSIPS-Devel] Location table structure - account_contact_idx

Liviu Chircu liviu at opensips.org
Wed Oct 2 08:30:58 EDT 2019

Ok, it seems I was dead wrong with that.  On shutdown, "write-back" will 
do a final
dump to DB (just like dialog), thus avoiding the sad scenario I was 

That being said, to me it now definitely looks like "write-back" is best 
of both worlds:
all READ/WRITE operations are done in RAM, ensuring fast signaling, while
maintenance restarts will also be pleasant, with all registrations being 
carried over.

You MAY, however, end up with some missing registrations for 1h on a 
kernel panic or
if you pull the power cable.  However, I think these cases are more than 
acceptable :)

Liviu Chircu
OpenSIPS Developer

On 02.10.2019 15:20, Liviu Chircu wrote:
> Using "write-back" can be a
> double-edged sword because you get the WRITE performance, but unless 
> you have an
> active-backup setup which allows you to failover and only then do your 
> maintenance
> restarts, some portion of your phones may become unavailable for 1h 
> after you restart
> your OpenSIPS because the "write-back" registration did not get a 
> chance to be
> persisted to DB.

More information about the Devel mailing list