thobbs / phpcassa

PHP client library for Apache Cassandra
thobbs.github.com/phpcassa
MIT License
248 stars 78 forks source link

Support for Cassandra v2+ #142

Closed riotCode closed 9 years ago

riotCode commented 10 years ago

Update phpcassa package to support the lastest versions of Cassandra.

laapsaap commented 10 years ago

+1

kaosdynamics commented 10 years ago

:+1:

ricardclau commented 10 years ago

@thobbs any plans for that? Cassandra 2.0 + CQL3 is really powerful and it would be great to have either this library or a brand new one supporting it. Can you tell us a little bit about DataStax's plan for PHP support?

Perfect-Web commented 10 years ago

+1

thobbs commented 10 years ago

@ricardclau we do plan to write a php driver that utilizes the native protocol and CQL3, similar to the other drivers here: https://github.com/datastax. We will likely wrap the C++ driver to make the PHP driver. We don't have an exact timeline yet, but I would guess that it might be about a year before we have a beta version of that. (I wish it could be sooner, we just have limited resources.)

drewbroadley commented 10 years ago

Talk with the DataStax guys, they should be able to help with some resource.

On Wednesday, February 5, 2014, Tyler Hobbs notifications@github.com wrote:

@ricardclau https://github.com/ricardclau we do plan to write a php driver that utilizes the native protocol and CQL3, similar to the other drivers here: https://github.com/datastax. We will likely wrap the C++ driver to make the PHP driver. We don't have an exact timeline yet, but I would guess that it might be about a year before we have a beta version of that. (I wish it could be sooner, we just have limited resources.)

— Reply to this email directly or view it on GitHubhttps://github.com/thobbs/phpcassa/issues/142#issuecomment-34094369 .

Cheers, Drew Broadley

e: drew@broadley.org.nz p: +64 (0)21 519 711 m: P O Box 488, Wellington, New Zealand w: http://blog.drew.broadley.org.nz/ ln: http://nz.linkedin.com/in/drewbroadley

thobbs commented 10 years ago

I am a DataStax guy :) (I wrote the new python driver.)

drewbroadley commented 10 years ago

Well in that case, I'll talk to Scott and moan about lack of resource for PHP CQL3 native driver ;)

On Wed, Feb 5, 2014 at 9:26 AM, Tyler Hobbs notifications@github.comwrote:

I am a DataStax guy :) (I wrote the new python driver.)

— Reply to this email directly or view it on GitHubhttps://github.com/thobbs/phpcassa/issues/142#issuecomment-34103018 .

sr78ger commented 10 years ago

@thobbs is there any chance for an updated version of phpcassa in 2014 ?

thobbs commented 10 years ago

@sr78ger it may get some minor updates, but probably no major changes

llmuculusll commented 10 years ago

+1

gonzaloserrano commented 10 years ago

Wow, i didn't know that PHP had this low priority to DataStax :(

trK54Ylmz commented 10 years ago

Should be a official CQL driver for PHP, maybe as a C extension.

thobbs commented 10 years ago

@gonzaloserrano sorry, it's just a case of limited resources. We have to prioritize some languages over others, and PHP isn't popular enough within the Cassandra community to deserve a higher prioritization. However, we do plan to write an official PHP CQL client, and as @trK54Ylmz suggests, it will likely wrap the C++ library.

PHP is on the short list of remaining languages to support officially, we're just not there yet.

drewbroadley commented 10 years ago

The concern I have is DataStax have been getting someone local here to push PHP and C*.

And to now hear it's this low priority after adopting PHP and C* as core components of my product after receiving a large round of investment. This really annoys me.

On Thursday, July 17, 2014, Tyler Hobbs notifications@github.com wrote:

@gonzaloserrano https://github.com/gonzaloserrano sorry, it's just a case of limited resources. We have to prioritize some languages over others, and PHP isn't popular enough within the Cassandra community to deserve a higher prioritization. However, we do plan to write an official PHP CQL client, and as @trK54Ylmz https://github.com/trK54Ylmz suggests, it will likely wrap the C++ library https://github.com/datastax/cpp-driver.

PHP is on the short list of remaining languages to support officially, we're just not there yet.

— Reply to this email directly or view it on GitHub https://github.com/thobbs/phpcassa/issues/142#issuecomment-49219934.

Cheers, Drew Broadley

e: drew@broadley.org.nz p: +64 (0)21 519 711 m: P O Box 488, Wellington, New Zealand w: http://blog.drew.broadley.org.nz/ ln: http://nz.linkedin.com/in/drewbroadley

thobbs commented 10 years ago

@drewbroadley I'm sorry to hear that! Whoever you spoke with should have been more clear about the current state of PHP support. As far as I'm aware, we haven't said anything about PHP support other than what I've said here on this ticket. I'll try to figure out what happened there.

penfold45 commented 10 years ago

Is this a dead project know?

@thobbs I suspect there is not much php adoption because there does not appear to be very good support for php. I really want to use cassandra but cannot seem to find an active php library. Great shame but guess i might have to use something else.

drewbroadley commented 10 years ago

I have really appreciated the efforts behind this library, I've had to drop Cassandra in the mean time due to poor support and performance of Cassandra 2.1 with this library.

I'm now focusing on this library which has binary support for PHP: https://github.com/evseevnn/php-cassandra-binary

On Wednesday, October 1, 2014, Alistair Prestidge notifications@github.com wrote:

Is this a dead project know?

@thobbs https://github.com/thobbs I suspect there is not much php adoption because there does not appear to be very good support for php. I really want to use cassandra but cannot seem to find an active php library. Great shame but guess i might have to use something else.

— Reply to this email directly or view it on GitHub https://github.com/thobbs/phpcassa/issues/142#issuecomment-57426556.

Cheers, Drew Broadley

e: drew@broadley.org.nz p: +64 (0)21 519 711 m: P O Box 488, Wellington, New Zealand w: http://blog.drew.broadley.org.nz/ ln: http://nz.linkedin.com/in/drewbroadley

craveica commented 10 years ago

There is also a PHP library that works only with Cassandra 2.1+ (Protocol v3) (https://github.com/duoshuo/php-cassandra)

thobbs commented 10 years ago

@penfold45 I will still fix any bugs that are discovered, but I do not plan to add any major features. As others have suggested, I recommend looking into one of the other PHP libraries that are available for now.

penfold45 commented 10 years ago

OK thanks for this info. @thobbs do you think you could add this information to the README.mkd file so it is easy to see for other people?

Thanks

jippi commented 9 years ago

bump

allroundninja commented 9 years ago

I would love support for Cassandra V2.x too. Soo... upvote! :+1:

rskvazh commented 9 years ago

+1

songlin commented 9 years ago

+1

trK54Ylmz commented 9 years ago

+1

argakon commented 9 years ago

+1

avalanche123 commented 9 years ago

Hello folks, I'm happy to announce that the alpha release of the official DataStax PHP Driver for Apache Cassandra is now available.

Head over to the repo for more info - https://github.com/datastax/php-driver

Cheers!