connection question

Saturday, 21 May 2016 · 2 messages · last reply 22 May 2016
WG
Wang, Genneva21 May 2016 01:59 #
Hi basex gurus, One other question. We internally have connection pools of 20 connecting to basex. While trying to do performance stress test using Jmeter, we found out that if we submit more than the configured connection pool, say submit 30 connections, we noticed that the connection will not be recovered and the connection pool size will be in a un-recovereable stage (to pool size 0 eventually). I was just wondering does basex does any queueing on the receiving the incoming transactions, or is this something that the application needs to handle? Any tips would be greatly appreciated! Thank you very much. Regards, —Genneva
CG
Christian Grün22 May 2016 13:10 #
Hi Genneva, Usually, we work without connection pools, because client connections in BaseX are very light-weight. To find out what problems you’ve been encountering, we’ll probably need some more details. Could you provide us with a litte, self-contained example (or SSCCE, as we like to call it)? Thanks, Christian
Quoted text · Genneva · 16 lines
On Sat, May 21, 2016 at 1:59 AM, Wang, Genneva <genneva.wang at sap.com> wrote: > Hi basex gurus, > > One other question. We internally have connection pools of 20 connecting to > basex. While trying to do performance stress test using Jmeter, we found out > that if we submit more than the configured connection pool, say submit 30 > connections, we noticed that the connection will not be recovered and the > connection pool size will be in a un-recovereable stage (to pool size 0 > eventually). > > I was just wondering does basex does any queueing on the receiving the > incoming transactions, or is this something that the application needs to > handle? Any tips would be greatly appreciated! Thank you very much. > > Regards, > —Genneva

⚡Generated with XQuery