Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-44

Reuse publish channel to default server to avoid too many connect requests to default server when lots of producers came in same time

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • hedwig-client
    • None

    Description

      Currently when client wants to publish messages to a specific topic (client doesn't know which hub owns this topic), it needs to ask default server which hub owns it. Client needs to connect to default server each time, even the channel to default server has been established. So too many unused connections will be opened and closed, when it publishes to different topics concurrently.

      Reuses existed channel to default server to avoid the above issue.

      Attachments

        1. bookkeeper-44.patch
          1 kB
          Sijie Guo

        Activity

          People

            ikelly Ivan Kelly
            hustlmsp Sijie Guo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: