TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

The pitfall of using PostgreSQL advisory locks with Go's DB connection pool

14 pointsby gsempeover 5 years ago

2 comments

zeroimplover 5 years ago
Seems like if you tried to use transactions, you'd have the same problem?
评论 #20850216 未加载
评论 #20850663 未加载
erik_seabergover 5 years ago
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 未加载