Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jinhualuo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
Announce Routerify-Lite
(github.com)
2 points
by
jinhualuo
5y ago
|
0 comments
2.
▲
by
jinhualuo
7y ago
It's a good project I wrote years ago. It implements Java-like reflection in C++. Just declare your reflection, and use it via Java-like API. Annotation and object proxy just like Java is also supported. See https://github.c
3.
▲
Boost-Reflection
(github.com)
2 points
by
jinhualuo
7y ago
|
1 comments
4.
▲
by
jinhualuo
7y ago
Note that LWW is optional, pgcat implement LWW in trigger way, see the pgcat_setup_lww ( https://github.com/kingluo/pgcat/tree/master/cmd/pgcat_setup... ).
5.
▲
by
jinhualuo
7y ago
Yes, if multi-masters change the same rows of same table, it would cause conflict. Consensus protocol like raft, has limitation: it requires low delay among the nodes, so normally, it would be deployed in the same data-center. Moreover, if
6.
▲
by
jinhualuo
7y ago
I would try to do more test for performance, especially in product environment. Detect the target table is easy, but it seems tricky to redirect the flow to pg build-in logical replication (not necessary to re-implement it, especially it wa
7.
▲
by
jinhualuo
7y ago
Yes, the template generated sql would bring some overhead. But it's the cost for flexibility: The target table would not be limited to base table. It could be a view, a foreign table, partitioned table, or citus distributed table. And,
8.
▲
Pgcat – Enhanced PostgreSQL logical replication
(github.com)
145 points
by
jinhualuo
7y ago
|
21 comments