cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <>
Subject Re: Standalone application makes parallel read.
Date Tue, 29 May 2012 12:51:18 GMT
Hi Harikrishnan,

Most databases today support some degree of parallelism.  (You didn't
say which database you were using.)  However, number of CPUs and I/O
can greatly effect how well they perform, along with RAM caches and
network speeds and many other such things.  (The same is true for the
system where you are running Jetty.)

On Tue, May 29, 2012 at 2:23 AM, Harikrishnan R
<> wrote:
> Hi,
>   I am creating a standalone application, which queries(reads) the
> database upon each request. I am using Jetty server for handling incoming
> request.
>   For each request it is creating *DataContext.createDataContext() *to
> perform query .
>   By using jmeter, I put 10 request per second. It is executing the select
> statements one by one, then only it is responding back.
>   The poolmanager is configured  (min,max) as (5,50). I am sure that
> webserver is reading the 10 request simultaneously.
>   Is there any way to make the database queries(read) parallel, so that It
> can respond to the request as fast as possible and withstand the load.
>   I am sure that I am missing some basic things, please guide me.
> -Regards
>  Harikrishnan R

View raw message