Uploaded image for project: 'Etch'
  1. Etch
  2. ETCH-20

need a more flexible buffering scheme to handle different transports

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0.0, 1.0.1
    • None
    • None

    Description

      FlexBuffer has a pretty wide interface and is a concrete class. underneath the hood it has a single byte array which grows to meet demand, but a single large byte array per connection times thousands of connections doesn't scale. also thrashes the heap.

      solutions:

      1) make FlexBuf an interface.
      2) breakout data processing methods into separate input / output interfaces (much like java DataInput and DataOutput).
      3) make a concrete impl of FlexBuf which works for TcpConnection and big endian formats.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sccomer Robert Scott Comer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: