05 2019 档案
摘要:spring 的 async 注解 https://www.baeldung.com/spring-async@Async will make it execute in a separate thread i.e. the caller will not wait for the completi
阅读全文
摘要:理解 python 的 async:1. 协程后面的技术也是 IO 多路复用, Nginx 和 nodejs 都充分利用了这种机制. 2. Flask 线程中为什么不能直接使用标准库 asyncio 来支持异步? asyncio 一定要有应该eventloop, 而这个 eventloop 必须运行
阅读全文
摘要:web网站包含前端和后端, 异步处理可以用在前端, 也可以用在后端. 前端 jquery 进行 ajax 请求时, 可设置 async 属性为 true, 并为 success 设置一个 callback 函数, 在服务端返回之前, 浏览器可以执行 ajax 之后的代码, 当服务器端返回后, jqu
阅读全文
摘要:最近用到了 node-gyp 这个工具, 是node 社区对 google gyp 编译工具的一个封装, 使用 node-gyp 工具可以用C++为node 项目编写 addon. 了解了一下 google gyp 工具, gyp 的意思是 generate your project. 该工具是ch
阅读全文
摘要:视频 无闻 老师的《Go 编程基础》视频https://github.com/Unknwon/go-fundamental-programming 图书 Go语言高级编程https://studygolang.com/book/70https://books.studygolang.com/adva
阅读全文