-->
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: use of a benchmark
PostPosted: Wed Jan 04, 2012 4:50 am 
Newbie

Joined: Mon Sep 19, 2011 5:05 am
Posts: 14
How can I use a benchmark with Hibernate Search .J would like well test my solution.
any idea?
thx


Top
 Profile  
 
 Post subject: Re: use of a benchmark
PostPosted: Wed Jan 04, 2012 6:57 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
there's no general solution since each app is different, but some suggestions:
1 - make sure to test with indexes having the same size as in "production", since index sizes affect performance.
2 - consequence of 1) is you'll need similar hardware and same memory configuration, since memory affects search performance significantly.
3 - avoid testing "write only" or "search only" scenarios, but mix the two activities in a similar ratio as you'll expect by real users.
4 - avoid repeating the same query over and over: both Lucene and Hibernate will cache several things in various layers, and real users will make different queries.
5 - apply good rules of any other performance test (like give it a warmup period before measuring, tune GC first, read a book, etc..)
6 - profile it and let us know what is slowing you down the most, we love to improve :)

_________________
Sanne
http://in.relation.to/


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.