|
Dear
Keats,
Thank
you so much for the input. I thought about this problem for a few days
more and I figured out that I can get everything done with a single
data-structure, a Hashtable with a real-time selection algorithm. I'm
writing the code now and will test the performance, and try to post a link here
as soon as it is done (it's labor of love, as you can tell, so it may take a
while :-)
One
question though:
>
The trickiest part of caching in Java is dealing with
thread-safety issues with the Java Memory Model.
If I
have a real-time synchronized public access methods and nothing running as
a background thread, do I need to worry about any kind of locking issues for my
cache, or should Java mostly take care of it? I'm going to have a hell of
a time testing this with multiple threads... does anyone have a simple, good
thread testing class I can use that I can test cache concurrency on?
Look
for my code coming soon, I hope some else can use it also. Thank you again
everyone for the input. I really appreciate being a part of a knowledgeable
support group like this, it makes the projects a lot more
fun!
Happy
Friday and a Good Weekend to all,
Greg
--- You are currently subscribed to jdjlist as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] http://www.sys-con.com/fusetalk To unsubscribe from all mailing lists, click: http://sys-con.com/[EMAIL PROTECTED] |
Title: RE: [jdjlist] Re: LFUCache problem
- [jdjlist] Re: LFUCache problem Spencer W. Thomas
- [jdjlist] Re: LFUCache problem Paul Franz
- [jdjlist] Re: LFUCache problem Keats
- [jdjlist] Re: LFUCache problem Greg Nudelman
- [jdjlist] Re: LFUCache problem Keats
- [jdjlist] Re: LFUCache problem Greg Nudelman
- [jdjlist] Re: LFUCache problem Keats
- [jdjlist] Re: LFUCache problem James Stauffer
- [jdjlist] Re: LFUCache problem James Stauffer
- [jdjlist] Re: LFUCache problem James Stauffer
