Re: [Twisted-Python] twisted thumbnail server

2012-11-02 Thread Paul Wiseman
On 2 November 2012 16:13, Phil Mayers wrote: > On 02/11/12 15:42, Paul Wiseman wrote: > > I hope this will be an easy question for some of you guys :) > > > > I'm trying to set up a simple server which will accept requests over GET > > to create a thumbnail for an image, and server it back as the

Re: [Twisted-Python] twisted thumbnail server

2012-11-02 Thread Paul Wiseman
On 2 November 2012 15:57, Laurens Van Houtven <_...@lvh.cc> wrote: > Yeah, very big +1 to showing the deferToThread version. I feel bad even > trying to spot potential threading issues here... It could be because the > default thread pool isn't very large, but you're making many requests. > > What

Re: [Twisted-Python] twisted thumbnail server

2012-11-02 Thread Phil Mayers
On 02/11/12 15:42, Paul Wiseman wrote: > I hope this will be an easy question for some of you guys :) > > I'm trying to set up a simple server which will accept requests over GET > to create a thumbnail for an image, and server it back as the response. > > The images are stored in two S3 buckets, t

Re: [Twisted-Python] twisted thumbnail server

2012-11-02 Thread Laurens Van Houtven
Yeah, very big +1 to showing the deferToThread version. I feel bad even trying to spot potential threading issues here... It could be because the default thread pool isn't very large, but you're making many requests. What functionality does boto have that txaws doesn't that you really need here? P

[Twisted-Python] twisted thumbnail server

2012-11-02 Thread Paul Wiseman
I hope this will be an easy question for some of you guys :) I'm trying to set up a simple server which will accept requests over GET to create a thumbnail for an image, and server it back as the response. The images are stored in two S3 buckets, the originals are in one bucket (store), and the g