Posted Sat, 19 Dec 2015 13:45:46 +0100 in reply to
Taylor Gronka
Reply
Am 14.12.2015 um 20:58 schrieb Taylor Gronka:
Hey ya'll,
I'm ready to start working on this in the next month or so.
I will probably pull heavily from the code at https://github.com/rjmcguire/cassandra-d
This should definitely be a good start. It's written more or less as a
literal translation of the protocol specification, so it's a good
reference. Ideal would of course be to extend/improve the existing code
base, as it's quite common in the D community that there are a lot of
projects that never get "finished". Maybe the cassandra-d repository
could be moved to its own GitHub organization, similar to what happened
to the mysql-native one.
However, I still want to try writing much of it from scratch. I know the vibe.d website has some sections on writing db drivers. Would anyone have other recommendations? Perhaps a book or online tutorial?
I think the vibe.d specific parts are quite trivial, because there is
not much more involved than sending and receiving bytes from the
connection and possibly maintaining a connection pool. AFAIR,
cassandra-d already supports a connection pool, so that would be a good
reference.
I might as well mention - there is another project I want to work on, so there's a chance I might grab another Cassandra driver and just set it up as a remotely hosted system.
Thanks,
Taylor