Rate Limit plugin and cluster configuration and hybrid mode

Hi all,

when you set the Rate limit plugin to cluster configuration (Use Database), how are the instances communicating with the Database? Are they writing directly into the Database or do they report to the controller and then the controller writes the rate limit counter into the Database, or does each instance write into the Database directly?