yaq-project / yaq-python

Repository for yaq core python packages.
https://yaq.fyi
GNU Lesser General Public License v3.0
6 stars 5 forks source link

Chunk long responses #44

Open ksunden opened 1 year ago

ksunden commented 1 year ago

https://github.com/yaq-project/yaq-python/blob/f25b6718fc4b2381d53737a663ab976f72e15689/yaqd-core/yaqd_core/_protocol.py#L89

Long responses are still written as a single call to socket.write. this could be responsible for some scaling problems with long replies (such as those for cameras)

an 8 MP image takes around 30 seconds to transport.

Testing should be done to determine how large of chunks to use.