摘要: ``` import threading # lock = threading.RLock() # RLock 递归锁 lock = threading.RLock() Counter = [0] def add(C): lock.acquire() C[0] = C[0] + 1 lock.release() if __name__ == '__main__': count = 0 thread 阅读全文
posted @ 2020-03-09 14:55 hurz 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 阿里云 官方 Log Pilot + Elasticsearch + Kibana https://help.aliyun.com/document_detail/86552.html log Pilot 有两种工具对日志进行收集 1. fluentd 2. filebeat 我使用的是filebe 阅读全文
posted @ 2020-03-09 10:27 hurz 阅读(933) 评论(0) 推荐(0) 编辑