[bind10-dev] Shared memory data source ideas

Michal 'vorner' Vaner michal.vaner at nic.cz
Fri Mar 16 09:49:20 UTC 2012


Hello

On Fri, Mar 16, 2012 at 09:33:30AM +0100, Shane Kerr wrote:
> I tried to write up the ideas around a data source built around shared
> memory that we came up with last summer at the Amsterdam face to face
> meeting. I think I got the main points, but it has been quite a while
> and other people probably have different interpretations.
> 
> [...]
> 
> Please have a read and comment.

Few corrections/notes.

It is not true we do have identical images now. The images might be different on
some level (the data can be stored differently in memory), but they do represent
the same data and the tree probably has the same „layout“.

Another disadvantage about the forking is while it might be relatively cheap, it
is not completely. Creating a process costs something (copying the whole MMU
table, for example) and having <number of cores> * <several hundred> new
processes per second might be too much. It might also confuse administrators if
the auths are swarming like this.

Another thing to build is designing the internal layout. We probably don't want
to store the Name objects and RRset objects like now, but something like the
wire format and something based on the #404 ticket. I know this is technical
details and design, but we should note we need to decide the representation
before we start doing the shared memory ‒ because the current representation
would be hell to fit into it, while the new one might be designed to be simpler
in that.

With regards

-- 
When a fly lands on the ceiling, does it do a half roll or a half loop?

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20120316/2c8d0b8d/attachment-0001.bin>


More information about the bind10-dev mailing list