[sqlalchemy] Sharding without the ORM

2014-02-19 Thread Silviu Dicu
Hi,
 
I have a legacy application that doesn't use the ORM but I need to implement
horizantal sharding on mysql. 
Did anybody has done something similar or have any ideas.
 
thanks!
 
-silviu
 
ps: the examples I've seen are using orm 
(examples/sharding/attribute_shard.py

-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sqlalchemy] Sharding without the ORM

2014-02-19 Thread Claudio Freire
On Wed, Feb 19, 2014 at 1:03 PM, Silviu Dicu silviud...@gmail.com wrote:
 Hi,

 I have a legacy application that doesn't use the ORM but I need to implement
 horizantal sharding on mysql.
 Did anybody has done something similar or have any ideas.

You mean besides manually computing a consistent hash and binding the
query to one engine or another?
(which btw isn't hard at all)

-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [sqlalchemy] Sharding without the ORM

2014-02-19 Thread Silviu Dicu
yes - if something is built in already.

On Wednesday, 19 February 2014 12:46:48 UTC-5, Klauss wrote:

 On Wed, Feb 19, 2014 at 1:03 PM, Silviu Dicu 
 silvi...@gmail.comjavascript: 
 wrote: 
  Hi, 
  
  I have a legacy application that doesn't use the ORM but I need to 
 implement 
  horizantal sharding on mysql. 
  Did anybody has done something similar or have any ideas. 

 You mean besides manually computing a consistent hash and binding the 
 query to one engine or another? 
 (which btw isn't hard at all) 


-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.