在Compose.io(OSS DBaaS 服务)上,现在可以使用兼容Cassandra的”ScyllaDB”

Scylla(发音:/ )是一种NoSQL数据库,可以在Compose.io上使用支持Cassandra兼容性的数据库。

在Bluemix的Compose服务中似乎还无法使用,但可以通过compose.io的web界面进行确认。

由于与Cassandra兼容,无需修改应用程序
当迁移自Cassandra时,仅需简单更改连接地址就可以。

据我所知,听说是这样的。(因为我没有尝试过,所以这只是理论上的消息)

我暂时使用Compose进行了环境部署,并确认可以连接。我在我的Mac电脑上通过brew安装了客户端,并且试用了一下,非常正常可用。如果你一直对cassandra感兴趣,可能可以尝试一下。

スクリーンショット 2016-11-18 16.50.39.png

准备连接

$ brew install cassandra
Warning: You are using OS X 10.12.
We do not provide support for this pre-release version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Downloading https://www.apache.org/dyn/closer.lua/cassandra/3.5/apache-cassandra-3.5-bin.tar.gz
Trying a mirror...
==> Downloading https://archive.apache.org/dist/cassandra/3.5/apache-cassandra-3.5-bin.tar.gz
########################################

https://help.compose.com/docs/connecting-to-scylladb的界面类似于Oracle的SQLPlus.

$ cqlsh sl-xx-xxx-x-portal.x.dblayer.com 16696 -u scylla -p xxxxxx --cqlversion=3.2.1
Connected to Jin-scylladb-xx at v:16696.
[cqlsh 5.0.1 | Cassandra 2.1.8 | CQL spec 3.2.1 | Native protocol v3]
Use HELP for help.
scylla@cqlsh>