Hi,

> The problem is that a lot of users are connecting to different
> databases with different passwords.

So it even wouldn't help if you keeping the connection open for some
time after disconnect?

Opening and closing a connection does take some time for multiple
reasons. It's possible to improve this, but it's not a very common use
case :-) See: 
http://www.h2database.com/html/advanced.html#file_locking_protocols

> If I handle 40 concurrent users per second, the process time goes up
> to 2500 ms. This sounds like a bad synchronisation lock.

Yes, because opening databases is synchronized (in Engine.java) currently.

Regards,
Thomas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to