Kyoungha Min created BEAM-9325:
----------------------------------

             Summary: UnownedInput/OutputStream not overriding array method.
                 Key: BEAM-9325
                 URL: https://issues.apache.org/jira/browse/BEAM-9325
             Project: Beam
          Issue Type: Wish
          Components: sdk-java-core
            Reporter: Kyoungha Min


org.apache.beam.sdk.util.UnownedInput/OutputStream currently do not override 
`read(byte[], int, int)` and `write(byte[], int, int)` and as a result, it is 
reading and writing 1 byte at a time by calling synchronized method every time. 

The throughput is too low, and I believe it was not intended.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to