Exforsys

Online Training

Where to store the cache.

This is a discussion on Where to store the cache. within the Software Patterns forums, part of the Testing category; Hello, In Patterns of Enterprise Application Architecture, Martin Fowler suggests that the cache (Identity Map) should be put in a ...


Go Back   Exforsys > Testing > Software Patterns

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-13-2003, 07:21 PM
Vincent
Guest
 
Posts: n/a
Where to store the cache.

Hello,


In Patterns of Enterprise Application Architecture, Martin Fowler
suggests that the cache (Identity Map) should be put in a
session-specific place to avoid dealing with concurrent modifications
(unless teh data is read only).
If you are in a servlet environemnt, I could place the cache in the
HttpSession but then my data layer (I'm using a Data Mapper) would
need to know about the servlet layer; this would also affect
scalability as teh whole cache would be serialized each time teh
session is serialized.. And what if I switch to am EJB environment?
Fowler does not address this issue in the book.

What's your thinking?

Thanks,

-Vincent.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:52 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.