Forum Discussion

FICO's avatar
FICO
Community Manager
7 years ago

Speed of calling a FICO rule service deployed via webservice is a bit slow

Dear Support,

When I use FICO rule server to process rules I find it a bit slow compared to calling a normal webservice. You say it is 3 times faster, so am I doing it wrong?

Thanks

2 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi Sunjit,

    It is typical that the first invocation of Blaze Advisor (be it as a Web Service or any other deployment type) takes slightly longer. This is because the Web Service needs to instantiate a rule server process and ingest the rule project files (which contain the business rules) into memory for compilation. The larger the size of the rule project, the longer the compilation time. However, once loaded and compiled, the subsequent transactions should be very quick (typically less than a second when executed locally). The compilation will only re-occur when changes are introduced to the rule project with the Deployment Manager enabled. Otherwise, the rule service should not experience any lag – unless its process is disposed/killed by the application server.

  • FICO's avatar
    FICO
    Community Manager

    Thanks Erwan, you are right I have experienced delay for first execution and later executions are extremely fast.