Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2427

Add support for Multiplexed Async Processors

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Java - Library
    • None

    Description

      THRIFT-1972 added support for Asynchronous processors to be used with Non blocking servers. THRIFT-563 added support for multiplexed servers.

      I would like to build a Non Blocking server which runs multiple, multiplexed async processors. However, the current Java implementation does not allow a multiplexed asynchronous server:
      1. TMultiplexedProcessor implements TProcessor, which causes TNonBlockingServer to create a FrameBuffer, not a AsyncFrameBuffer for it.
      2. TMultiplexedProcessor calls the underlying processors with the

      process(TProtocol in, TProtocol out)

      method variant, which returns false in TBaseAsyncProcessor. It should, instead, be able to call the

      process(final AsyncFrameBuffer fb)

      variant.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            liorn Lior Neudorfer

            Dates

              Created:
              Updated:

              Slack

                Issue deployment