V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  JasonLaw  ›  全部回复第 19 页 / 共 38 页
回复总数  742
1 ... 15  16  17  18  19  20  21  22  23  24 ... 38  
❮ ❯
2021 年 10 月 22 日
回复了 JasonLaw 创建的主题 › 数据库 › fencing token 还是解决不了 lost update 吧
@lance6716 #2 啥意思?不太明白,能够具体描述一下吗?
2021 年 10 月 18 日
回复了 hlayk 创建的主题 › 程序员 › 后端 response code 该怎样返回?
@JasonLaw #6 分布式服务调用链路追踪——方案选型 - 曹伟雄 - 博客园 - https://www.cnblogs.com/caoweixiong/p/14475815.html
我是先看了一下 The OpenTracing Semantic Specification - https://github.com/opentracing/specification/blob/master/specification.md

然后 SkyWalking 的话,直接看官网的文档就可以了。

这里有一个实践教程 - 使用 docker 部署 spring boot 并接入 skywalking - SegmentFault 思否 - https://segmentfault.com/a/1190000039836624
2021 年 9 月 20 日
回复了 JasonLaw 创建的主题 › 程序员 › 关于 Raft Consensus Algorithm 的疑问
2021 年 9 月 18 日
回复了 JasonLaw 创建的主题 › 程序员 › 关于 Raft Consensus Algorithm 的疑问
@ZingLix #1 谢谢

怪不得视频中其它机器收到 S2 的 RequestVote 请求(term=2)后,term 也会变成 2 。

https://www.youtube.com/watch?v=RHDP_KCrjUc&t=669s
2021 年 9 月 18 日
回复了 JasonLaw 创建的主题 › 问与答 › 求推荐拼车/打车软件
谢谢大家 我都试一下看看
2021 年 9 月 17 日
回复了 TankZZZ 创建的主题 › 程序员 › 分布式系统数据一致性问题
2021 年 9 月 14 日
回复了 JasonLaw 创建的主题 › 酷工作 › [广州] 九毛九集团招聘高级后端开发工程师 2021-09-14
@0bit #1 🤣一家餐饮集团。官网地址: http://jiumaojiu.com/
@mkdir #127 是的,有几个是几年前的。
@mreasonyang #103 “DBA 与业务强耦合”和“在持久层耦合业务逻辑”是什么意思?
@mreasonyang #103 物理外键是人设置的,但外键约束不是由人保证,这样也叫“没有实质区别”?
我感觉讨论下去没有太大意义了,没有一个事情是绝对的,每个东西都有它适用的场景。
@chengyiqun #111 SQL ? NoSQL ?还是 NewSQL ?
@fkdog #99 “NULL 造成无效索引”?

https://www.sunp.eu.org/t/694500
@sy20030260 #96 我只是说国外大多数人会选择使用外键。

你应该是从这个 Reddit 找到那个 issue 的。

https://www.reddit.com/r/programming/comments/dtls30/at_github_we_do_not_use_foreign_keys_ever_anywhere/
@fkdog #95 希望大家都就事论事,不要说有的没的。外键最重要的作用是保证 referential integrity 。关于“ 删除一个 user,直接清空了与该 user 有关联的所有表的所有数据”,这个是显式声明了 ON DELETE CASCADE 。
@skiy #84 让我想起了以下这几段话。(来源: https://stackoverflow.com/a/85298/5232255 )

This is an issue of upbringing. If somewhere in your educational or professional career you spent time feeding and caring for databases (or worked closely with talented folks who did), then the fundamental tenets of entities and relationships are well-ingrained in your thought process. Among those rudiments is how/when/why to specify keys in your database (primary, foreign and perhaps alternate). It's second nature.

If, however, you've not had such a thorough or positive experience in your past with RDBMS-related endeavors, then you've likely not been exposed to such information. Or perhaps your past includes immersion in an environment that was vociferously anti-database (e.g., "those DBAs are idiots - we few, we chosen few java/c# code slingers will save the day"), in which case you might be vehemently opposed to the arcane babblings of some dweeb telling you that FKs (and the constraints they can imply) really are important if you'd just listen.

Most everyone was taught when they were kids that brushing your teeth was important. Can you get by without it? Sure, but somewhere down the line you'll have less teeth available than you could have if you had brushed after every meal. If moms and dads were responsible enough to cover database design as well as oral hygiene, we wouldn't be having this conversation. :-)
@illuz #78 所以我在#67 贴出了 reddit 上的一些讨论
1 ... 15  16  17  18  19  20  21  22  23  24 ... 38  
❮ ❯
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3643 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 04:47 · PVG 12:47 · LAX 21:47 · JFK 00:47
♥ Do have faith in what you're doing.