AnsweredAssumed Answered

Response time of REST API for Workflow Tasks fetched

Question asked by rahulsovani on Jun 16, 2014
Latest reply on Jun 19, 2014 by rahulsovani

We have setup Alfresco Community 4.2.b, installed on a VM, with Xeon 2.13GHz, 8 GB of RAM and Windows 2008 Server (64 Bit); the database (Postgresql) is setup on a different VM of same configuration.

There is one tenant created and a custom workflow deployed in it under the Data Dictionary/Workflow in tenant space; we initiated around 700+ workflows (of custom type).

When loading the tasks using the REST APIs (/alfresco/s/api/task-instances), we observed the results (around 700 tasks)
* take around 40 to 75 seconds without any parameters.
* with skip (=0) and maxItems (=10) there is no major difference in response times, ranges from 40 - 75 seconds.

Would request suggestions and inputs on the possible causes and solutions for the same, is there a possibility that the filters are applied after pulling all the task objects?