Tuesday, March 25, 2008

expiring messages

David had at some point wanted an optional "expires-after" header. What it would do is cause a message to be marked as "okay to delete" after a certain period of time. I guess most stores could ignore this header, but Complex in particular has a bugbear with this situation: if a message isn't persistent and someone has specified this header, then we would like to keep it until it expires (which means pushing it to the backstore, then deleting it after a certain time). This can be done by saying "does it have an expires-after thing? If so, persist it (at bump), and remember that you did, so you can clean it up later."

*vomits thoughts into blog*

No comments: