Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Why not just share the connection between the request-threads? Commented Nov 27, 2017 at 11:10
  • Im afraid when the list grows as there is no restriction of number of concurrent request that I am assuming! Commented Nov 27, 2017 at 11:14
  • Creating connection for each request and doing the DB operation will waste time. I/O operations on each thread may cause many context-switches that will waste time too All intensive database applications, use pools for that. Thus this is not a problem. Commented Nov 27, 2017 at 15:51