Couchbase + Sync Gateway perfomance tuning recomendations?

Hello!

Are there any instructions out there on how to tune Couchbase perfomance and configure Couchbase database and Sync Gateway?

For example in the image below, how to correctly choose Data Service, Index Service etc. memory quotas?
image

Thanks!

Any ideas on this matter? I tried to find some books, but no hope. Last available books dated 2015