APIJSON icon indicating copy to clipboard operation
APIJSON copied to clipboard

apijson如何处理性能问题?

Open imlida opened this issue 4 years ago • 1 comments

如某字段未建索引,却被用户进行大量非法查询,这会导致数据库卡死,apijson是如何解决这个问题的?

imlida avatar Jan 11 '22 13:01 imlida

限流,可在 DemoParser 重写 getMaxQueryDepth, getMaxQueryCount, getMaxQueryPage, getMaxSQLCount, getMaxUpdateCount, getMaxObjectCount, getMaxArrayCount 等来自定义 https://github.com/Tencent/APIJSON/issues/147

apijson的性能如何?有比较权威的数据吗? https://github.com/Tencent/APIJSON/issues/231

腾讯业务百万数据 6s 响应,APIJSON 性能优化背后的故事 https://my.oschina.net/tommylemon/blog/5375645

TommyLemon avatar Jan 11 '22 13:01 TommyLemon