Menu

Post image 1
Post image 2
1 / 2
0

ScyllaDB PHP Driver: the story so far

DEV Community: cassandra·Dusan Malusev·3 days ago
#rQTBnRvR
#dev#driver#extension#zend#build#project
Reading 0:00
15s threshold

The DataStax PHP driver for Cassandra would not compile on PHP 8. That was the whole problem. At the time I was working at Nano Interactive. The entire backend was PHP. We were running Apache Cassandra as a primary data store — session data, event pipelines, a few hot lookup tables — and the driver that talked to it was the official DataStax extension. It worked fine on PHP 7. Then PHP 8 came out, we needed to upgrade, and the extension refused to build. Compile errors in the Zend internals layer. make spitting out pages of incompatible API warnings. I went looking for a fix. There was none. DataStax had effectively abandoned the project — no PHP 8 tag, no branch, no response on the open issues. The last meaningful release was years old. The options were: stay on PHP 7 indefinitely, rewrite our Cassandra layer to use something else, or fix the driver ourselves. why not just switch Switching looked easy on paper.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More