Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
(Re)Using Django Models in eventlet environment
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
ty...@monkeypox.org  
View profile  
 More options Nov 3, 7:40 pm
From: ty...@monkeypox.org
Date: Tue, 3 Nov 2009 16:40:02 -0800
Local: Tues, Nov 3 2009 7:40 pm
Subject: (Re)Using Django Models in eventlet environment

Howdy folks, I'm working on some backend services using eventlet[0] and I would
like to re-use my Django models code, doing so "out of the box" is proving more
difficult than I had hoped.

In order to prevent blocking coroutines, I believe I need to find some way to
smuggle a cursor coming from the eventlet ConnectionPool[1] into django.models,
but past over-writing django.db.connect, I can't find a "clean" means of doing
so.

Any advice? (Here's hoping donovan's lurking around here :))

Cheers,
-R. Tyler Ballance
--------------------------------------
 GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
   Blog: http://unethicalblogger.com

[0] http://eventlet.net
[1] http://eventlet.net/doc/modules/db_pool.html

  application_pgp-signature_part
< 1K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ty...@monkeypox.org  
View profile  
 More options Nov 4, 4:09 pm
From: ty...@monkeypox.org
Date: Wed, 4 Nov 2009 13:09:02 -0800
Local: Wed, Nov 4 2009 4:09 pm
Subject: Re: (Re)Using Django Models in eventlet environment

On Tue, 03 Nov 2009, ty...@monkeypox.org wrote:
> Howdy folks, I'm working on some backend services using eventlet[0] and I would
> like to re-use my Django models code, doing so "out of the box" is proving more
> difficult than I had hoped.

> In order to prevent blocking coroutines, I believe I need to find some way to
> smuggle a cursor coming from the eventlet ConnectionPool[1] into django.models,
> but past over-writing django.db.connect, I can't find a "clean" means of doing
> so.

> Any advice? (Here's hoping donovan's lurking around here :))

For what it's worth, resolved this issue on the eventlet mailing list per this
post: https://lists.secondlife.com/pipermail/eventletdev/2009-November/0005...

Cheers,
-R. Tyler Ballance
--------------------------------------
 GitHub: http://github.com/rtyler
Twitter: http://twitter.com/agentdero
   Blog: http://unethicalblogger.com

  application_pgp-signature_part
< 1K Download

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google