[bind10-dev] proposed design of scalable in-memory zone loading/updating
Michal 'vorner' Vaner
michal.vaner at nic.cz
Tue Jun 26 15:31:30 UTC 2012
Hello
On Tue, Jun 26, 2012 at 03:07:12PM +0200, Shane Kerr wrote:
> Like Michal, I also considered the idea of using threads rather than an
> event-driven loading design. I think the actual work and state involved
> with loading is straightforward enough that it should not be too
> complicated. I don't think we want co-routines though, but rather the
> non-co-routine equivalent simply maintaining load state. It lets us
> avoid messy concurrency issues, locking, and so on.
I really didn't mean the real coroutines (something built on top of ucontext.h,
for example), just some kind of objects holding a state.
However, I really hope you don't want to use the ext/coroutine/coroutine.h
thing? Because that one is so mind-bendingly broken it confuses both people used
to real coroutines and to event driven model and continuation objects, because
it is neither of those but pretends to be all of them. The code using it starts
making some approximation of sense only after one reads the coroutine.h header
file very carefully. Actually, I was shocked when I looked and found out we did
not yet get rid of it.
With regards
--
If you are over 80 years old and accompanied by your parents, we will
cash your check.
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/20120626/fbed34ab/attachment.bin>
More information about the bind10-dev
mailing list