[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - AIO Buffer & Executors Optimization Update
clebert.suconic@jboss.com
do-not-reply at jboss.com
Mon May 4 23:40:14 EDT 2009
I have the changes done at my workspace already.
I could get a successful run if using r6654 (before the pool refactoring), and a few failures if using 6653 (same ones as I have seen on hudson).
After these changes, buffer creation is going to be pretty fast and buffer reuse will be fast.
I will also be using executors for thread pools. I will be using a single-thread executor for writing (as it is done at the moment, but the executor will be shared among all the files), and another one to reuse threads on pollers.
I'm not using the thread-pool from MessagingServer because:
I - The poller thread will be in use as long as the file is opened
II - It would be really dangerous sharing the executor with MessagingServer. I really need a thread available for polling data on AIO.
I will commit it tomorrow morning. (I just didn't want to commit now with the testsuite broken as it is now).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4228478#4228478
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4228478
More information about the jboss-dev-forums
mailing list