BIND 10 #2832: extend data source config to specify shmem segment params
BIND 10 Development
do-not-reply at isc.org
Fri Mar 1 18:12:27 UTC 2013
#2832: extend data source config to specify shmem segment params
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: task | Status: new
Priority: medium | Milestone: Next-
Component: Unclassified | Sprint-Proposed
Keywords: | Resolution:
Sensitive: 0 | CVSS Scoring:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | shared memory data source
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Description changed by jinmei:
Old description:
> subtask of #2830. no dependency.
>
> We'll extend the data source configuration so we can specify the type
> of cache (in memory) memory segment type and its parameter, if any.
> It would look like this:
>
> {{{
> "IN": [{
> "type": "sqlite3",
> "params": {"database_file":
> "/Users/jinmei/src/isc/git/bind10/zone.sqlite3"},
> "cache-zones": ["jinmei.org", "kame.net"],
> "cache-enable": true,
> "cache-segment-type": "mmap",
> "cache-segment-params": {
> "mapped-file-base": "/usr/local/var/bind10/zone.mapped"
> }
> }]
> }}}
>
> cache-segment-type has the default of "local".
> the default of cache-segment-params is empty.
>
> For now we only extend the spec. It will be simply ignored if
> specified in the actual config.
>
> Note: mapped-file-base would have some reasonable default so the user
> can omit it.
New description:
subtask of #2830. no dependency.
We'll extend the data source configuration so we can specify the type
of cache (in memory) memory segment type and its parameter, if any.
It would look like this:
{{{
"IN": [{
"type": "sqlite3",
"params": {"database_file":
"/Users/jinmei/src/isc/git/bind10/zone.sqlite3"},
"cache-zones": ["jinmei.org", "kame.net"],
"cache-enable": true,
"cache-segment-type": "mapped",
"cache-segment-params": {
"mapped-file-base": "/usr/local/var/bind10/zone.mapped"
}
}]
}}}
cache-segment-type has the default of "local".
the default of cache-segment-params is empty.
For now we only extend the spec. It will be simply ignored if
specified in the actual config.
Note: mapped-file-base would have some reasonable default so the user
can omit it.
--
--
Ticket URL: <http://bind10.isc.org/ticket/2832#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list