[Backlogmanager] [FIWARE-JIRA] (HELP-13327) [fiware-stackoverflow] How reduce queryContext times Orion Context broker

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Tue Jan 16 16:37:00 CET 2018


     [ https://jira.fiware.org/browse/HELP-13327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez reassigned HELP-13327:
-------------------------------------

    Assignee: Fermín Galán

> [fiware-stackoverflow] How reduce queryContext times Orion Context broker
> -------------------------------------------------------------------------
>
>                 Key: HELP-13327
>                 URL: https://jira.fiware.org/browse/HELP-13327
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>            Assignee: Fermín Galán
>              Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 28-11-2017 at 05:11
> {color: red}Please, ANSWER this question AT{color} 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.



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy