Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Performance of Hibernate Search
PostPosted: Sat May 10, 2014 12:12 pm 
Newbie

Joined: Sat May 10, 2014 12:09 pm
Posts: 1
I have a dataset of 10 millions in MySQL. Im using Hibernate search. My spatial query is taking around 4 sec for search in 100 km radius. Is it expected or should it be more faster? Im running my server on a m3.xlarge Amazon EC2 instance.


Top
 Profile  
 
 Post subject: Re: Performance of Hibernate Search
PostPosted: Tue May 13, 2014 8:00 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi,
normally I'd expect it to be significantly faster, but it depends on several factors.

For example, what's the density of your points? And what strategy are you using for Spatial indexing?
I can't really tell you what performance I'd expect as that's highly specific to your applidation, your data and even your data (even if I had your same source code, but had to make up different data the behaviour would be different).

Also, keep in mind that the first queries are rather slow, it takes some million queries to properly warmup both the JVM and the operating system disk caches.
We can help you figure out what could be tuned to improve performance but you'll have to run some diagnostics on the systems; for a starter, could you post some logs from "vmstat" running periodically during high load?

Also, make sure you use the latest version as there are always performance improvements being added. You might even want to try latest preview for version 5.

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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.