C’s Random Collection
207 subscribers
98 photos
5 videos
20 files
1.09K links
Personal tech notes, all opnions are mine.
Download Telegram
https://wintercg.org/ Web Interoperable Runtimes Community Group, aims to define universal APIs spec for both browser and serverside. I believe it will pave way for edge workers development and further adoption. #JS #javascript #runtime #deno #worker #edge #edgecomputing
C’s Random Collection
BLeak.pdf
扫完一遍,挺有意思的,不过角度都是从 browser 出发的,visit page 多次对比各个 visual state 下的 heap snapshot。感觉 port 到 NodeJS 不太适用,但 Cloudflare worker 好像非常合理(call worker 很多次来对比 heap)?如果真的能对 Worker 去做 memory leak detection 还挺有意思的 #memoryleak #Javascript #V8
JS / Nodejs Memory Leak thread #memoryleak #Javascript #thread #collection
#sideprojectidea leakscope automatic memory leak detection & diagnosis tool for CloudFlare Worker, Deno, NodeJS and more... JS runtime #Javascript #runtime
https://www.jsv9000.app/ JS Event Loop viz,最近写 worker 需要对 event loop 理解的更深入,这个网站很有用 #javascript #v8 #eventloop
https://zuplo.com/blog/the-script-will-never-generate-a-response-on-cloudflare-workers Cloudflare Worker 有这个比较 tricky 的问题(不知道现在 resolve 没有),worker 修改过了 event loop,来实现 per request 的一些功能,而如果另一个 request 在等前一个 request 的 Promise,那就会 The script will never generate a response. #javascript #cloudflare #worker #v8