in reply to Re^2: mod_perl & BerkeleyDB. Need help.
in thread mod_perl & BerkeleyDB. Need help.

I don't do chat. If you want to ask more questions, ask them here. I'm not sure why you think 25 "connections" to BerkeleyDB is a bad thing. There are no sockets and there is no server -- BerkeleyDB is a library. The only limitation should be running out of filehandles on your operating system.
  • Comment on Re^3: mod_perl & BerkeleyDB. Need help.

Replies are listed 'Best First'.
Re^4: mod_perl & BerkeleyDB. Need help.
by STork2000 (Novice) on Feb 17, 2006 at 01:02 UTC
    I look for chat... because I not very good a English... & in ICQ I fastest find answer to my quesions. So, 25 connections - no bad... I know. But if we a "tie %h ..." in get & set subs - we make connections when use a get_memory & set_memory subs... It's a thousands connection per hour... imho. Right me.
      There's no need to tie in each sub. You can tie once in each process and just keep it open. You need to use BerkeleyDB's locking. Look at the example code I pointed you to.
        Or I don't understand or u. If we a "tie %h" in module (once) - no tied in subs... We have a error. See first message. And we need help.