This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cache and pool

 
eswar kumar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the difference betweeen caching and instance pooling ?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Caching = Storing data locally (in memory) to prevent recurring database queries when the data changes infrequently in the database.
Instance pooling = Re-using object instances to prevent the overhead of creating new objects for each incoming request.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic