Details

    • Improvement
    • Status: Resolved
    • Urgent
    • Resolution: Duplicate
    • None
    • None
    • all

    Description

      It's really a shame that such a great project like Cassandra doesn't support a way for it to be used from within a C application.
      Thrift has never worked for C or it is very poorly documented. Either way, integrating Cassandra with an application written in C is just not possible in an elegant manner at the current moment in time.

      With the development of CQL, it would really be great if one could run CQL commands from within a C library, very much like libmysqlclient.

      Attachments

        Activity

          I agree that C (and C++) access to Cassandra is pretty lacking at the moment. The problems you mention with thrift+c is part of the reason for that: any C driver for Cassandra would have to run over thrift (though the burden would be all the driver devs, not everyone who wants to use C and Cassandra together).

          Even for CQL though, a C driver will still be communicating via thrift and having to deal with all the ... eccentricities that come along with it.

          mdennis Matthew F. Dennis added a comment - I agree that C (and C++) access to Cassandra is pretty lacking at the moment. The problems you mention with thrift+c is part of the reason for that: any C driver for Cassandra would have to run over thrift (though the burden would be all the driver devs, not everyone who wants to use C and Cassandra together). Even for CQL though, a C driver will still be communicating via thrift and having to deal with all the ... eccentricities that come along with it.

          a C driver will still be communicating via thrift

          At least until CASSANDRA-2478 is hashed out and implemented.

          brandon.williams Brandon Williams added a comment - a C driver will still be communicating via thrift At least until CASSANDRA-2478 is hashed out and implemented.

          Closing this as duplicate of CASSANDRA-2478. This is not saying C support wouldn't be useful/needed, but there is just not that many possibilities:

          • either thrift adds better support for it – this has to do with the thrift project.
          • or we wait for CASSANDRA-2478 and then someone creates a C driver using that (note that CQL drivers live out of tree so even post-2478 there is not much point to letting this ticket open).
          slebresne Sylvain Lebresne added a comment - Closing this as duplicate of CASSANDRA-2478 . This is not saying C support wouldn't be useful/needed, but there is just not that many possibilities: either thrift adds better support for it – this has to do with the thrift project. or we wait for CASSANDRA-2478 and then someone creates a C driver using that (note that CQL drivers live out of tree so even post-2478 there is not much point to letting this ticket open).

          People

            Unassigned Unassigned
            vladpaiu Vlad Paiu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: