TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
The pitfall of using PostgreSQL advisory locks with Go's DB connection pool
14 points
by
gsempe
over 5 years ago
2 comments
zeroimpl
over 5 years ago
Collapse
Seems like if you tried to use transactions, you'd have the same problem?
评论 #20850216 未加载
评论 #20850663 未加载
erik_seaberg
over 5 years ago
Collapse
TL;DR: PostgreSQL requires reserving a single connection for causally-related statements. Seems like a scaling problem for the C10K world, not just Go.
评论 #20849623 未加载
评论 #20850953 未加载