Limit cpu go-pluginserver

I installed kong on vm (debian 9) and i want to use go to develop plugin but i consider about performance in this issue


it is a reason why i want to use cgroup to limit cpu resource sub process go-pluginserver but i didn’t find out the way to limit sub process by path.