Kong使用Cassandra或Postgres. Cassandra知道用于编写繁重的应用程序.我没有看到Kong api网关那么重写,也没有一个表使用Cassandra重要的功能分区键之一.我怀疑是为什么Cassandra用于Kong,有什么特别的原因吗?我们不能使用RDBMS来实现这一点.
解决方法
根据
https://getkong.org/about/faq/#which-datastores-are-supported的Kong FAQ
Postgresql的
It is a good candidate if the setup you are aiming at is not distributed
卡桑德拉
Kong can use Cassandra as its primary datastore if you are aiming at a distributed,high-availability Kong setup. The two main reasons why one would chose Cassandra as Kong’s datastore are: – An ease to create a distributed setup (ideal for multi-region). – Ease to scale