|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 05 > 18 > Telegram_2020-05-18T08 |
2020-05-18T08:30:13
That's part of DB server design. They are prepared to do that. Modern databases do work concurrently handling hundreds if not thousands of simultaneous transactions
2020-05-18T08:31:38
you are worrying with something that you shouldn't worry about. Use one connection per session and you will be fine. No problem with multiple sessions. Each session is guaranteed to be used by only one thread at any time. No other thread from any other session can access that same DB connection.
2020-05-18T08:33:15
If you expect to have thousands of simultaneous users, then use a connection pool. If not, one connection per session is easier and will work well