Welcome Message

Hi, welcome to my website. This is a place where you can get all the questions, puzzles, algorithms asked in interviews and their solutions. Feel free to contact me if you have any queries / suggestions and please leave your valuable comments.. Thanks for visiting -Pragya.

October 24, 2009

Fine Grained Vs Coarse Grained

Coarse-grained: A few ojects hold a lot of related data. Example: A single "Account" object holds the customer name, address, account balance, opening date, last change date, etc.

Fine-grained: More objects each holding less data. Example: An Account object holds balance, a Customer object holds name and address, a AccountOpenings object holds opening date, etc. There are relationships defined between these objects.

Reference : http://www.theserverside.com/discussions/thread.tss?thread_id=5164

No comments: