摘要:
https://www.jianshu.com/p/45ffd2a84143 内核配置 cat /etc/sysctl.conf /etc/hosts /etc/redis sentinel.conf /etc/sentinel_26380.conf /etc/sentinel_26381.conf 阅读全文
posted @ 2018-03-30 09:54
北京涛子
阅读(232)
评论(0)
推荐(0)
|
摘要:
https://www.jianshu.com/p/45ffd2a84143 内核配置 cat /etc/sysctl.conf /etc/hosts /etc/redis sentinel.conf /etc/sentinel_26380.conf /etc/sentinel_26381.conf 阅读全文
posted @ 2018-03-30 09:54
北京涛子
阅读(232)
评论(0)
推荐(0)
摘要:
bash 加密算法 ======================== ======= ======================== Module name Type Description ======================== ======= ==================== 阅读全文
posted @ 2018-03-23 16:40
北京涛子
阅读(225)
评论(0)
推荐(0)
摘要:
https://gist.github.com/zaccrites/c5bcf96ed90907d92042 https://gist.github.com/Leo G/99dd3e1147498daade61 https://gist.github.com/alexanderjulo/913beb 阅读全文
posted @ 2018-03-22 10:57
北京涛子
阅读(308)
评论(0)
推荐(0)
摘要:
Make a Request Passing Parameters In URLs Response Content and Status Code Binary Response Content JSON Request 默认使用标准库json进行序列化,如果想快一点的话,可以使用第三方库ujso 阅读全文
posted @ 2018-03-20 11:03
北京涛子
阅读(652)
评论(0)
推荐(1)
摘要:
使用asyncio.Queue 使用Queue.task_done 和 Queue.join: 阅读全文
posted @ 2018-03-19 17:15
北京涛子
阅读(251)
评论(0)
推荐(0)
摘要:
Threads Subprocess Run a subprocess and read its output Communicate with a subprocess using standard streams 阅读全文
posted @ 2018-03-19 16:34
北京涛子
阅读(986)
评论(0)
推荐(0)
摘要:
server client 阅读全文
posted @ 2018-03-19 12:41
北京涛子
阅读(307)
评论(0)
推荐(0)
摘要:
性能包括2部分 Architecture: Worker processes Stream limits TCP_NODELAY TCP_QUICKACK Tune the Linux kernel 阅读全文
posted @ 2018-03-19 12:06
北京涛子
阅读(313)
评论(0)
推荐(0)
摘要:
```python
import aiohttp
import asyncio
import async_timeout async def fetch(session, url): async with async_timeout.timeout(10): async with session.get(url) as response: retu... 阅读全文
posted @ 2018-03-19 11:26
北京涛子
阅读(194)
评论(0)
推荐(0)
摘要:
如何调度协程,并发运行 asyncio.gather方法可以聚合协程or future 阅读全文
posted @ 2018-03-19 11:22
北京涛子
阅读(134)
评论(0)
推荐(0)
|