Forum Discussion
FICO
15 years agoCommunity Manager
Performance Tracking dynamically
Performance Tracking dynamically
Hi,
I have done .net web service deployment for one of my ruleProjects. And I would like to know how much time the rule service is taking for each request. I know we can track it when we are testing it through IDE. I was wondering that how we can acheive this when any external application is consuming our ruleservice.
Your help is greatley appereciated!!!!
Thanks,
--Vijay
5 Replies
- FICOCommunity Manager
Hello Vijay,
You can track the processing time of the requests to rule service by calculating the (ReqOutTime - ReqInTime). Place the logic in entry point function. You may print the same in loggers/console. Use the following steps:
1. Capture the system time before invoking the ruleflow/fucntion - "ReqInTime"
2. Capture the system time after invoking the ruleflow/fucntion, but before return statement - "ReqOutTime"
Then subtract ReqInTime in ReqOutTime, and print it to logs.
Hope this helps.
Thanks & Regards,
>> SCH
- FICOCommunity Manager
Hi,
Check out this thread, similar question: Performance-Tracking-Data-using-java-API-s [discuss.fico.com] (http://discuss.fico.com/t5/FICO-Blaze-Advisor-Discussion/Performance-Tracking-Data-using-java-API-s/td-p/2950).
Regards,
Jostein
- FICOCommunity Manager
Hi Sandesh,
Thanks for your reply....I was wondering whether we will get the performance report as we are getting through IDE.
Thanks
Vijay
- FICOCommunity Manager
Hello Vijay,
Method that I mentioned was just a quick-fix your reference. If you need to generate the performance report then have a look @ link provided by Jostein. That is the conventional way.
Regards,
>> Sandesh Hiremath
- FICOCommunity Manager
Please also check the example in c:\Blaze\Advisor69NET\examples\management\dotNET\programmaticClient\performanceNotification to see how you could implement remote performance monitor via WMI.