...
Code Block |
---|
--- |
...
spring: |
...
profiles: extractservice-lb |
...
application: |
...
name: extractservice-lb |
...
eagle.eaglemlrestapi.services.EQL.directexecution: true |
...
eagle.pyservice.executors: 4 |
...
eagle.eaglemlrestapi.services.EQL.messagedetails.level: errorsonly |
...
eagle.eaglemlrestapi.services.EQL.tasks: true |
...
eagle.eaglemlrestapi.services.EQL.filestatistics: true |
Info |
---|
...
The --- is important and has to be added as shown to the configuration file. Only one extractservice-lb section should be defined in the configuration file. |
Increase the number of EDS executors
To increase the concurrency of request execution the number of python service executors can be increased by using the eagle.pyservice.executors parameter. By default MC2 starts four executors per instance. If the number of concurrent requests is big, this parameter can be adjusted. This will increase the memory and CPU usage. Having 32 Python Service Executors will lead to about 7GB of additional memory usage.
Change the Message Status Updates
The eagle.eaglemlrestapi.services.EQL.messagedetails.level controls what is shown in Message Status tab in Message Center Console. The information added to Message Center Console is registered for stream eagle_default_ruleservice. The eagle.eaglemlrestapi.services.EQL.messagedetails.level parameter can have the following values:
errorsonly - only errors will be shown in Message Center Console/Message Status
statusonly - each request will result in one record shown in Message Center Console/Message Status. The Incoming Message and Status Detail will be empty
allinformation - each request will result in one record shown in Message Center Console/Message Status. The Incoming Message and Status Detail will contain the information related to the request. The Outgoing Message will be empty.
Change the Tasks Status
If parameter eagle.eaglemlrestapi.services.EQL.tasks is set to false, the Tasks Status information will not show the execution of the EQL Rest Requests.
...
This can improve the performance of the EQL REST requests execution if the database update is slow.
Change the File Statistics status update
If parameter eagle.eaglemlrestapi.services.EQL.filestatistics is set to false, the File Statistics information will not show the execution of the EQL Rest Requests.
...
This can potentially improve the performance of the EQL REST requests execution if the database update is slow.
Execute EQL Requests Using The EJM Engine
Setting parameter eagle.eaglemlrestapi.services.EQL.directexecution to false will result in the EQL requests being executed on MC2 Workers using EJM. As a result the EQL Rest requests will be reflected in EJM Monitor and in Message Center Console EJM Tasks window.
...
Currently, this can add overhead and decrease the EQL Rest requests performance under a big load/concurrency by a factor of 5.