You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm investigating this library and can't find the way how to implement file streaming with it.
Let's assume huge file is stored in another storage, so I want to use own implementation of file stream, that implements (open/seek/read/write), which then can be used by a framework to get/send chunks of bytes to requestor of this file.
Is this possible with the current state?
The text was updated successfully, but these errors were encountered:
Lithium is based on async io to serve concurrent requests in one thread. Is your own implementation also async ?
if not you read method will block the whole thread when reading the file. So you'll loose all the benefits of using an async framework like lithium.
Hello,
I'm investigating this library and can't find the way how to implement file streaming with it.
Let's assume huge file is stored in another storage, so I want to use own implementation of file stream, that implements (open/seek/read/write), which then can be used by a framework to get/send chunks of bytes to requestor of this file.
Is this possible with the current state?
The text was updated successfully, but these errors were encountered: