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

clebert.suconic@jboss.com do-not-reply at jboss.com
Fri Aug 29 10:17:44 EDT 2008


anonymous wrote : What happens in that case?

That could happen if you have a slow disk.

But if you have a slow disk, you would have waits on writing and waiting transactions to complete anyways. I don't think it is an issue based on the measures I've taken on the waitForAnOpenFile. I can take some meausres if you like.

There is on  possible change: Start the native thread on the nextOpenFile only when the file was returned. We keep it opened but without a thread. That would save us one thread.

That means. AIO files would have three states. Opened, Active(poller thread running) and Closed.

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

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



More information about the jboss-dev-forums mailing list