-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase image-size constraints (post embeds, user profiles) and served resolutions #502
Comments
I'm wondering if we should go even bigger for embeds? Like up to at least a MB. Just from a quick survey of twitter, they have a lot of images that are greater than 600 kb. As Jake pointed out, these are gonna be insubstantial in comparison to videos. I expect most images to be served off of a gateway that does some processing, which means that the images only really have to make a couple hops: client -> pds -> BGS (which then serves it off the gateway). From the gateway, we don't have to serve the full resolution image, but I think we should give the clients some more wiggle room in terms of what they upload. |
I'll let yall make the call here, just want to make sure we get it right. If you're not worried about the latency of 1mb then go for it. |
kk
what's the desired behavior here for thumbs? They're already set to |
Oh actually I see, that was a recent change from #495 that hasn't made it to prod yet 👌 |
We need to improve the quality of images a smidge more. Here's my proposal:
app.bsky.embed.external#external
thumb:app.bsky.embed.images
image:app.bsky.actor.profile
avatar:app.bsky.actor.profile
banner:This is roughly a 2x of all limits. For the image-proxy serving, we also 2x all the limits and we revert the thumb sizing away from "fit" (as that wrecks the ability to serve wide images).
I suggest if we want to consider any higher limits that we look closely at the costs -- not of image storage or bandwidth, but specifically of transfer latency in the federated network. The reason we're being stingy is to ensure that peoples' feeds load in a timely fashion when the extra hops of federation are introduced.
The text was updated successfully, but these errors were encountered: