Missing services for Google App Engine (image resizing + cron + comet as a web service(+comet chat example at GAE))

37 views
Skip to first unread message

majek

unread,
Apr 30, 2008, 9:05:38 PM4/30/08
to Google App Engine
I created simple services, which you can use from GAE. They allow
things that aren't possible on raw GAE.

That include
- image resizing
- cron service
- comet service

See the examples (hosted at GAE):
- http://test.movq.net/shoutbox/
- http://srv.appspot.com/gallery/

Details:
http://popcnt.org/2008/05/missing-services-for-google-app-engine.html

Cheers!
Marek Majkowski

medecau

unread,
May 1, 2008, 7:45:05 AM5/1/08
to Google App Engine


On May 1, 2:05 am, majek <maje...@gmail.com> wrote:
> I created simple services, which you can use from GAE. They allow
> things that aren't possible on raw GAE.
>
> That include
>  - image resizing
>  - cron service
>  - comet service
>
> See the examples (hosted at GAE):
>  -http://test.movq.net/shoutbox/
>  -http://srv.appspot.com/gallery/
>
> Details:
>  http://popcnt.org/2008/05/missing-services-for-google-app-engine.html
>
> Cheers!
>  Marek Majkowski

Whatever you may need, if not listed already, should go here:
http://code.google.com/p/googleappengine/issues/list

medecau

unread,
May 1, 2008, 7:51:05 AM5/1/08
to Google App Engine
maybe i should point some tickets already there:

request for python image lib, may allow the resizing
http://code.google.com/p/googleappengine/issues/detail?id=38
cron/scheduler
http://code.google.com/p/googleappengine/issues/detail?id=6
xmpp/IM/chat
http://code.google.com/p/googleappengine/issues/detail?id=231

To vote click on the star of any one ticket that you would like to
have to "raise interest" in it.

tj9991

unread,
May 1, 2008, 9:05:53 AM5/1/08
to Google App Engine
Just finished implementing it in my app. Before I was just resizing
the images in the HTML because of the lack of the PIL, but this is
great!

My only request is an on-demand version of the service, where it isn't
queued and pushed, but rather requested and then returned in a single
HTTP request. But this works great for now.

On Apr 30, 6:05 pm, majek <maje...@gmail.com> wrote:
> I created simple services, which you can use from GAE. They allow
> things that aren't possible on raw GAE.
>
> That include
>  - image resizing
>  - cron service
>  - comet service
>
> See the examples (hosted at GAE):
>  -http://test.movq.net/shoutbox/
>  -http://srv.appspot.com/gallery/

Barry Hunter

unread,
May 1, 2008, 10:32:56 AM5/1/08
to google-a...@googlegroups.com
On Thu, May 1, 2008 at 2:05 PM, tj9991 <tsl...@gmail.com> wrote:
>
> Just finished implementing it in my app. Before I was just resizing
> the images in the HTML because of the lack of the PIL, but this is
> great!
>
> My only request is an on-demand version of the service, where it isn't
> queued and pushed, but rather requested and then returned in a single
> HTTP request. But this works great for now.

http://manatlan.com/blog/utilitymill_to_do_what_is_impossible_to_do_on_gae
:P

>
> On Apr 30, 6:05 pm, majek <maje...@gmail.com> wrote:
>> I created simple services, which you can use from GAE. They allow
>> things that aren't possible on raw GAE.
>>
>> That include
>> - image resizing
>> - cron service
>> - comet service
>>
>> See the examples (hosted at GAE):
>> -http://test.movq.net/shoutbox/
>> -http://srv.appspot.com/gallery/
>>
>> Details:
>> http://popcnt.org/2008/05/missing-services-for-google-app-engine.html
>>
>> Cheers!
>> Marek Majkowski
> >
>

--
Barry

- www.nearby.org.uk - www.geograph.org.uk -

tj9991

unread,
May 1, 2008, 12:28:25 PM5/1/08
to Google App Engine
Looks like that thumbnail service doesn't support GIFs.

On May 1, 7:32 am, "Barry Hunter" <barrybhun...@googlemail.com> wrote:
> On Thu, May 1, 2008 at 2:05 PM, tj9991 <tslo...@gmail.com> wrote:
>
> > Just finished implementing it in my app. Before I was just resizing
> > the images in the HTML because of the lack of the PIL, but this is
> > great!
>
> > My only request is an on-demand version of the service, where it isn't
> > queued and pushed, but rather requested and then returned in a single
> > HTTP request. But this works great for now.
>
> http://manatlan.com/blog/utilitymill_to_do_what_is_impossible_to_do_o...

majek04

unread,
May 1, 2008, 2:47:00 PM5/1/08
to google-a...@googlegroups.com
On 5/1/08, tj9991 <tsl...@gmail.com> wrote:
> Just finished implementing it in my app. Before I was just resizing
> the images in the HTML because of the lack of the PIL, but this is
> great!
>
> My only request is an on-demand version of the service, where it isn't
> queued and pushed, but rather requested and then returned in a single
> HTTP request. But this works great for now.

Thanks! Nice to hear this.

I think that the on-demand service you mentioned is not very scalable
idea. I can't guarantee you that I will have enough cpu power to
scale images on the fly. But for small one (less than 250k), maybe.
I'll think about it!

As far as I tested, gifs are supported by 'thumbnail' mode.
But animation is stripped. If you want to keep the animation, please
use the 'avatar' mode.

Cheers!
Marek Majkowski

majek04

unread,
May 1, 2008, 2:57:03 PM5/1/08
to google-a...@googlegroups.com
On 5/1/08, Barry Hunter <barryb...@googlemail.com> wrote:
> > My only request is an on-demand version of the service, where it isn't
> > queued and pushed, but rather requested and then returned in a single
> > HTTP request. But this works great for now.
>
> http://manatlan.com/blog/utilitymill_to_do_what_is_impossible_to_do_on_gae
> :P

Utilitymill looks promising. But it also has some serious limitations:
- as far as I know PIL doesn't support animated gifs
http://www.somethinkodd.com/oddthinking/2005/12/06/python-imaging-library-pil-and-animated-gifs/

- you can't create a comet service using Utilitmill
- you can't create cron service using Utilitmill

Cheers!
Marek Majkowski

Reply all
Reply to author
Forward
0 new messages