>> - I have a pool of connection to multiple drizzle servers, say >> d1.yeban.in, d2.yeban.in >> - query = "INSERT INTO Users VALUES (4, 'Anurag", 'Priyam');" >> - now when I do something like $drizzle.sharded_query(key, query), >> depending on the sharding implementation, the query will be routed to >> the appropriate drizzle server >> - so, after 1000 writes some values are in d1.yeban.in, while others >> in d2.yeban.in > > I doubt it, as that'd require a SQL parser in the client (to retrieve > the key from the query text.
I am sorry, I didn't understand. Are you referring to the key to identify a shard? I am passing it as 'key' in $drizzle.sharded_query(key, query). -- Anurag Priyam http://about.me/yeban/ _______________________________________________ Mailing list: https://launchpad.net/~drizzle-discuss Post to : [email protected] Unsubscribe : https://launchpad.net/~drizzle-discuss More help : https://help.launchpad.net/ListHelp

