• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

hibernate perfomance

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
to improve hibernate performance we will use caching technique right
is there another techniques are there to reduce database traffic
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

sreefor vasufor wrote:hi
to improve hibernate performance we will use caching technique right
is there another techniques are there to reduce database traffic



Lots.

1) Making sure you have the correct fetching strategy for each individual use case so you get exactly the data you need, no more no less.
2) Fetching stratgeies correct so you make the least amount of database calls needed.
3) Making sure you put the right kind of data into the second level cache, so the cache itself doesn't slow down performance because it has to update and replicate itself all the time, taking up CPU cycles.

plus many more. Which makes Hibernate a steep learning curve, but one you need to do in order to make it as performant as possible.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic