If you're on Python, the cheapest option is currently 0 discounted hours,
as the normal frontend hours are already discounted, until December.
Current rates are:
Python Frontend: $0.04/hour (normal rate $0.08/hour)
Discounted hours: $0.05/hour
Unless I've missed something?
--
You received th
I think it's basically possible to do locking, mutexes, semaphores, etc in
memcache, by taking advantage of some of the semantics, plus the new-ish
compare & store stuff. There's the obvious caveat that it could be flushed
without warning, or disabled for a while, so it's not a high reliability
You can't update just a single property/attribute of an entity unless you
already know the values for all of the others. If it's frequently updated,
careful use of memcache may allow you to avoid the db.get, but otherwise you
have to read it first.
An alternative, if you just have say 1 proper
To be honest, if any part of the GAE servers are compromised, they have your
entire application (everything you've uploaded) and data right there, if
they have full control over the server host. Securing the system's memory &
swap is not going to offer terribly much at that point.
This is just
Nick, any comment on my approach of changing the PolyModel's class via
db.to_dict and creating a new model with the same key? That seems to me
like a relatively clean & safe way to do it. The desire to be able to do
this for my case, is to be able to move records from Person to User, then
Use
You should probably use some other template system (e.g. django.template),
as webapp.template is going to be deprecated soon.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To view this discussion on the web visit
https://groups.google.c
Here's a method I've discovered for changing the class on PolyModel, which I
think is relatively clean:
ent1 = Model1.get(…) # Or get_by_id, etc
dict = db.to_dict(ent1)
del dict['class']
# Other changes to dict, as required, adding/removing properties
ent2 = Model2(key=ent1.key(), **dict)
ent2.p
You should also take a look at multitenancy / namespaces (same feature, 2
different names for it).
http://code.google.com/appengine/docs/python/multitenancy/
I'd guess it can also be done in Java, my GAE experience is all Python. In
Python, you setup the default namespace for a request in your
After a little testing, I discovered a flaw in my previously posted
technique, namely that it was generating uint64 IDs, when the datastore will
only accept non-zero uint63s. I'd also forgotten to include my UUIDProperty
class. Here's the updated version. The question remains whether there's
Hi folks,
I've been pondering the best approach to modelling objects where the objects
in my GAE datastore correspond to a subset of objects in an external DB
where primary keys are UUIDs. As I expect most of my records in GAE to
really be quite small, I feel it's worth avoiding the storage si
10 matches
Mail list logo