[Twisted-Python] sAsync 0.1

Ed Suominen general at eepatents.com
Fri Jun 30 09:59:56 MDT 2006


Version 0.1 of sAsync, "SQLAlchemy Done Asynchronously" has been
released at http://foss.eepatents.com/sAsync. It provides a
Twisted-compatible way to use SQLAlchemy.

There are now some usage examples at
http://foss.eepatents.com/sAsync/wiki/Examples thanks to some people who
are apparently already using the package.

"sAsync offers asynchronous access to the outstanding SQLAlchemy package
by Michael Bayer. It is built around an 'access broker' object that
provides a priority-queued asynchronous interface to database accesses.
By wrapping your database-access methods in a @transact decorator, you
can put the underlying method call in a queue with whatever scheduling
priority you designate and immediately obtain a Deferred object that
references the eventual result of the database transaction. The access
broker also includes structure for convenient and integrated table
setup, startup, and shutdown.

"The package also provides higher-level SQLAlchemy enhancements
including persistent item storage with deferred read and write results,
and a persistent dictionary-like object using that storage. Text
indexing and searching, again with deferred 'behind the scenes'
processing, will be included at some point."




More information about the Twisted-Python mailing list