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

FIWARE.Request.Tech.Data.OrionContextBroker.Questions about Publish/Subscribe Context Broker - Orion Context Broker

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Good afternoon,

      I've been using the Publish/Subscribe Context Broker - Orion Context Broker
      for my thesis, and I'm using the Fiware Lab (Global Instance -
      http://orion.lab.fiware.org:1026).

      I've been doing some experiments on it and recording some useful metrics .
      The experiment is publishing 20000 entities in parallel (from 50 to 500
      requests always active, until there are no more entities to publish) and I
      also have a subscriber that receives all these entities updates.

      I publish this data 9 times per day (3 times in the morning (from 9h30 to
      12h30 GMT), 3 in the afternoon (from 15h30 to 18h30 GMT) and 3 in the
      evening (21h30 to 00h30 GMT), and I noticed that the number of retries I
      see in the application (responses with status 503 or TCP RST flag being
      sent) grows steady throughout the day.

      To try out some hypotheses I published the same data during 2 consecutive
      days (using the same formula). I have attached some images with a box plot
      for each day showing the number of retries.

      The retries grow throughout the day, but in the following one they start
      low again. Could you tell me if this is some kind of memory leak and the
      machine is being restarted at dawn (somewhere between 00h30 and 9h30 GMT),
      or is it due to something else? This would be incredibily useful to my
      thesis.

      Thanks,
      João Cardoso

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-tech-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help
      [Created via e-mail received from: Joao Cardoso <jmmesquitacardoso@gmail.com>]

        Activity

        Hide
        fermin Fermín Galán added a comment -

        Hi,

        I don't recommend you to use Orion global instance at FIWARE Lab for this kind of testing.

        Firstly, because that instance uses a PEP proxy in order to implement authentication and authorization to the Orion API and that can have a significant impact in your metrics. Second, because that instance is shared among many other users and you cannot control the impact of such usage in your tests and metrics. Note (from http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker/instances regarding Global Instance):

        "Take into account that this is a global instance shared among all its users That means that your actions on the instance could impact to other users or viceversa. In this sense, this instance is fine to do prospective testing and to analyse the feasibility of the GEi to your purposes. However, if you are planing to use this GEi in production, please consider to deploy a dedicated instance for you in the FIWARE cloud."

        Thus, as that page suggest, I'd recommend you to set a your own private and dedicate instance of Orion and run your tests on it. That would provide a much more controlled environment for a Ph.D-level testing work.

        Best regards,

        ------
        Fermín

        Show
        fermin Fermín Galán added a comment - Hi, I don't recommend you to use Orion global instance at FIWARE Lab for this kind of testing. Firstly, because that instance uses a PEP proxy in order to implement authentication and authorization to the Orion API and that can have a significant impact in your metrics. Second, because that instance is shared among many other users and you cannot control the impact of such usage in your tests and metrics. Note (from http://catalogue.fiware.org/enablers/publishsubscribe-context-broker-orion-context-broker/instances regarding Global Instance): "Take into account that this is a global instance shared among all its users That means that your actions on the instance could impact to other users or viceversa. In this sense, this instance is fine to do prospective testing and to analyse the feasibility of the GEi to your purposes. However, if you are planing to use this GEi in production, please consider to deploy a dedicated instance for you in the FIWARE cloud." Thus, as that page suggest, I'd recommend you to set a your own private and dedicate instance of Orion and run your tests on it. That would provide a much more controlled environment for a Ph.D-level testing work. Best regards, ------ Fermín

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: