what does it means "heavy load"? if not in "heavy load", it can work ? On
the other hand, do you want the tcp connections or the http req numbers?
>From the go package, it appears that getting the basic tcp connections in
http.server is impossible.
在 2019年2月12日星期二
As discuss above, i think the answer is decoupling the P and logger,
storing the logs when the logger is down.The push and pull pattern would be
better.The p sends all logs and the logger pulls all logs.Just keep a
bigger storage for un-consumed logs.Queue may be is a better way but using
a