Pool server connections for web application

Asked

Viewed 230 times

0

would like to know if it is possible to implement a pool of connections on a server and have it distribute the connections to java desktop applications, if possible would like a direction of what to search to implement this using Java and the Mongodb database.

Setting

I need to make the stations that have my desktop application make use of a database, however because it is an application that may be inserting about 200 thousand lines of information per user the distribution of connections should be cautious to avoid bottlenecks, I thought to opt for an architecture of an embedded and other external bank(to lower the load), but I could not find a reliable embedded bank with Java, and so I opted for only one more with controlled access.

Thank you in advance for any reply.

  • Have you heard of Hikaripool or c3p0? They are database connection pool managers, if I understand your question this can help you. Hikari: https://github.com/brettwooldridge/HikariCP. c3p0: http://www.mchange.com/projects/c3p0/.

  • @luanlucas I have heard, but usually they are used inside the web applications to provide connections to clients who access the application on the server isn’t? my question is how would I have these guys running there just to free me a connection to the stations, thanks for answering if this is not the correct definition please correct me, again, grateful.

  • I honestly don’t know enough to disagree, as far as I’m concerned that’s what you just said. Returning to your question... unfortunately I cannot help :/ good luck.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.