apisix-go-plugin-runner icon indicating copy to clipboard operation
apisix-go-plugin-runner copied to clipboard

request help: replacing std/json with json-iterator/go

Open kwanhur opened this issue 2 years ago • 1 comments

Issue description

Improving json decode conf performance, use json-iterator/go to replace encoding/json on plugins implement.

Environment

  • APISIX Go Plugin Runner's version:
  • APISIX version:
  • Go version:
  • OS (cmd: uname -a):

kwanhur avatar May 03 '22 08:05 kwanhur

Is there any report about the std/json affecting the performance in the hot path? We would prefer to use the std library if the performance is not critical.

spacewander avatar May 04 '22 12:05 spacewander