[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Thread usage in AIO layer

timfox do-not-reply at jboss.com
Fri Aug 29 10:43:11 EDT 2008


"clebert.suconic at jboss.com" wrote : If the file.close takes a lot of time to finish (more than what it would take to write a whole new file), the server will wait until a new file is opened.
  | 

To clarify:

You're saying the move to next file would currently block until the old file could be closed?

anonymous wrote : 
  | But from what I have seen on my tests TimeCompletion < TimeWrite, i.e. by the time a new file is required you will already have a new file opened.
  | what means this condition shouldn't happen under regular circumstances. 
  | 
  | That's why I think this is not an issue.

Yes it's unlikely, but it's possible and therefore is an issue.

Anything that might happen, however unlikely we must handle, rather than just barf.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4173355#4173355

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4173355



More information about the jboss-dev-forums mailing list