Profefe

Posted by 夏泽民

https://gianarb.it/blog/go-continuous-profiling-profefe https://github.com/profefe/profefe here are a lot of articles about profiling in Go. Julia Evans for examples wrote “Profiling Go programs with pprof” and I rely on it when I do not remember how to properly use pprof.



BitTorrent

Posted by 夏泽民

https://blog.jse.li/posts/torrent/ https://github.com/veggiedefender/torrent-client Building a BitTorrent client from the ground up in Go Jan 4, 2020 tl;dr: What is the complete path between visiting thepiratebay and sublimating an mp3 file from thin air? In this post, we’ll implement enough of the BitTorrent protocol to download Debian. Look at the Source code or skip to the last bit. BitTorrent is a protocol for downloading and distributing files across the Internet. In contrast with the traditional client/server relationship, in which downloaders connect to a central server (for example: watching a movie on Netflix, or loading the web page you’re reading now), participants in the BitTorrent network, called peers, download pieces of files from each other—this is what makes it a peer-to-peer protocol. We’ll investigate how this works, and build our own client that can find peers and exchange data between them.



dsl json

Posted by 夏泽民

https://github.com/ngs-doo/dsl-json https://github.com/emilsjolander/goson dsl库 具有高级编译时间数据绑定支持的最快 JVM (Java/Android/Scala/Kotlin) 库。 DSL平台兼容。



DelayQueue 延迟队列实现原理

Posted by 夏泽民

使用场景



延迟队列设计

Posted by 夏泽民

当订单⼀一直处于未⽀支付状态时,如何及时的关闭订单,并退还库存? 定时的爆款商品自动上下架、广告的定时更新如何做到?



Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required