sreefor vasufor wrote:hi
to improve hibernate performance we will use caching technique right
is there another techniques are there to reduce database traffic
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.