摘要:
whatever 1. 并发 并发concurrency在有限的CPU资源上,尽可能快的执行多线程任务。对I/O密集型的计算可以使用并发提高程序性能。 - 多进程:多进程资源开销大,进程间通信成本高 - 多线程:多线程资源开销小,易于通信,但涉及线程安全、死锁等复杂问题。 2. Goroutine 阅读全文
posted @ 2019-10-14 21:06
森淼clover
阅读(158)
评论(0)
推荐(0)
摘要:
自用笔记,未完成。 1. 原理 1)为什么需要DB连接池 https://github.com/onlyliuxin/coding2017/issues/451(这个解释的比较棒) https://vladmihalcea.com/the-anatomy-of-connection-pooling/ 阅读全文
posted @ 2019-10-14 00:59
森淼clover
阅读(896)
评论(0)
推荐(0)

浙公网安备 33010602011771号