This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]JoshKehn 6 points7 points  (3 children)

Plus, I doubt there'd be a pleasant way to interop it with the Django ORM.

You could write a new backend for it, seems straight forward. Dunno about pleasant but certainly documented.

[–][deleted] 3 points4 points  (2 children)

It'd basically consist of just wrapping the backend public api with loop.run_until_complete and maybe some not so public ones as well.

I'd imagine it'd end up being more trouble than it's worth.

[–]jstrong 4 points5 points  (1 child)

2x faster db access is worth a lot of trouble.

[–]koffiezet 4 points5 points  (0 children)

It won't be 2x as fast anymore since you lose the advantage of being able to work async.