Hello,
in a former post, I was investigating the use of berkeleyDB and mod_perl
to cache calls to a web service.
We now have a running prototype. To achieve full performance, I read
that it better to tie the berkeleyDB once and reuse the handle for each
request, i.e. having the tie command outside of the mod_perl handler.
Has someone example code to do that?
I can imagine how to tie on startup, but how to trigger the code for
untie at shutdown? Is untie needed at all with berkeleyDB?
We are using berkeleyDB 4 with the berkeleyDB module from CPAN, mod_perl
2.0 and apache 2.0 on linux.
Thx in advance,
Nils