DO NOT REPLY [Bug 34319] - StoreBase.processExpires() is very inefficient

2005-04-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34319


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #14627|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2005-04-07 22:49 ---
Created an attachment (id=14654)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14654&action=view)
JDBCStore.processExpires()

Here's a better idea.   Instead of loading in any sessions at all, why not
override processExpires() to simply remove the old sessions.   This
accomplishes exactly the same thing without all of the loading and deleting of
sessions.   This is a huge performance (and memory usage) improvment.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 34319] - StoreBase.processExpires() is very inefficient

2005-04-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34319


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #14627|StoreBase.oldKeys() example |JDBCStore example
description||




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 34319] - StoreBase.processExpires() is very inefficient

2005-04-05 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34319





--- Additional Comments From [EMAIL PROTECTED]  2005-04-06 04:14 ---
Created an attachment (id=14627)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14627&action=view)
StoreBase.oldKeys() example

This is just one way of doing it.   In any case I'd be happy with any
alternative that achieves the same goal.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]