On 31 March 2013 20:10, Sebastian Lauwers <[email protected]> wrote: > On 31 March 2013 20:51, Mateusz Loskot <[email protected]> wrote: >> It is not clear to me what would be role of SOCI here. >> Are you thinking of implementing complete backend and expose >> access to it using SOCI API and syntax features? > > Exactly, yes.
Sounds good. >> Would it require any changes in public API or core? > > Not that I'm currently aware of. It may require a few specifics when > it comes to connecting to the cluster (Cassandra is designed to be > distributed, so instead of one host, you'd list a number of different > hosts to which the queries can be dispatched, multiple connections > could be created, etc), but that part can already be back-end > specific, if I'm not mistaken. Yes, that should be feasible. Recently, Vadim has added connection_parameters feature that may be helpful for this purpose: https://github.com/SOCI/soci/pull/98 https://github.com/SOCI/soci/pull/99 > Regardless of the above, if I can not find a way to make CQL support > in SOCI painless (as in, requiring changes to the core or the API), > then it completely defeats the purpose of introducing CQL support to > SOCI :). It would be interesting to evaluate SOCI for that purpose anyway. For example, I have been thinking of possible way to support NoSQL databases with JSON-based queries. SOCI core is just a proxy transporting query and data source/sink objects to/from backend. So, backends hold majority of responsibilities here, thus it should be possible to implement various flavours of backends. > However, from what I can tell (I'm hardly a Cassandra expert > myself), having Cassandra support in SOCI would benefit me massively, > as moving data from one type of DB to another is exactly what I have > to do. I agree. >> I don't have time to learn about Cassandra/CQL, but personally >> I'm generally very supportive to new features as long as 1) they >> do not significantly affect existing codebase, 2) other developers >> and major users don't object. > > I don't intend to put any burden on anyone but myself (and my company, > if it is taken as a company project). I'd be glad to hear the feelings > of others. I'll try to help as much as I can. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
