I have deployed a CB app using the complete CB package: CB Lite 2.0, SG 2.0 and CB Server Community Edition 5.0.1. The app was working fine until we scaled in users, causing more and more traffic and this caused the SG (of which we have 4 with 8GB RAM each balanced with Nginx) started to consume all the RAM causing the system to slow down to a crawl.
We have been tweaking here and there and it looks like the SG is caching too much data, and I want to reduce that, but before I try it out, what are the downsides of reducing cache limits (or even not allowing cache at all) in SG?
In our app users very rarely share documents, and even when it happens, at least 8-12 hours have passed from the creation or last modification of a document.
Any light on this matter would be very appreciated.