BIND 10 #404: serialize RDATA for in memory data source
BIND 10 Development
do-not-reply at isc.org
Wed Nov 3 14:50:09 UTC 2010
#404: serialize RDATA for in memory data source
------------------------------+---------------------------------------------
Reporter: jinmei | Owner: UnAssigned
Type: task | Status: reviewing
Priority: major | Milestone: y2 12 month milestone
Component: data source | Resolution:
Keywords: | Sensitive: 0
Estimatedhours: 0.0 | Hours: 0
Billable: 1 | Totalhours: 0
Internal: 0 |
------------------------------+---------------------------------------------
Changes (by jinmei):
* owner: jinmei => UnAssigned
* status: new => reviewing
Comment:
branches/trac404 is ready for review.
For this task I've extended the MessageRenderer class so that we can have
different versions of it from an abstract base class. For this particular
purpose we could do it in a different way, but I'm pretty sure we'll
eventually need another derived class for high performance authoritative
server implementation. So this should be considered an initial step
toward that direction. At this moment, not all existing users of this
class have been modified to minimize changes. This will be part of a next
step task.
The number of affected files is quite large as such, but most of them are
trivial replacement due to the introduction of the abstract base class.
The eseential part of this branch is rdatafields.h and rdatafields.cc in
src/lib/dns and their tests.
This is proposed changelog entry:
{{{
115. [func]* jinmei
src/lib/dns: Introduced a new RdataFields class to represent RDATA
in more efficient way. This is intended to be used for
performance improvement of b10-auth, and is not expected to be
used by normal applications. At this moment this class isn't used
anywhere in the package yet. This change also introduced an
extension to the MessageRenderer class: it is now a derived base
class of an abstract base class so that we can customize the
rendering implementation in a polymorphic way. It requires some
trivial interface changes to the existing API.
(Trac #404, svn rTBD)
}}}
--
Ticket URL: <http://bind10.isc.org/ticket/404#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list