[bind10-dev] Shared memory data source ideas
Stephen Morris
stephen at isc.org
Mon Mar 19 19:22:23 UTC 2012
On 19/03/2012 18:35, JINMEI Tatuya / 神明達哉 wrote:
> At Fri, 16 Mar 2012 19:20:45 +0100, Michal 'vorner' Vaner
> <michal.vaner at nic.cz> wrote:
>
>>> We could also use an on-disk memory image (which would be
>>> mmaped). It will make the initial load time effectively zero.
>>> I was not sure if such an option is included in the above
>>> document.
>>
>> I don't mind doing so, but I think it's the next step. If we
>> have a data image with relative only pointers, it is easy to dump
>> to disk and restore later (I'm not sure if it is better to mmap
>> or just read into memory, the first might be very slow on startup
>> as it seeks a lot, while the second can read the data with speed
>> of 100MB/s or so and once done, we're at full speed). I don't
>> think we need to worry about it right now.
We definitely want relative pointers as it would allow different
versions of the software to work together (assuming the new version
uses the same in-memory structure as the old).
I'm thinking about the possibility of upgrading BIND 10 without
stopping the server - work through b10-auth processes one at a time,
stop the process and start a new process using the new version of
b10-auth.
Yes, there will be heaps of problems. But what a selling point - the
ability to upgrade BIND 10 without interrupting your service.
Stephen
More information about the bind10-dev
mailing list