App Engine refugee

28 views
Skip to first unread message

n8gray

unread,
Sep 6, 2011, 3:43:07 PM9/6/11
to typhoonae
Hi,

With my App Engine bill going up by a factor of 20x I'm looking for
alternatives. TyphoonAE looks like an interesting approach and I'd
like to experiment with it a bit. Perhaps you could answer a few
questions for me?

Would you advise using the last stable release from last December or
pulling from hg?

My app is a pretty low-resource app, typically consuming about 10 CPU
hours with a peak of 2 requests per second or so. Almost all the CPU
time is spent waiting for the datastore. Do you have a feel for what
kind of server that would require? I currently have a Linode 512 VPS
(512MB RAM, unspecified CPU) from linode.com and I'm wondering if I'll
need to plan to upgrade. Does the GAE approach work OK on a single
server?

My app requires transactions, so it sounds like I can't use the
MongoDB backend, but between the other two which would you recommend?

Thanks a lot!
-Nathan

Tobias

unread,
Sep 6, 2011, 5:25:07 PM9/6/11
to typh...@googlegroups.com
Hi Nathan,

Thanks a lot for looking at TyphoonAE! Building the development version from hg should work. It already uses the GAE SDK 1.5.3 release and has many other improvements. Please see http://code.google.com/p/typhoonae/source/browse/CHANGES.txt for further details.

This sample app http://blog.typhoonae.org/ runs on a single virtual XEN guest and serves 250 (concurrent) reqs/s minimum. By modifying the supervisor configuration you can easily add more appservers. It is also possible to run multiple apps or different versions of one app.

As you mentioned before, the Datastore MongoDB Stub lacks support for GAE transactions. Therefore, you can try the MySQL Datastore backend. It is mostly designed after the original SQLite Stub from the SDK. Unfortunately, it's performance gets worse when you have 10000+ entities of one kind.

Please let me know if you face any issues during installation.

Cheers,
Tobias

Mauro Asprea

unread,
Sep 6, 2011, 5:30:38 PM9/6/11
to typh...@googlegroups.com
Great to see that TyphoonAE is using 1.5.3 :D I am also considering to move my way into a VPS, using TyphoonAE. I already downloaded the VM and everything seems to work ok in my app. The only thing that I couldn't easily find is how to configure RabbitMQ for the Task Api to work. 

Congrats for the great work! I really can't believe when I saw everything working even the Channel API.

Thank you very much for your work!
--
You received this message because you are subscribed to the Google
Groups "typhoonae" group.
To post to this group, send email to typh...@googlegroups.com
To unsubscribe from this group, send email to
typhoonae+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/typhoonae?hl=en

Mauro Sebastián Asprea

E-Mail: mauro...@gmail.com
Mobile: +34 654297582
Skype: mauro.asprea

Algunos hombres ven las cosas como son y se preguntan porque. Otros sueñan cosas que nunca fueron y se preguntan por qué no?. 
George Bernard Shaw



Tobias

unread,
Sep 6, 2011, 6:02:02 PM9/6/11
to typh...@googlegroups.com
Hi,

Thanks for trying TyphoonAE! I'm happy to hear that your app seems to run so far. The Task Queue service should automatically be configured when your appdir contains a queue.yaml file with at least the following contents:

queue:
- name: default
  rate: 5/s

This behavior differs from the original GAE and is already corrected in the development version of TyphoonAE. Sorry for the inconvenience. Please drop a line if you find more issues.

Cheers,
Tobias

Nathan Gray

unread,
Sep 6, 2011, 8:29:42 PM9/6/11
to typh...@googlegroups.com
Hi Tobias,

Thanks for the help. I managed to build everything using the buildout
script, but when I try to configure the demo this is what I get:

% ./bin/apptool parts/demo
/Users/n8gray/src/typhoonae/typhoonae/eggs/celery-2.1.1-py2.6.egg/celery/loaders/default.py:53:
NotConfigured: No celeryconfig.py module found! Please make sure it
exists and is available to Python.
NotConfigured)

I can see celeryconfig.py in ./etc but I'm not sure how to get that
visible to python.

Thanks,
-Nathan

> --
> You received this message because you are subscribed to the Google
> Groups "typhoonae" group.
> To post to this group, send email to typh...@googlegroups.com
> To unsubscribe from this group, send email to
> typhoonae+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/typhoonae?hl=en

--
HexaLex: A New Angle on Crossword Games for iPhone and iPod Touch
http://hexalex.com
On The App Store: http://bit.ly/8Mj1CU
On Facebook: http://bit.ly/9MIJiV
On Twitter: http://twitter.com/hexalexgame
http://n8gray.org

Nathan Gray

unread,
Sep 6, 2011, 8:43:41 PM9/6/11
to typh...@googlegroups.com
Huh, I just tried it a second time and it worked. Never mind! Now to
figure out how to run my own app...

Thanks,
-Nathan

Reply all
Reply to author
Forward
0 new messages