[
https://issues.apache.org/jira/browse/TS-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom updated TS-128:
-----------------------------
Attachment: SimpleDBM.h
SimpleDBM.cc
TS-128.patch
Attached is a diff, as well as the entire new SimpleDBM.{cc,h} files (since
they are so massively changed. This makes sqlite3 the preferred DB backend, but
it can be controlled via ./configure. For example, to get the previous
behavior, run configure with
../configure --without-sqlite --with-libdb
(this would be useful for someone like Y!, who wants to preserve the old
behavior). Performance wise sqlite doesn't seem quite as fast as libdb, but for
the current usage of SimpleDBM, is completely a non-issue. The sqlite3 backend
can do about 65k get()'s per second on my box.
Finally, I understand that this is not a particularly OO "approach" to this,
but deal for now :).
> Eliminate Berkeley DB dependency
> --------------------------------
>
> Key: TS-128
> URL: https://issues.apache.org/jira/browse/TS-128
> Project: Traffic Server
> Issue Type: Improvement
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Priority: Blocker
> Fix For: 2.0.0a
>
> Attachments: SimpleDBM.cc, SimpleDBM.h, TS-128.patch
>
>
> SimpleDB has a dependency on BDB, we should rewrite this using DBM / NDBM
> (whatever is available in libc).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.