Warsaw, Poland here. Typical ~240ms, ranging from 210ms to 740ms (!).
On 13 Sie, 12:44, Martyn wrote:
> Hi there,
>
> I am investigating request latency for AppEngine after experiencing
> significantly lower performance then reported in the Java status
> results.
>
> This appears to be due to ne
http://docs.djangoproject.com/en/dev/topics/settings/#altering-settings-at-runtime
"You should not alter settings at runtime".
>From my experience - altering settings sometimes works and sometimes
not.
On 4 Cze, 17:36, wilmersarmiento wrote:
> Hi,
>
> I'm working with the form validation frame
This seems to be problem with shell.appspot.com (it tries to persist
the DES object in session).
On 5 Maj, 23:53, Devel63 wrote:
> Doesn't seem to work onhttp://shell.appspot.com
>
> I can import a module (e.g., from Crypto.Cipher import DES), but when
> I try to use it I get all sorts of errors
I noticed this and I share your pain. I just set a policy to "don't
merge, just update" but this does not make much sense. On the other
way, not having this in repository would make deployment too fragile
process (what if we miss some test and deploy index.yaml without some
index?!).
On 7 Kwi, 19
Mako (http://www.makotemplates.org/) is believed to be the fastest
templating engine in wide use (didn't found any reasonable tests to
prove this statement in the GAE environment).
Personally I prefer Jinja2 (http://jinja.pocoo.org/2/) because I like
Django templates syntax - although Jinja2 give
I don't think it's possible.
One way around is to employ some kind of key versioning (using
CURRENT_VERSION_ID, for example). This way you'd be sure your app uses
always appropriate values.
On 29 Mar, 07:43, Coonay wrote:
> the data strore is cleaned ,then i redeploy my app,next access my app
>
Nothing forces you to use WebApp framework with its request/response
objects - WebOb is available already (afaik, in WebApp request is
WebOb request, but response is not a subclass of WebOb response),
Werkzeug works too.
On 15 Mar, 06:32, zombie wrote:
> Does anyone know what is the minimum amou
It would be easier if you do not use WebApp but follow Django way of
request handling (easy to achieve even without Django, ie. using
Werkzeug to lay out application in model-view-template style):
def handler_a(request):
return response('a')
def handler_b(request):
return handler_a(request)
Star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=677
On 15 Mar, 20:08, manuelaraoz wrote:
> Hi there!
>
> I've got my app sending mail from the address supp...@myapp.com
>
> the problem is, when people receive the emails, they see that they
> appear as been sent from "
If you move Environment creation routine to another module it will be
cached by Google, but only for few seconds (2-3?), so if your
application does not get enough traffic you'd gain nothing from this.
In my attempts to speedup things I discovered that only loader can be
cached, but it has to be
Be aware that in current version save() contains code literally copied
from put() so you'd like to have in your model class the code like:
def put(self):
# do something before save
key = super(MyModel, self).put()
# do something after save
return key
save = put
On 13 Mar, 05:45, yucc w
I use another toolset (Werkzeug + Jinja2) so my projects are organized
in different way, but I second your thoughts on default template
usability.
On 13 Mar, 08:16, adelevie wrote:
> I have found the included "new_project_template" to be woefully
> inadequate for getting a real project started.
I'm seeing the same behaviour but I do not use Django (Werkzeug +
Jinja2). While this combo seems lighter (in terms of CPU usage), my
app becomes "cold" each 2-3 seconds and request takes > 1200ms CPU to
be served, with Jinja2 Environment creation taking most of CPU
resources. I tried to optimize
Not so hurry.
As for pytz footprint, it's ~600kB in size and can be lightning fast
if combined with caching in memcache (caching of tzinfo? why not...).
Combine this with Babel and you'll get everything you'd want to do
l10n.
On 10 Mar, 20:21, mawcs wrote:
> So, I got some help from StackOverfl
al Message-
> From: google-appengine@googlegroups.com
>
> [mailto:google-appeng...@googlegroups.com] On Behalf Of Jarek Zgoda
> Sent: Friday, March 06, 2009 8:01 AM
> To: Google App Engine
> Subject: [google-appengine] Get deployed app version at runtime?
>
> Is there any possibil
Is there any possibility to get full application version at runtime
(not only major version from app.yaml)? I'm thinking of making
memcache keys versioned by something that changes on every deployment
and the app version seems to be obvious choice...
Cheers
J.
--~--~-~--~~
Also, the gettext docs say it should be "localedir/language/
LC_MESSAGES/domain.mo" (ROOT/locale/en_US/LC_MESSAGES/myproject.po -
following your terminology and layout), not "localedir/LC_MESSAGES/
language/domain.mo".
On 5 Mar, 13:32, Jarek Zgoda wrote:
> Shouldn't
oject with i18n support without django? I think I will write a dirty
> implementation if therer are not solution to solve this problem.
>
> On Thu, Mar 5, 2009 at 9:09 AM, Jarek Zgoda wrote:
>
> > I tried to put Environment object in memcache, but it's not picklable
> > so
I tried to put Environment object in memcache, but it's not picklable
so no joy. FileSystemLoader can be pickled and cached, but for some
unknown reason cached object throws IOErrors if template code changes
(eg. because of new deployment) and I did not found a way to remove it
from cache after su
No, it is not. CGI is generic way of passing environment variables to
web applications. WSGI is standardized communication protocol between
web servers (like these that offer CGI interface) and web applications
written in Python. Basically you just write WSGI-based application and
run it in WSGI e
They say so (in normal CGI you do not have cached imports), but I
found one of my applications performing much worse than in normal WSGI
environment (Apache + mod_wsgi in daemon mode). I suspect the storage,
as my app is rather write-heavy - profiling info did not reveal any
special suspects.
On
This will not work as expected, for many reasons.
The line "value = unicode(value)" will break with UnicodeEncodeError
(not Decode) if the value is unicode object and value contains
characters from outside ASCII range.
The line "unicode(str(value).encode('string_escape'))" can be
translated to h
If the data comes from any form in your application, you can force
encoding of form data using accept-charset attribute of form element
(see http://www.w3schools.com/tags/att_form_accept_charset.asp).
On 25 Lut, 22:17, Brian wrote:
> Hi. I have observed a sporadic Unicode related bug that appear
Don't compare apples to oranges, EC2 is complete operating system
instance.
On 25 Lut, 16:39, Wooble wrote:
> On Feb 24, 5:57 pm, Brandon Thomson wrote:
>
> > Has anyone seen a cost comparison between Google and the other
> > providers based on these new changes?
>
> EC2 free storage: none
> EC
So in short (and to clear my confusion), you can not host 2 GAE-based
apps in different subdomains of your domain, say host blog on
blog.mydomain.com and services on services.mydomain.com? Sounds
strange.
On 22 Lut, 23:27, Doug wrote:
> I beleive that the standard edition (non-business) is free.
es.
>
> On Feb 20, 5:51 am, Jarek Zgoda wrote:
>
> > Since enabling profiler output is not good for production site (and
> > profiling takes additional response time), I'd like to profile my app
> > on dev server, but as I discovered, the results are completely
>
Since enabling profiler output is not good for production site (and
profiling takes additional response time), I'd like to profile my app
on dev server, but as I discovered, the results are completely
different. Is there any other possibility to see what makes my
application to run slow without pr
I use Ajax api variation and it works without problems.
On 17 Lut, 04:14, ehmo wrote:
> Hey guys,
> i'm trying to use Google Geocoding
> servicehttp://code.google.com/apis/maps/documentation/geocoding/index.html
> via http.
> I generated API key for actual domain and it's not working {u'Status'
I see the same behaviour on OS X, but as it has been stated earlier,
this might be normal.
On 15 Lut, 03:32, "sebastian.ov...@gmail.com"
wrote:
> Hi All,
>
> I was using SDK under windows without any problem. Now I'm using SDK
> 1.1.9 under Ubuntu and for some reason it doesn't update correctly
If exception is raised in the line "result = urlfetch.fetch(url)",
then the "result" variable will not be set. Trying to access it's
"content" attribute after the exception will raise UnboundLocalError
as the "result" variable simply does not exist. Your code was working
by accident.
warreninaust
If you call unicode() on unicode object such weirdness will happen.
Position 0 suggests it's a very beginning of the text. Open index.html
with hex editor and look for e3 byte value.
On 3 Lut, 22:54, Scott wrote:
> Hello,
>
> I'm seeing the following message when trying to render a template
>
31 matches
Mail list logo