asfimport commented on issue #42257:
URL: https://github.com/apache/arrow/issues/42257#issuecomment-2184204292

   [Deepak 
Majeti](https://issues.apache.org/jira/browse/PARQUET-474?#comment-15339582) / 
@majetideepak:
   ORC C++ does IO in a synchronous fashion. It's framework works in a batch 
manner.
   If I understand your requirement correctly, you want parquet-cpp to have 
`synchronized` IO API (eg: `ReadAt()` must be threadsafe), so that multiple 
client threads can share the same IO resource with internal state. In other 
words, you are looking at a code with a pipeline/streaming like framework. This 
JIRA makes sense for these cases.
   
   Some applications work in a batch manner by creating multiple instances of 
the IO resource.
   My concern is that introducing `synchronized` IO API can cause overheads for 
such applications.
   For this JIRA, can you use `if-defs` to enable/disable the synchronization ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to