]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- a rudimental sharding (horizontal scaling) system is introduced. This system
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jul 2007 04:05:55 +0000 (04:05 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Jul 2007 04:05:55 +0000 (04:05 +0000)
commit91803812e8a92fa0b7d6137388e107abd96046d1
tree74925b1694262d5068cd5a31097705827a32decf
parent42f8aae98d5fce6a635617b26416e68e0baf45a0
- a rudimental sharding (horizontal scaling) system is introduced.  This system
uses a modified Session which can distribute read and write operations among
multiple databases, based on user-defined functions defining the
"sharding strategy".  Instances and their dependents can be distributed
and queried among multiple databases based on attribute values, round-robin
approaches or any other user-defined system. [ticket:618]
CHANGES
examples/sharding/attribute_shard.py [new file with mode: 0644]
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/orm/session.py
lib/sqlalchemy/orm/shard.py [new file with mode: 0644]
lib/sqlalchemy/orm/unitofwork.py