Bye,
Waldemar Kornewald
On Tue, Feb 10, 2009 at 4:20 PM, Chris Moyer <kope...@gmail.com> wrote:
> boto.sdb.db was meant to be more a copy of Google's appengine, not
> Django (but they are very similar). At the time GAE was pulling a lot
> more attention then Django was so that's where that was going. While
> we could make the Model stuff work exactly like Django, there are
> other restrictions that Django uses that simply wont work (like how
> they handle sessions), so I'm not sure how useful that would be if
> you're trying to just get Django to be more cloud-friendly.
Why do you think that sessions won't work? I don't see any special
feature that would prevent them from working. In the worst case one
can write a custom backend. The biggest problem with SimpleDB is
eventual consistency, but that doesn't necessarily have to affect
sessions.
At least, I thought it would be possible to configure the
load-balancer such that a user always gets handled by the same web
server and the web server always gets handled by the same SimpleDB
node. Or is that not possible?
Bye,
Waldemar Kornewald
Actually, they're stored in the DB and you can choose/write different
backends like memcache, file system, and whatever you could imagine,
so that's definitely not a problem. Django is really flexible and I
think it would have many more advantages if Django could be used with
SimpleDB than writing a clone of App Engine's proprietary API. We
really need to work around vendor lock-in, so open-source APIs should
better be independent of any provider. How cool would it be if you
could move your Django app between SQL-based and cloud providers with
minimal or no modifications? :D
Bye,
Waldemar Kornewald
On Wed, Feb 11, 2009 at 1:38 AM, mitch <Mitch....@gmail.com> wrote:
> I agree that would be a good thing. In fact, my very first attempt at
> building an ORM-style system using SimpleDB was to try to integrate it
> with Django. That was probably two years ago (I was in the private
> beta for SimpleDB). At that time, it just didn't seem like there was
> enough of an interface between Django and the underlying DB to wedge
> SimpleDB in there. It sounds like that might have changed. If not,
> I'm sure there are people out there who are much more familiar with
> Django that I am.
>
> I think it would be an awesome project and I'd certainly help as much
> as I am able.
Cool. You could join the discussion here and add your view on what is
necessary to implement SimpleDB support or at least convince the
Django developers that a better backend API should get very high
priority on their task list:
http://groups.google.com/group/django-developers/browse_thread/thread/516626d18f6f3fca
Bye,
Waldemar Kornewald