git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 9ad45c1) | patch
Make walsender more responsive.
Mon, 2 Jul 2012 13:36:34 +0000 (09:36 -0400)
Mon, 2 Jul 2012 13:41:01 +0000 (09:41 -0400)
commit f83b59997d29f06c3d67e7eb9a1f2c9cd017d665
Make walsender more responsive.

Per testing by Andres Freund, this improves replication performance
and reduces replication latency and latency jitter. I was a bit
concerned about moving more work into XLogInsert, but testing seems
to show that it's not a problem in practice.

Along the way, improve comments for WaitLatchOrSocket.

Andres Freund. Review and stylistic cleanup by me.
src/backend/access/transam/twophase.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/port/unix_latch.c diff | blob | blame | history
src/backend/port/win32_latch.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/include/replication/walsender.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /