"clebert.suconic(a)jboss.com" wrote : I can't just store destinations on a
TXT. If the user is creating and deleting destinations very frequently (say temporary
destinations), when routing we will be creating too many entires on the TXT.
|
There will only ever be one address in the tx file -there is one text file per address.
anonymous wrote :
| Besides the TXT could be easily broken by crashes.
|
The paging files could also be broken by crashes, it's no different.
anonymous wrote :
| What took some time yesterday was creating the directory lazily... not adding a record
on the Journal, and replacing the journal by a TXT on that part would be the same
complexity. On the process I had screwed up one thing and it took me some time to figure
out.
|
| What I have done was only create the entry when it was in page mode, and remove the
destinations from the storage as soon as it left the page-mode.
|
Not a good idea - there's no need to do this especially if the address is flipping
between paging and not, you will get a lot of thrashing.
The text file will only ever be created once - when a destination starts paging.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199762#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...