Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13327

[fiware-stackoverflow] How reduce queryContext times Orion Context broker

    Details

      Description

      Created question in FIWARE Q/A platform on 28-11-2017 at 05:11
      Please, ANSWER this question AT https://stackoverflow.com/questions/47523828/how-reduce-querycontext-times-orion-context-broker

      Question:
      How reduce queryContext times Orion Context broker

      Description:
      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.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:50|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:53|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:53|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 20:02|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 20:02|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: