perssy's recent timeline updates
perssy

perssy

V2EX member #112625, joined on 2015-04-22 12:36:36 +08:00
perssy's recent replies
@lixuedong #145 png 确实是能动的,参考 APNG
May 8, 2018
Replied to a topic by johnsneakers Redis 惊了 redis 还能这样玩??
@youxiachai 我想还是有点差别的,这贴里讨论的是两个问题:
1. 能否把用户信息保存在 redis 里
2. 能否把全部用户信息保存在一个 hash 中
从 append 来看,lz 纠结的是第二个问题,那么用这篇文章作为论据反驳就不适合了,因为就像文章中也提到的,一个 hash 中的 key 不建议超过 1000 个
May 8, 2018
Replied to a topic by johnsneakers Redis 惊了 redis 还能这样玩??
@youxiachai 这篇文章里写的也不是把所有 key 都放一个 hash 里吧,而是每个 hash 存 1000 条数据,超过这个数字的话 HSET 会有明显的 cpu 占用
May 4, 2015
Replied to a topic by hobbyliu MySQL mysql 设置字段长度为啥 一般是 4 的倍数?
显示宽度是最小宽度,不限制最大宽度,若设置了zerofill值则左边用0填充。 https://dev.mysql.com/doc/refman/4.1/en/numeric-type-attributes.html
另外,根据 http://stackoverflow.com/questions/5634104/what-is-the-size-of-column-of-int11-in-mysql-in-bytes ,显示宽度只在mysql的命令行中有效
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2718 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 12:06 · PVG 20:06 · LAX 05:06 · JFK 08:06
♥ Do have faith in what you're doing.