On Apr 9, 11:39 am, [EMAIL PROTECTED] (Justin Mason) wrote:
> This is the thing.  Increasingly I'm finding that I need an async,
> queue-based model to carry out long-running background tasks in virtually
> every large system I design.   how do you do that in GAE?  to pick another
> idiom that's hard to get by without: how do I schedule some code to run
> later, at a specific time, cron-style?

 Currently, it's not designed to do long-running background tasks;
it's an explicit non-goal. So Async isn't useful. I've seen horrid
hacks in some apps like 'Run a wget to a URL every hour to vacuum the
tables' already. It'd be nice if you could pay for that later.

> I hear Jaiku is being built on it.  however, how do you send SMSes without
> a system call?  (You call out to another backend web service using a HTTP
> invocation, to do the hard work, I guess.)

 Ajax, i assume, yeah.

> yeah, OK, BigTable sounds cool. definitely beats SDB from what I can tell.
> interesting to hear it handles big binary blobs ok.

 SDB ? I'd love to talk about this stuff off-list at some stage, if
people are interested. It's a lot easier to be candid offline :)  But
yes, Bigtable excels at tasks like 'store all the videos on youtube in
original, flv and h264 format in one table, and allow them to be
viewed and uploaded by millions of concurrent users'. I think the
design doc for the original version mentioned something like 'multi-
petabyte datasets'. It's cool to see a python interface to that :)

 Oh, if you want some sort of Python extension (like my personal
bugbear, PIL), log a bug, and get people to vote on it. I assume that
the sandbox mentality means that as secops verify more and more
extensions they'll be part of the SDK. Popular ones get worked on
first, I hope.

John
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Python Ireland" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to