|Anonymous | Login | Signup for a new account||08-21-2019 19:50 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0004994||[Resin]||minor||always||03-21-12 11:48||07-24-12 15:13|
|Summary||0004994: AsyncQueue can become stuck|
(rep by Yen-Fen Hsu)
We are using Resin 4.0.24 with lots of CDI.
We have a web app that invokes an asynchronous method (annotated with @Asynchronous) for every incoming request. The method performs multiple DB lookups and insert or update multiple tables. We are seeing under heavy load the asynch method gets stuck sometimes. Breaking up the operations into 2 asynch methods does not help either.
Could you explain the underlying implementation of the AsychQueue and @Asychronous?
How many AsynchQueue is there? Does it grow/shrink based on the load?
Is there a queue for each AsynchQueue? What happen when there is a spike invoking the same aynch method?
Is @Asychronous suitable for resource-light/fast operations only? Should applications build their own queue to back up the aynch method?
|There are no notes attached to this issue.|
|03-21-12 11:48||ferg||New Issue|
|07-24-12 15:13||ferg||Assigned To||=> ferg|
|07-24-12 15:13||ferg||Status||new => closed|
|07-24-12 15:13||ferg||Resolution||open => fixed|
|07-24-12 15:13||ferg||Fixed in Version||=> 4.0.30|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed.|
24 unique queries executed.