![]() ![]() So that’s 1 call for the 30 photos, 30 calls for getInfo and 30 calls for getSizes. #With a flickery glow downloadAdditionally, whenever a user selected one of the items, flickery would call out to the API again asking if it was allowed to download that photo. For every item in that list, I made a getInfo() and getSizes() call for later use (should the user want to view the photo bigger or view it’s description). You can see 30 items in the thumbnail view. Just try it, it’s easy (no, seriously, don’t!). Can you imagine? How come, you might ask. ![]() With just about 1,000 registered users, flickery made more than 30 QPS (queries per second) to the Flickr API. ![]() Flickr’s servers were smoking (well, I doubt that, because I think then I would have heard from their lawyers). And when I say an awful lot, I mean a hell of a lot. It was sluggish, slow, leaked tons of memory and made an awful lot of calls to the Flickr API. But under the hood, it wasn’t that great. It was a great first public beta, feature-wise. I had implemented lots of things, like commenting on photos, adding photos to favorites, different views of photos, etc. So it took me about three months (until mid-May 2008) to ship my first public beta. My main interest was in getting a product ready. I did not worry very much about how many calls I made to the API. I felt like a kid in a toys-store – completely overwhelmed (and way in over my head, as it later turned out). Soon thereafter, I had tremendous results in the shortest amount of time. But really, I just wanted to toy around with the Flickr API since I’d seen so many web-applications making use of it and had heard good things of the API in general. In February 2008, I began flirting with the idea of writing a full-featured desktop client for Flickr for Mac. I was born in 1986 in… well, uhm, that’s maybe a little too far back. I was kindly invited by the great guys behind Flickr to write about my experiences optimizing calls to the Flickr API. All in one tiny, yet powerful application. With flickery you can easily upload your photos to Flickr, manage your sets and favorites, view your contacts’ photos, search for photos in Flickr’s data, comment, view the most “interesting” pictures and much more. #With a flickery glow for mac os xMy newest creation and the reason I’m writing here, however – and first shareware application, might I add – is flickery, a Flickr desktop client for Mac OS X 10.5 Leopard! My name is Matthias Gansrigler, I’m the founder of Eternal Storms Software, responsible for donationware like GimmeSomeTune or PresentYourApps for Mac. #With a flickery glow how toPart detective story, part day-in-the-life-of-a-working developer, Matthias’ nuts and bolts discussion of how to take full advantage of the Flickr API without slowing down your app is a must read. And he is talking about super important topics: optimization, performance and caching. Thankfully we’re coming back with a really great interview from the developer behind flickery, a full featured, and fast Flickr desktop client. Well we ended up taking a very long short break. We meant to take a short break in our developer interview series. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |