This release drastically improves PicoShare's performance. In tests, it runs stable on a shared CPU VM with only 256 MB of RAM, accepting uploads of over 1 GB.
New Features
- Display upload progress by @mtlynch in #305, #308
- SQLite VACUUMing is now controlled by the command-line flag
-vacuum
@mtlynch in #306
Improvements
- Improve performance for file downloads, especially with streaming content by @mtlynch in #285
- Use less RAM while processing uploads by @mtlynch in #287, #293
- Free multipart resources after reading them by @mtlynch in #289
Breaking Changes
- Periodic SQLite VACUUMing is now off by default
- You can enable VACUUMing with the
-vacuum
command line flag. - VACUUM reclaims disk space as you delete files from PicoShare, but it increases RAM usage, especially when PicoShare is running with Litestream enabled.
- You can enable VACUUMing with the
Full Changelog: 1.1.8...1.2.0
Acknowledgments
Big thanks to contributors who helped investigate performance issues this release, including @benbjohnson, @danwilhelm, @AGWA, @raggi, @mrkurt, and @billywhizz