Mantis Bugtracker

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
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.27
Summary 0004994: AsyncQueue can become stuck
Description (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?
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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.
Powered by Mantis Bugtracker