amphp / amp

A non-blocking concurrency framework for PHP applications. šŸ˜
https://amphp.org/amp
MIT License
4.21k stars 255 forks source link

Cassandra support #183

Open rdlowrey opened 6 years ago

rdlowrey commented 6 years ago

A Cassandra driver would would be super useful. Iā€™m going to try and work on this in the next couple of weeks to get back in the swing šŸ˜€

brstgt commented 6 years ago

See here for an idea a had lately: https://datastax-oss.atlassian.net/browse/PHP-208

If that works, you don't have to implement the whole client. The existing one is pretty sophisticated when it comes to loadbalancing / routing strategies and supports all the latest CS features.

Also it is really fast and already supports async operations (even though not optimal).

Fast: I managed to scan a table with 100k rows / sec on a modern server with a single PHP process.