I recently finished writing a custom plugin in Kong 2.0.3 using golang to proxy API calls to correct upstream instance depending on various conditions like request path. It also decodes JWT and based on the parsed information decides which underlying upstream instance to route to. We have a heroku stack and I have upgraded kong heroku build pack to use Kong 2.0.3 (https://github.com/heroku/heroku-buildpack-kong/pull/25) so we can run on heroku.
While in development it works OK I am worried about production usage using golang especially because of the fact that it’s an out of process plug-in and uses MessagePack RPC as a bridge to communicate. Can the go pluginserver handle production grade loads ?Anyone who has been using go plugins in production who can share his experience will be of great help.