Hi ,

Currently the statistics generated for the bpmn-explorer is generated using
jaggery. When the work load is high, the  bpmn-explorer takes a longer time
to generate these statistics which causes performance issues.

As a solution I am working a new stats REST api  to generate these
statistics at the back-end. This reduces the work load  and thereby solves
the performance issues caused during peak times (when the workload is at
its maximum).

After taking in data about  the bpmn processes, tasks  and users involved,
the api  processes these data into meaningful statistics.These statistics
generated is used in the bpmn-explorer reporting dashboard to generate the
statistical graphs.

The statistics generated includes:

1) Average time duration for all completed processes.
The user has the option to either view all completed processes or the top
10 processes which finished within a short time duration or the top 10
processes which took a long time duration to finish.

2) Average time duration of tasks of a  completed process.
The user can select the completed process from the combo box and view the
average time duration.

3) User and the no. of tasks he/she has completed upto now.

4) Average time taken by each user to complete the tasks assigned to
him/her.

5) Task demand variation over time i.e. no. of tasks started and no. of
tasks completed in each month. This is useful for resource allocation
purposes.

6) Process demand variation over time i.e. no. of processes started and no.
of processes completed in each month regardless of a specific user. This is
useful for resource allocation purposes.

7) User Performance i.e. Task demand variation of users separately over
time i.e. no. of tasks started and no. of tasks completed in each month.
This is useful for resource allocation purposes.

I have attached the class diagram of the REST api. The new stats REST api
will be integrated with the existing bpmn REST api.
Appreciate any suggestions and comments.

Thanks,
-- 
*Natasha Wijesekare*

*Software Engineering Intern, WSO2  Inc:  http://wso2.com
<http://wso2.com/>*
*email  : nata...@wso2.com <nata...@wso2.com>*
*mobile: +94 771358651 <%2B94%20771358651>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to