milvus/pkg/log
Ted Xu e7ea1d7a04
enhance: improve log encoding performance on proxy nodes (#36123)
See #36122

This PR is designed to enhance log performance through two improvements:

1. Optimize JSON encoding by switching JSON serializer to
`json-iterator`.
2. Adding support of lazy initialization `WithLazy`.

---------

Signed-off-by: Ted Xu <ted.xu@zilliz.com>
2024-09-11 14:51:07 +08:00
..
config.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
global.go enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
lazy_with.go enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
log_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
log.go fix: log can not reduce level (#28750) 2023-11-28 10:02:27 +08:00
mlogger_test.go Add staticcheck linter and fix existing problems (#27174) 2023-09-19 10:05:22 +08:00
mlogger.go enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
OWNERS Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
zap_log_test.go Remove deprecated io/ioutil usage (#27747) 2023-10-17 20:32:09 +08:00
zap_test_logger.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
zap_text_core.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
zap_text_encoder_test.go enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
zap_text_encoder.go enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00