Orange-OpenSource / YACassandraPDO

Cassandra PDO Driver fork
Apache License 2.0
85 stars 32 forks source link

Question: 2.1 compatibility #76

Closed chisleu closed 9 years ago

chisleu commented 9 years ago

Is this stable enough for production system use with Cassandra 2.0? I understand this driver does not support CAS.

Is this driver compatible with Cassandra 2.1? The ability to index collections is a major deal.

I would prefer to use a PHP DB driver rather than writing an interface API in node.js.

sandvige commented 9 years ago

We're using this driver in production, and we're serving 1.000.000+ hits / day / servers.

It is compatible with Cassandra 2.0+ as it's a thrift based driver.

What do you mean by indexing collection ? Being able to work with maps / sets / lists ? Yes it's possible but you have to handle it yourself as it's CQL based (crafting yourself the query).

We're using this driver through doctrine btw

Hope it helps :)

chisleu commented 9 years ago

Very nice to hear! Thank you very much.

ghost commented 9 years ago

@sandvige We're using this driver through doctrine btw

Can you give us a link to the doctrine driver you are using? Or it's not on github?

sandvige commented 9 years ago

I can make it open source someday, but this project is not a standalone one, so I'll have to isolate the code. I can create a gist with the most important files if you want

ghost commented 9 years ago

I can create a gist with the most important files if you want

Thanks, but I want to use a working solution. I'm not so familiar with doctrine internals to be able to build a driver from parts.

sandvige commented 9 years ago

https://gist.github.com/sandvige/db7456d340e6b46fd7aa