Why the focus on S3 for a self-hosted app? Anyway kudos for the effort, I'm not experiencing performance issues in my locally self-hosted Immich installation but more performant software is always welcome.
A lot of existing tooling supports the s3 protocol, so it would simplify the storage picture (no pun intended).