-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Search - Performance issues under high load
PostPosted: Thu Sep 06, 2012 4:23 am 
Regular
Regular

Joined: Tue May 17, 2011 1:45 am
Posts: 52
Hi,

I am trying to do a JMeter test with my custom application that runs as a search service and returns results using Hibernate Search.

With 200 threads with 10 secs ramp up time the result is always within 200-300 ms.

However on higher load of 300+ the search seems to go bad. I tried to check where exactly is the bottleneck and it seems with this line of code


List searchResults= hibernateQuery.list();

The service runs in the context of JBoss App server. I have http thread count set to 2000 in JBoss and DB pool size to 400.


Top
 Profile  
 
 Post subject: Re: Hibernate Search - Performance issues under high load
PostPosted: Thu Sep 06, 2012 8:32 am 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

Quote:
List searchResults= hibernateQuery.list();


on this level the problem can still lie on multiple levels. I think you need to dig a little deeper and give also some more background. At this level the problem could be Hibernate ORM (data model, session management, lazy loading, cahce configuration), Hibernate Search (Lucene queries) or the database.

Are you using a profiler? I recommend attaching a profiler to determine where exactly the bottleneck lies. Also have a look at the various log files (for Hibernarte, but also your DB logs). Also have a log at your db status and whether there are is contention there.

--Hardy


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.