How reduce queryContext times Orion Context broker

Viewed 50

I have a service has following query context request:

{
    "entities": [{
        "type": "Call",
        "isPattern": "true",
        "id": ".*"  }],
        "restriction": {
            "scopes": [{
                "type": "FIWARE::StringQuery",
                "value": "status=='open'"
            }]
        }
}

Then It will return about 400 records in about 15 seconds. What is the best way to reduce to queryContext time so that make the service run faster?

The have a look at the following docs, It may be use Database indexes or set log level. https://fiware-orion.readthedocs.io/en/master/admin/perf_tuning/index.html

Please help to correct me?

Many thanks.

1 Answers
Related