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
We may actually be essentially maxing out 100 Mbps Ethernet on Pi 3! So software performance is really good :-) need to build out Pi 4 object servers to get much better
problem - pre checksumming we were getting ~230 Mbps / 27 MB/s upload but with it (either fastapi or python) but with it effectively 100 Mbps / 12 MB/s - sha256 on pi 4 is slow... back to pi 3 speeds...
Activity
Basic bucket listing and replication
ctengel commentedon Aug 18, 2025
#8 included as well; especially checksum
ctengel commentedon Aug 19, 2025
time to beat 8-16 MB/s download
ctengel commentedon Aug 19, 2025
Loading whole file into memory looks like it may be a deal breaker for the pi hardware
ctengel commentedon Aug 19, 2025
Basically there are 3 choices:
Spend a pom or two on each in order
ctengel commentedon Aug 19, 2025
Issue averted via f66b88e and fc4a37c
ctengel commentedon Aug 19, 2025
Currently about 16 MB/s or 128 Mbps replication - read+write - pretty good!!!
ctengel commentedon Aug 21, 2025
We may actually be essentially maxing out 100 Mbps Ethernet on Pi 3! So software performance is really good :-) need to build out Pi 4 object servers to get much better
Added /health endpoint to object server
ctengel commentedon Aug 25, 2025
https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Range_requests
ctengel commentedon Aug 25, 2025
down to as low as 3 Mbps - maybe related to SMR buffers filling up or parallel - regardless next step is to try pi 4
ctengel commentedon Sep 28, 2025
2 remaining items
ctengel commentedon Jan 2, 2026
416
ctengel commentedon Jan 3, 2026
https://werkzeug.palletsprojects.com/en/stable/utils/#werkzeug.utils.send_from_directory
https://smoores.dev/post/http_range_requests/
https://www.zeng.dev/post/2023-http-range-and-play-mp4-in-browser/
https://starlette.dev/responses/
ctengel commentedon Jan 3, 2026
Looks like we may get this in Python 3.15: python/cpython#118949
Or in the meantime: https://github.com/danvk/RangeHTTPServer
ctengel commentedon Jan 3, 2026
see also https://pkg.go.dev/net/http which currently implements range requests via FileServer, ServeFile ServeContent
ctengel commentedon Jan 3, 2026
which if any existing option makes it easy to handle puts and digests?
ctengel commentedon Jan 3, 2026
ctengel commentedon Jan 3, 2026
416 or 200 on multirange
Rewrite object server as FastAPI
ctengel commentedon Jan 4, 2026
async
ctengel commentedon Jan 5, 2026
problem - pre checksumming we were getting ~230 Mbps / 27 MB/s upload but with it (either fastapi or python) but with it effectively 100 Mbps / 12 MB/s - sha256 on pi 4 is slow... back to pi 3 speeds...
ctengel commentedon Jan 5, 2026
Still quick enough for 1x 4k stream or 10x HD stream on a single node...
I think just go with it and look to
ctengel commentedon Jan 5, 2026
server code is done, just need to scale and deploy