-->
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: ID generator performance advice ?
PostPosted: Mon May 19, 2008 4:56 am 
Regular
Regular

Joined: Thu Aug 28, 2003 2:42 pm
Posts: 77
Location: The Netherlands
Hellu all,

Which ID generator performs "faster"... ?

I mean: you have the hibernate sequence ID generators that get the ID from the db, but you also have the UUID generators..

I picked up some signals on the serviceSide website, that generating UUID in your application tend to be a performance bottleneck. Can't really see why...

So please some feedback on this issue?

I would think that UUID generator is faster, as it simple to generate a UUID and it safes db interaction to retrieve a sequence...

Cheers,
Ed


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 21, 2008 12:35 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Which one is faster to develop, deploy and test? Definitely not generating your own UUID.

When it comes to improving the efficiency of your applications, looking at the unique id generation component is probably not an effective use of your time.

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.