[Stackless] Stackless Digest, Vol 50, Issue 17

Robert MannI robmnl at gmail.com
Fri Mar 21 22:22:39 CET 2008


Just want to thank everyone, Richard, Phoenix (cool name!) and Andrew  
here.

This is really a mature community of solid programmers.

Phoenix, I believe simpledb will be opened up for more users soon.    
Charles, the sdb team lead and his team are going to roll out an  
extensive update in Q2 2008.   So I'm hoping April :p

Simpledb has really nice sides to it - scalability!   It's a bit slow  
when getting lots of items serially though, because you do one HTTP  
call to get one item at a time.    That's why concurrency is  
important.   On the other hand, Charles and his team are going to  
release an API call that allows you to get multiple items with one  
HTTP call - so by that time, I won't even need multi threading anymore.

But stackless really caught my eye!!   Such a refreshing programming  
paradigm!

Regarding this thread, I will give the StacklessModule a go :)


Many thanks,
Rob

On Mar 21, 2008, at 7:14 PM, Andrew Francis wrote:
> Hi Robert:
>
>> When I do stackless.run(), are all tasklets run at
> the >same time?   Or are they executed serially, one
>> tasklet staring after the other one has finished
>> executing?
>
> Stackless.run() starts the scheduler. The tasklets are
> executed in a first-come-first-servered-round-robin
> fashion. Ordering is changed when tasklets explicitly
> yield with a schedule() or block on a channel.
>
>> I am evaluating if I can use stackless python to do
>> multiple  concurrent HTTP calls to amazon's simpledb
>> service, using the python  boto library.
>
> I downloaded boto and took a quick look. I see urllib
> and httplib. Unmodified, Stackless will block. Perhaps
> if you use Richard Tew's StacklessModule and
> monkeypatching, you can get boto up with little
> modification. Myself, I use Twisted so I would have to
> look more closely at the simpleDb protocol. I am sort
> of interested myself now....
>
> Cheers,
> Andrew
>
>
>
>
>       
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless





More information about the Stackless mailing list