Re:Rubygems.org AWS bill for Feb 2014 [pdf]
by nknighthb on Wednesday March 05, 2014 @12:23AM
(#7345459)
Have somebody spend a day or two looking for low-hanging performance fruit. Start with your JSON library, there are some slow ones out there. Also see if you might be unnecessarily de/serializing data structures multiple times in a single thread or process, I've seen that kind of thing creep up over time in reasonably modular codebases.
Re:Rubygems.org AWS bill for Feb 2014 [pdf]
by mbaird on Wednesday March 05, 2014 @05:53AM
(#7346316)
FYI, the OTA limit was increased to 100MB back in September.
We're managing to squeeze our apps into this at the moment, but will likely need a similar solution using S3/CloudFront in the near future.
[1] http://www.macrumors.com/2013/09/18/apple-increases-over-the...
Re:Rubygems.org AWS bill for Feb 2014 [pdf]
by stickydink on Wednesday March 05, 2014 @07:36AM
(#7346575)
We support non retina devices, which are stuck on iOS 6. When this came out we weren't sure whether it applied to that too, so stuck with 50. We'd already been keeping it under 50 for 6 months by then so we had all the infrastructure set up, its mostly automated.
Haven't looked at it since iOS 7 launch though, do you know if it was iOS 6 too?
Re:Rubygems.org AWS bill for Feb 2014 [pdf]
by mbaird on Wednesday March 05, 2014 @07:53AM
(#7346635)
Just checked with a couple folks here, the limit is for the iTunes store, and therefore was also raised for iOS 6 (we assume older versions as well, but don't support them either).
Re:Rubygems.org AWS bill for Feb 2014 [pdf]
by stickydink on Wednesday March 05, 2014 @08:31AM
(#7346792)
Interesting, thanks. Maybe next time we update, I'll try to convince everyone to panic-delete a little less :)
Though you mention delivering the assets. Actually (like a lot of games) we make a big effort in getting under 50MB over-the-air limit on the App Store. The total content for retina iPhone is ~300MB, delivered in parts as you progress in the game. That's kept on S3, downloaded through CloudFront.
But yes! You're right, it's mostly a hell of a lot of JSON flying around.