Hi ,

The user has the ability to filter the process instances and view the
details of those instances one at a time. The details loaded for each
process instance does not depend on the instance count as details of one
process instance is viewed at a time.

Since I did the performance test locally using mysql as the database,  the
average time taken to load the details of a process instance is
approximately 2 seconds.

When filtering the the instances, only 10 instances are loaded per page so
with 200,000+ it takes around approximately 6 seconds to load the instances.

Thanks,
Natasha






On Fri, Jan 22, 2016 at 1:41 PM, Hasitha Aravinda <[email protected]> wrote:

> Hi Natasha,
>
> Did you check average time to load UI with different instance counts
> intervals like, 1, 1k, 10k, 100k,etc. IMO this will give better performance
> measurements.
>
> Thanks
> Hasitha.
>
> On Fri, Jan 22, 2016 at 10:45 AM, Natasha Wijesekara <[email protected]>
> wrote:
>
>> Hi,
>>
>> I did a performance measurement test with 200,000+ process instance
>> records with mysql as the database to each of the scenarios and the UI
>> remained responsive.
>>
>> Thanks,
>> Natasha
>>
>> On Thu, Jan 14, 2016 at 5:14 PM, Natasha Wijesekara <[email protected]>
>> wrote:
>>
>>> I will do a performance test with mysql as the database to each of the
>>> scenarios and will update this thread with the results.
>>>
>>> Thanks,
>>> Natasha
>>>
>>> On Thu, Jan 14, 2016 at 5:07 PM, Nandika Jayawardana <[email protected]>
>>> wrote:
>>>
>>>> Good work Natasha. Lets do a performance measurement each of the
>>>> scenarios by pointing to a db which is having million+ instance records
>>>> since we need the UI to be responsive when the instance db is having
>>>> millions of records,
>>>>
>>>> Regards
>>>> Nandika
>>>>
>>>> On Thu, Jan 14, 2016 at 5:00 PM, Natasha Wijesekara <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I implemented a process monitoring and an advanced filtering view for
>>>>> the bpmn-explorer as a new feature. This is for  both running/active
>>>>> and completed process instances. By giving the process instance id,
>>>>> the user can view the details about that particular process instance.
>>>>>
>>>>> The details displayed in the process monitoring view includes:
>>>>>
>>>>> 1) Audit Log : Details about each activity in the process instance
>>>>>     - State of the activity i.e. whether the activity is completed ,
>>>>> active or not started
>>>>>     - Activity name
>>>>>     - Activity type i.e. whether its a start event, end event or a
>>>>> user task etc.
>>>>>     - Start time of the activity
>>>>>     - End time of the activity
>>>>>
>>>>> 2) Variables : Details about the variables used in the process instance
>>>>>     - Variable name
>>>>>     - Value
>>>>>     - Variable type i.e. whether its a string, integer or a double etc.
>>>>>     - Scope of the variable
>>>>>
>>>>> 3) User Tasks : Details of all user-tasks in the process instance
>>>>>     - Activity name
>>>>>     - Task ID
>>>>>     - Task Definition Key(Unique for each task in a process)
>>>>>     - Start time of the task
>>>>>     - End time of the task
>>>>>     - Time duration to complete the task
>>>>>     - Task assignee
>>>>>     - Activity instance Id
>>>>>
>>>>> 4) Called Process Instances : Details about other  process instances
>>>>> called by the specific instance
>>>>>     - Name of the instance
>>>>>     - Process Definition ID
>>>>>     - Start time of the instance
>>>>>     - End time of the instance
>>>>>
>>>>> 5) The bpmn resource diagram of the process instance.
>>>>>
>>>>> As an improvement I implemented the advanced filter from which the
>>>>> user can filter the process instances using :
>>>>>
>>>>> - Process instance status i.e. active/in-progress or completed
>>>>> - Process Definition ID
>>>>> - Started Before (Instances Started before a particular date)
>>>>> - Started After (Instances Started after a particular date)
>>>>> - Variables used in the process instance i.e. variable name and value
>>>>> as a pair
>>>>>
>>>>> Once the instance is filtered, clicking the result will redirect the
>>>>> user to the process monitoring view which will display the details of the
>>>>> result or the instance clicked.
>>>>>
>>>>> If the user knows the process instance id, the user can directly go to
>>>>> the process monitoring view and view the details of that specific 
>>>>> instance.
>>>>>
>>>>> The screenshots of both the views are attached below.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> *Natasha Wijesekare*
>>>>>
>>>>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>>>>> <http://wso2.com/>*
>>>>> *email  : [email protected] <[email protected]>*
>>>>> *mobile: +94 771358651 <%2B94%20771358651>*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nandika Jayawardana
>>>> WSO2 Inc ; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>
>>>
>>>
>>> --
>>> *Natasha Wijesekare*
>>>
>>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>>> <http://wso2.com/>*
>>> *email  : [email protected] <[email protected]>*
>>> *mobile: +94 771358651 <%2B94%20771358651>*
>>>
>>
>>
>>
>> --
>> *Natasha Wijesekare*
>>
>> *Software Engineering Intern, WSO2  Inc:  http://wso2.com
>> <http://wso2.com/>*
>> *email  : [email protected] <[email protected]>*
>> *mobile: +94 771358651 <%2B94%20771358651>*
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> --
> Hasitha Aravinda,
> Senior Software Engineer,
> WSO2 Inc.
> Email: [email protected]
> Mobile : +94 718 210 200
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Natasha Wijesekare*

*Software Engineering Intern, WSO2  Inc:  http://wso2.com
<http://wso2.com/>*
*email  : [email protected] <[email protected]>*
*mobile: +94 771358651 <%2B94%20771358651>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to