Running Twake with Cassandra

The Cpu requirement of Scylla is an issue as I as need to deploy it on “old” or not compatible plateforme.

Any recommendations ? What should be the driver in Parameters.php ? is pdo_cassandra still compatible/valid

Regards,
Nick

Hi, currently we are only compatible with Cassandra or ScyllaDB unfortunately. But we started a work on our backend to be compatible back with MongoDB and SQL.

I did not test this feature since a while, but we come from MySQL initially, so you may be able to change pdo_cassandra to pdo_mysql . If you try it keep me updated !

1 Like

Hi Romaric,

thank you for the reply. Finally I just change for Cassandra (last version) and so far so good.
I’m using Twake in a container environment and try to use the .regular container for each service which is not Twake specific like Cassandra, Rabbitmq, Elasticsearch (downgraded at version 6.4.3) to mutualize these services with different clients.

My challenges are to run Twake on an internal Docker server and make is available through an Apache proxy, I would like to correct the ‘type’ issue to be able to use the last version of elasticsearch and integrate my gitlab server.

Fun to come :wink:

Regards,
Nick

Good luck and don’t forget to share your work with us!

1 Like

Hi Romaric,

for information I try with the folowing information
“driver” => “pdo_mysql”,
“host” => “mysql01”,
“port” => 3306,
“dbname” => “myDatabase”,
“user” => “twake01”,
“password” => “myPassword”,

And the connection was not really working :wink:

:hourglass_flowing_sand:Waiting for ScyllaDB/Cassandra connection
… not found, retry in 5 seconds (timeout 360s)

For information I have validated the setup by adding mysql-client package and testing manually the connection successfully with the same parameters…

Arg! We are implementing a compatibility with Cassandra and MongoDB in our new backend, it will be available in some months :slight_smile:
The work to make it compatible with mysql will be easier.