we were early adopters of kong thats why we are still in v6 and have not upgraded.
it helped us worry less about cross cutting concerns for our services.
now that traffic/usage has picked up, we are encountering issues.
we have a single node kong deployment. we run kong on a 4core16gb VM on-premise.
the only plugin currently running is the oauth2 plugin.
when testing using ab(apache bench) we see that we are not able to handle 50 concurrent requests.
we get the following types of errors in /usr/local/kong/logs/error.log:
2018/11/20 12:13:06 [error] 26498#0: *79910 [lua] responses.lua:97: generate_token(): Cassandra error: ResponseError: [Write timeout] Operation timed out - received only 0 responses., server: _, request: “POST /accounts/oauth2/token HTTP/1.1”
2018/06/22 12:41:53 [error] 25342#0: *204611 [lua] responses.lua:97: generate_token(): Cassandra error: NoHostAvailableError: All hosts tried for query failed. 127.0.0.1:9042: Host considered DOWN., , server: _, request: “POST /accounts/oauth2/token HTTP/1.1”,
any suggestions to mitigate the issue before we upgrade would be quite helpful.