Matteo Collina on Nostr: Dev: I need to optimize transfer size. I'm going to compress my JSON responses to the ...
Dev: I need to optimize transfer size. I'm going to compress my JSON responses to the MAXIMUM!
...a month later...
Dev: why did my cloud bill grow so much? why are my users reporting that the app has slowed down?
🤦♂️ 💸
TL;DR Don't optimize transfer size. Optimize loading time based on your users' bandwidth. Verify all the way
Published at
2024-05-30 16:16:01Event JSON
{
"id": "ecdebf6d19be406a67c6054116dba259330ab2bd130011eb356c096216d60fca",
"pubkey": "84afd2faf632c84f9539aaeb2bab0e8552e22b40a04e3df184f5e6ee3cc31f6b",
"created_at": 1717085761,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/mcollina/statuses/112530932441168887",
"activitypub"
]
],
"content": "Dev: I need to optimize transfer size. I'm going to compress my JSON responses to the MAXIMUM!\n\n...a month later...\n\nDev: why did my cloud bill grow so much? why are my users reporting that the app has slowed down?\n\n🤦♂️ 💸 \n\nTL;DR Don't optimize transfer size. Optimize loading time based on your users' bandwidth. Verify all the way",
"sig": "1605f624941921e498d569c8bdbd4454629e13d7b9546f83d8ee7735a05e49c9abd4b4ff0ec7fc723fb68e9c0fbd3136abfaffef8e47fe36a5834f16d822f2fc"
}