V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  est  ›  全部回复第 194 页 / 共 614 页
回复总数  12270
1 ... 190  191  192  193  194  195  196  197  198  199 ... 614  
@kappa reddit 也是 cassandra。。。
@deepreader

> It really was limping though, requiring manual restarts of every process each four hours. It took a month to track this bug down, and by the end only three people were left trying.

断章取义?
@tao1991123
@HaoC12

其实 python 这里就等于:

var v=[];
function f (a = v, b = 1) { a.push(b); return a;}


解释器一次性扫了默认参数之后不会再次清空。
@glasslion 估计有个逻辑是去 cassandra 里取用户名和 id。然后那个默认参数的 ids 就会越来越长,直到把 cassandra 也查挂。而且这个逻辑上是没问题的。传入 ids 长,得到的返回是个 dict,你还是能获取到正确的值。只不过会附加很多没用的 key。

> This took so long to catch because we returned the values as a dictionary, and the dictionary always included the necessary values, it just happened to also include tens of thousands of extraneous values too
@glasslion 原文大概意思是 MyNews 页面卡,初步原因估计 cassandra 太卡。就重写了缓存层。

> this time with the goal of rewriting our MyNews implementation from scratch. The current version wrote into Cassandra, and its load was crushing the clusters, breaking the social functionality, and degrading all other functionality around it. We decided to rewrite to store the data in Redis

然后上线了发现还是得 4 个小时重启一次进程。
@Hstar 测试怎么暴露呃。。测内存泄露?
@liuxu 有类似。不过估计 digg 当时的开发水平太挫。。。。这个问题基本是 python 实习生都会必面的问题。。。
LZ 多半是明知故问吧。twitter 上 360NetLab 比较有名气。大战了很多 botnet 作者,有互动。
2018-07-02 18:07:32 +08:00
回复了 doggg 创建的主题 全球工单系统 微信 PC:最不厚道的 1px
2333
2018-07-02 12:16:32 +08:00
回复了 licoycn 创建的主题 发音 youtube 大家都是怎么发音的
油条布
2018-06-30 22:47:53 +08:00
回复了 MEISTING 创建的主题 宽带症候群 教育网最近到电信联通扩容了?
你们学校扩容了而已
2018-06-30 17:28:33 +08:00
回复了 chrysalis2h 创建的主题 分享发现 各位,不要把 github 当成你的私密备忘录
什么? githib 不就是永硕网盘么?
这也怪银行?如果被盗刷了没人通知你怎么怪?
2018-06-29 16:04:39 +08:00
回复了 isundust 创建的主题 分享发现 分享两个有意思的网站 makehub 和 indiehackers
@bigmama 你去看呀。
2018-06-29 13:57:24 +08:00
回复了 sonyxperia 创建的主题 知乎 知乎也出了一个极速版
一个几乎纯文字内容的网站,能做成这样,也是服气。
2018-06-29 13:20:59 +08:00
回复了 yejinmo 创建的主题 分享发现 腾讯已经使用 .Net Core 搭建微服务了么?
腾讯技术栈是最乱的。各个小组之前千差万别。没有统一基础架构。

连基础架构组的不同业务架构都是千差万别。
2018-06-29 12:28:20 +08:00
回复了 isundust 创建的主题 分享发现 分享两个有意思的网站 makehub 和 indiehackers
indiehackers 类似国内「站长群」。分享各自发财的路子而已。不是共同构建。
2018-06-29 11:49:57 +08:00
回复了 frmongo 创建的主题 分享发现 弱弱的问, V2EX 的余额有啥用...
@faustina2018 现在出金币还来得及不。。。
伪需求。现在如果使用电器需要说明书,则表示是个体验差的电器。
1 ... 190  191  192  193  194  195  196  197  198  199 ... 614  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5180 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 86ms · UTC 09:10 · PVG 17:10 · LAX 02:10 · JFK 05:10
Developed with CodeLauncher
♥ Do have faith in what you're doing.