Home
Sign Up
Sign In
4.77
V2EX
›
问与答
关于threaded comment的数据库设计
cadl
·
Apr 10, 2013
· 3541 views
This topic created in 4795 days ago, the information mentioned may be changed or developed.
想实现类似hacker news的那种树状评论,我的想法是可以记录一个parent_id然后用递归查询的方式获得评论树,或者使用nosql例如mongodb处理这种情况。搜索之后还发现了一些别的实现方式。想请教一下大家对于这种问题上的经验。包括性能方面上的考虑什么的。谢谢~
No Comments Yet
评论
threaded
parent
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3259 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 11:57
·
PVG 19:57
·
LAX 04:57
·
JFK 07:57
♥ Do have faith in what you're doing.
❯