cheesea's recent timeline updates
cheesea

cheesea

V2EX member #230829, joined on 2017-05-15 22:51:39 +08:00
cheesea's recent replies
Nov 3, 2020
Replied to a topic by Bechbaliq 程序员 各位都是怎么学会 Hash Table 的
参考 redis hash 的实现,看完你就懂了
自问自答,在 celery 文档里找到的:
You must use the -P option to celery worker instead, to ensure the monkey patches aren’t applied too late, causing things to break in strange ways.
我自己试验了一下,确实不用自己再手动 patch 了
按我的理解,celery 执行任务的时候,依赖于本地代码,发送到 broker 的只是本地代码的路径,执行任务时,并没有运行 gunicorn 。那么比如我在 task 里调用 requests.post,其实是阻塞的。
Oct 22, 2020
Replied to a topic by ajinwu 程序员 你们有不想睡觉的感觉吗
996 必须有,虽然很累但是舍不得睡觉,因为要补偿失去的个人时间。
Oct 21, 2020
Replied to a topic by cheesea 程序员 因为工作丢了毕业证,迷茫
楼主我又回来啦,去年重新回校上课,总算是拿到毕业证和学位证了,哈哈~
@aliwalker 你好,我翻了一下官方文档,发现里面有这么一句话,
Single System Image : A client will see the same view of the service regardless of the server that it connects to.
没理解错的话,似乎无论连接到哪台服务器,获取的值都是相同的 。但是按照 zk 的同步机制,确实又不是强一致性的。很奇怪。
还有个问题请教下,假如有多个客户端并发写,zk 只能保证对每个客户端而言是有序的。比如 client1 写操作 A,B,client2 写 C,D,那最终写顺序可能是 A,C,B,D ?
@BigDogWang 不是,修之前就跟我说会换掉整个 C 面包括电池
@wd 不是四年内都可以免费换吗?
Sep 1, 2019
Replied to a topic by devzhi 程序员 现在 Go 环境怎么样
我觉得最忌讳的就是给自己划定圈子,然后就只关注这个圈子的东西,这样不好。
比如我是 java/go/python 工程师,我是后端 /前端 /运维,甚至我是程序员,然后其他领域的就什么都不懂,也不去了解,这会限制你的发展和眼界。
你才大二,应该多去接触和了解各个领域的东西。
Nov 13, 2018
Replied to a topic by tzhhahaha Python Python 在上海什么程度才能找到工作?
要找到理想的工作很难,应届生基础很重要,项目可以说基本没什么卵用的。与其把时间花在爬虫 /用 django 搭网站上面,真的不如去把数据结构算法,操作系统之类的过一遍。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4322 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 52ms · UTC 05:33 · PVG 13:33 · LAX 22:33 · JFK 01:33
♥ Do have faith in what you're doing.