/images/avatar.jpg
杂七杂八的,随手记录。

分布式 PostgreSQL之Citus 架构-postgresql 分布式

本文为摘录(或转载),侵删,原文为: https://www.51cto.com/article/703272.html

1 节点

Citus 是一种 PostgreSQL 扩展,它允许数据库服务器(称为节点)在“无共享(shared nothing)”架构中相互协调。这些节点形成一个集群,允许 PostgreSQL 保存比单台计算机上更多的数据和使用更多的 CPU 内核。这种架构还允许通过简单地向集群添加更多节点来扩容数据库。

Github API: Fetch issues with exceeds rate limit prematurely

本文为摘录(或转载),侵删,原文为: https://stackoverflow.com/questions/33655700/github-api-fetch-issues-with-exceeds-rate-limit-prematurely

1 Q

I am building an app that fetches the issues and pull requests of over 1K github repos, like this.

1
$ curl -i "https://api.github.com/repos/user/repo/issues?state=closed"

My problem is that, after the initial 60 iterations I get a rate limit error:

shared cache invalidation

本文为摘录(或转载),侵删,原文为: https://github.com/postgres/postgres/blob/master/src/backend/storage/ipc/sinval.c

1 prelog

共享缓存失效消息在一个无限数组中存储,maxMsgNum 是下一个数组下标来存储提交的消息, minMsgNum 是最小的数组下标,包含尚未被所有后端读取的消息,始终满足 maxMsgNum >= minMsgNum。每个活跃后端都有一个 nextMsgNum 指针,指示下一个需要读取的消息;对每个后端都有 maxMsgNum >= nextMsgNum >= minMsgNum。

解决calibre导入书籍和传输书籍不是中文名称问题