[Design of Messaging on JBoss (Messaging/JBoss)] - AIO documentation
by timfox
| The size of the timed buffer on AIO. The default value is 128MiB.
|
Really? ;)
Also, there's not mention on tuning the timeout or buffer size, and there's no explanation on what any of these things do :(
Also
| If this is set to true, the internal buffers are flushed right away when a transaction arrives.
| JBoss Messaging was made to scale up to hundreds of producers. We try to use most of the hardware resources by scheduling multiple writes and scheduling multiple writes in a single OS call.
| However in some use cases it may be better to not wait any data and just flush and write to the OS right away. For example if you have a single producer writing small transactions. On this case it would be better to aways flush-on-sync.
|
Is not true. This is nothing to do with transactions, flush on sync is also used in non transactional situations, depending on the sync settings.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235579#4235579
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235579
16 years, 6 months
[Design of EJB 3.0] - EJBTHREE-1844: Retry on rollback
by wolfc
I've added a function to retry an operation whenever an EJBTransactionRolledbackException occurs. Usually this is because of a resource commit failure, which could be caused by a temporary problem (dead lock / outage).
To configure the retry currently the annotation org.jboss.ejb3.tx.api.TransactionRetry needs to be put either on the bean or on a method.
What I don't like is the fact that the annotation now resides within ejb3-transactions, so I've marked it experimental. Either it should go to ejb3-ext-api, but this would change our api (for the better) or into ejb3-tx-api. Alternatively I could create an ejb3-tx-retry component which would could slot into a runtime.
Also we need to be able to extend jboss-metadata to allow plugins, so that the retry function can be enabled via descriptors.
How do we want to proceed here?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235567#4235567
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235567
16 years, 6 months