[Twisted-Python] unified filesystem API

Chris Withers chris at withers.org
Sat May 16 00:49:40 MDT 2020


On 16/05/2020 07:42, Glyph wrote:
> 
> 
>> On May 15, 2020, at 11:30 PM, Chris Withers <chris at withers.org 
>> <mailto:chris at withers.org>> wrote:
>>
>> On 16/05/2020 06:55, Glyph wrote:
>>> This does point out one of my secret hopes for SMB: that a file 
>>> server's maintainers will care enough about file throughput that 
>>> we'll finally get a centralized, official way of doing async file I/O 
>>> that we can share with SFTP, FTP, and HTTP :).
>>
>> I got excited by the title, but this all seems to be able giving 
>> non-filesystems a file-system like API.
> 
> What are you referring to as non-filesystems?

Ah, sorry, misread the above.

>> If I've missed something, please let me know, but I couldn't find an 
>> async interface for writing to actual file systems.
> 
> In Twisted? There isn't one, really, which is exactly the issue.  There 
> are various operating system interfaces for this but none of them are great.

What's the asyncio spin on this? We server like uvicorn are all writing 
logs, are they too just punting on the blocking nature of writing to 
filesystems?

Chris



More information about the Twisted-Python mailing list