ydf0509
ydf0509
 it is too heavy for emit a msg,file lock performance is very bad on win,file lock performance is also not good on linux
>  > > it is too heavy for emit a msg,file lock performance is very bad on win,file lock performance is also not good on linux why not consider...
nb_log_file_handler.NbLogFileHandler is 100 times faster than concurrent_log_handler.ConcurrentRotatingFileHandler on windwos. https://github.com/ydf0509/nb_log_file_handler concurrent_log_handler.ConcurrentRotatingFileHandler ```python import multiprocessing import logging import time from concurrent_log_handler import ConcurrentRotatingFileHandler logger = logging.getLogger('hello') fh = ConcurrentRotatingFileHandler('xx2.log',maxBytes=1000*1000,backupCount=3) logger.addHandler(fh) #...
nb_log_file_handler.NbLogFileHandler always use a new file name when rotate,so it dose not have the problem rotate error when use multi proecss
from universal_object_pool.contrib.http_pool import HttpOperator, ObjectPool 这个在万能对象池里面, 建议用pycahrm编程,能自动补全导入
universal_object_pool 升级到1.2
补上了 HTTPSConnection
可以直接使用universal_object_pool ,nb_http_client 是 universal_object_pool 一个副产品, 是使用万能对象池的教学的副产品
funboost支持3.6-3.11了已经,
extras_require 已经加了。  pip install funboost[extra_brokers] 安装所有消息队列三方包,否则只安装部分三方包