Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13764

NodeJS Thin Client cannot handle multiple concurrent requests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.9
    • None
    • thin client
    • None
    • Patch
    • Docs Required, Release Notes Required

    Description

      When we are using the NodeJS Thin Client, we found that whenever we have multiple requests in-flight, the response ID came out to be mismatched. Upon investigating, I saw that our current response handling is using a blocking loop whenever one data packet arrives, and the subsequent data packet triggers the loop again, causing the response ID mismatch issue.

      I have a fix ready on a fork at https://github.com/lhr0909/ignite/pull/1 and I would like to see if there is a chance to merge in. I use RxJS to handle the packets in full asynchronous fashion.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lhr0909 Simon Liang
            Igor Sapego Igor Sapego
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: