Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Cassandra is used for Kong Api Gateway

Kong uses Cassandra or Postgres. Cassandra is know for write heavy application.I don't see Kong api gateway is that much write heavy,also none of table uses Cassandra one of the important feature partition key. My doubt is why Cassandra is used for Kong,is there any specific reason? Can't we acheive this using RDBMS.

like image 423
Nishat Avatar asked Aug 03 '17 12:08

Nishat


1 Answers

As per the Kong FAQ at https://getkong.org/about/faq/#which-datastores-are-supported

Postgresql

It is a good candidate if the setup you are aiming at is not distributed

Cassandra

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

like image 141
Gary Avatar answered Nov 10 '22 02:11

Gary