咚咔

Results 71 comments of 咚咔

> 你在全局加一个waitgroup,各模块完毕后-1,主协程这里等waigroup不就OK了… …… 得先有每个 module 的 `启动后` 这一事件,才能 wg -1。 目前的 Module 有以下几个阶段可以插入代码,哪个可以当作 “启动后”? 1. OnInit 2. OnDestroy 3. Run

低延迟服务做无中心化太难了。 一般的游戏项目体量很小, 2~5 台低配机器就能摆平 dau 1w~100w ,MMO 重些,但其核心服务的伸缩启停通常会用老土但稳妥的办法——预估容量 & 停机维护,顶多加一个中心节点作为 **超级仲裁** 来控制复杂度。现在情况好多了,可以用 consul 和 etcd 之类的外部集群,不必自己实现 paxos,raft 之类的。当然,多上几台高配机降低集群规模以避开分布式领域那些要命问题总是划算的,精巧又复杂的技术并不容易实施。 p.s.: 感觉这个方向比较牛 X 的是 actor/erlang,值得参考(chao) :D

呃,这个项目跟 `goenv` 有啥关系? :hugs:

You are wellcome! Enjoy it! :smile:

how to reproduce it?

A tool similar as `git secret cat a/full/path/to/file` could be works with `git diff`. But `git secret cat` does'nt work in my case. here is my `.git/config` and `.gitattributes`. ```bash...

@imohuan 大哥您消消气, 字体改用小一号的正常字体. 如果 laya 谁欠你钱可以告诉我, 我来帮你讨. 相信我,讨债很厉害的.

I'm trying to create a new workflow for restart a cluster without losing states and cluster.Request timeout. e.g.: 1. Start some `new nodes`, and join in cluster. 2. Keep the ...

About move activations atomically. https://github.com/asynkron/protoactor-dotnet/issues/741

You can make a `pr` for it. https://github.com/AsynkronIT/protoactor-go/blob/dev/log/string_encoder.go#L23