The place to discuss how to make 23 work in special ways with the 23 api

async uploading/replacing

Th Clvr Mnky   March 07, 2011, 03:40 PM

Does 23 support asynchronous uploads/replaces as described in http://www.flickr.com/services/api/upload.async.html

For v.2 of my plugin I'm considering streamlining the process a lot by doing async processing. This moves the work back onto the users computer, and doesn't hold the same net connection open for a potentially long time.

---

Oops. I just saw that photos.upload.checkTickets is a dummy, so I think I can assume this is not the case.

 
Steffen Fagerström Christensen Team 23   March 07, 2011, 03:44 PM

Unfortunately not, there was some reason why we chose not to implement it - but frankly it escapes me now. Think you could probably emulate the async nature by simply killing the connection online all data has been sent though.

 
Th Clvr Mnky   March 08, 2011, 02:33 PM

Ideally we would want to be able to get the ticket back from the async call immediately so we could do a multi-threaded or coroutine consumer-producer model to make sure everything actually got uploaded. We just build a list of tickets, and check them to see if they were uploaded, failed or in progress.

This is, admittedly, a pretty advanced feature for what is essentially a simple upload tool. But I can see why people complain uploaders (to any site that uses REST or POST commands) can be slow operating on large sets.

It would also be very hard to debug :)

 




About 23

About 23
What is 23 and who's behind the service?
Just In
Discover the world from a different angle.
Here's a crop of the latest photos from the around the world.
Search
Search photos from users using 23
Help / Discussion
Get help or share your ideas to make 23 better
23 Blog / 23 on Twitter
Messages and observations from Team 23
Terms of use
What can 23 be used for and what isn't allowed
More services from 23
We also help people use photo sharing in their professional lives
RSS Feed
Subscribe to these photos in an RSS reader
  • Basque (ES)
  • Bulgarian (BG)
  • Chinese (CN)
  • Chinese (TW)
  • Danish (DK)
  • Dutch (NL)
  • English (US)
  • French (FR)
  • Galician (ES)
  • German (DE)
  • Italian (IT)
  • Norwegian (NO)
  • Polish (PL)
  • Portuguese (PT)
  • Russian (RU)
  • Spanish (ES)
  • Swedish (SE)

Popular photos right now