Re: [knot-dns-users] Sharing LMDB databases between knot instances

2017-07-24 Thread Anand Buddhdev
On 24/07/2017 10:43, Daniel Salzman wrote: Hi Daniel, > Yes, LMDB itself is designed to be shareable between different threads or > processes, > but it has some performance penalty (serialized write operation). Knot DNS > doesn't > expect there can be other unknown zones in the timer database.

Re: [knot-dns-users] Sharing LMDB databases between knot instances

2017-07-24 Thread Daniel Salzman
Hello Anand, Yes, LMDB itself is designed to be shareable between different threads or processes, but it has some performance penalty (serialized write operation). Knot DNS doesn't expect there can be other unknown zones in the timer database. Such records are purged during server reload. But I

[knot-dns-users] Sharing LMDB databases between knot instances

2017-07-23 Thread Anand Buddhdev
Hello Knot developers, Suppose I am running two Knot DNS instances. They're listening on different interfaces, and slaving different sets of zones. If the "storage" variable is the same for these two, then the two instances of knotd will both try to write into storage/journal and storage/timers.