Dmitry Simonenko
3079cb2636
odyssey: remove route config version id and use obsolete flag only
2018-09-18 18:26:25 +03:00
Dmitry Simonenko
6f6df24ab1
odyssey: add route obsolete
2018-09-18 18:17:04 +03:00
Dmitry Simonenko
be65c36a37
odyssey: add storage and route config comparison logic
2018-09-18 17:36:20 +03:00
Dmitry Simonenko
ff648f66cd
odyssey: minor fixes
2018-09-14 15:18:55 +03:00
Dmitry Simonenko
5895b8d170
odyssey: rework client parameters setup logic
2018-09-13 17:43:39 +03:00
Dmitry Simonenko
75a2d44093
odyssey: fix #41 : fix include crash and allow empty include files
2018-09-11 17:18:28 +03:00
Dmitry Simonenko
f69912eb91
odyssey: proper msg free on startup tls error
2018-09-10 17:15:31 +03:00
Dmitry Simonenko
13ed93f464
odyssey: do not resolve ip addresses
2018-09-06 18:29:10 +03:00
Dmitry Simonenko
6303a388ec
odyssey: log timings for server connect/resolve
2018-09-06 16:53:07 +03:00
Dmitry Simonenko
366f9b5312
odyssey: fix machinarium stat tests
2018-09-05 16:08:29 +03:00
Dmitry Simonenko
de824a3373
odyssey: implement msg_cache gc for oversized msgs
2018-09-05 16:04:36 +03:00
Dmitry Simonenko
62deb8bddf
odyssey: make packet readers per one event only
2018-09-05 15:30:53 +03:00
Dmitry Simonenko
516136a476
odyssey: remove outdated options from documentation
2018-09-03 15:30:10 +03:00
Dmitry Simonenko
b8d65d7225
odissey: warning fixes
2018-08-31 16:18:59 +03:00
Dmitry Simonenko
4aa764c882
odyssey: add msg cache statistics print to log
2018-08-30 17:45:13 +03:00
Dmitry Simonenko
5e1e96987c
odyssey: update stat tests
2018-08-30 17:24:07 +03:00
Dmitry Simonenko
7392a65ce4
machinarium: add msg_cache stat info
2018-08-30 17:23:14 +03:00
Dmitry Simonenko
c8fd785c3e
odyssey: bring reworked auth_query back
2018-08-30 17:07:16 +03:00
Dmitry Simonenko
d398dd9a07
odyssey: make client_fwd_error work again
2018-08-29 16:49:10 +03:00
Dmitry Simonenko
985c1f661d
odyssey: fixes for console interaction
2018-08-29 16:34:38 +03:00
Dmitry Simonenko
f3b755a748
kiwi: fix message size in kiwi_be_write_error_as()
2018-08-29 16:23:28 +03:00
Dmitry Simonenko
e18724100e
machinarium: fix obj cast in machine_write_batch()
2018-08-29 16:07:08 +03:00
Dmitry Simonenko
f7937e604b
odyssey: minor fixes
2018-08-29 15:40:13 +03:00
Dmitry Simonenko
c2bafa08f8
odyssey: fix deploy sync counter during attach
2018-08-29 14:59:29 +03:00
Dmitry Simonenko
da7e6ea7a5
odyssey: major io rework and refactoring
...
This patch moves Odyssey from stream based write caching
to message driven. All write operations are delayed
and happen on a group of messages.
This removes necessity to do IO and wait for write completion during calls
from SSL_write() context. Write timings should behave more predictable now and
number of used syscalls should be also decreased.
This patch also simplifies caching management. All clients are simply
reusing cached messages without prolonged contention.
Several configuration options are no longer used:
pipeline, cache, cache_chunk
2018-08-28 17:43:46 +03:00
Dmitry Simonenko
389b71bbdb
machinarium: add machine_write_batch()
2018-08-28 17:32:35 +03:00
Dmitry Simonenko
5e7007d151
kiwi: use machine_msg_t* for read functions
2018-08-27 15:28:52 +03:00
Dmitry Simonenko
87abaa2f79
kiwi: add kiwi_read_startup_size()
2018-08-27 14:57:13 +03:00
Dmitry Simonenko
b870c0e3a1
odyssey: rework odyssey_stress for new io api
2018-08-23 17:12:28 +03:00
Dmitry Simonenko
f09ab98d9e
kiwi: add kiwi_read_size()
2018-08-23 17:10:18 +03:00
Dmitry Simonenko
35b1064ff0
machinarium: introduce machine_read_to()
2018-08-23 16:32:57 +03:00
Dmitry Simonenko
82e6c1a7a6
odyssey: remove shapito library
2018-08-23 16:24:07 +03:00
Dmitry Simonenko
f973a20397
kiwi: add README.md
2018-08-23 16:21:39 +03:00
Dmitry Simonenko
7ac8dc0b10
kiwi: import implementation
2018-08-23 16:17:15 +03:00
Dmitry Simonenko
c84fde8da7
odyssey: update tests
2018-08-23 15:16:21 +03:00
Dmitry Simonenko
d89bdc633c
machinarium: add size arg to machine_msg_create()
2018-08-23 15:12:40 +03:00
Dmitry Simonenko
02662c95ed
kiwi: introduce
2018-08-23 13:09:03 +03:00
Dmitry Simonenko
c4e06c165c
odyssey: major tests upgrade for new machinarium io api
2018-08-23 12:29:19 +03:00
Dmitry Simonenko
81067e2c1f
machinarium: fix write error state validation
2018-08-23 12:27:19 +03:00
Dmitry Simonenko
9e8261a5c1
machinarium: remove size from machine_msg_create()
2018-08-22 17:32:41 +03:00
Dmitry Simonenko
fe28d57aec
machinarium: rewrite write logic using msg queue/flush
2018-08-22 16:36:28 +03:00
Dmitry Simonenko
7a39407aaf
machinarium: rework machine_read() using machine_msg_t*
2018-08-22 15:32:57 +03:00
Dmitry Simonenko
1ab4cd9482
machinarium: allow dynamic msg resize/write
2018-08-22 15:19:06 +03:00
Dmitry Simonenko
f77d7ccf02
odyssey: set nodelay for tls_read_var test
2018-08-15 14:57:32 +03:00
Dmitry Simonenko
be59c897cc
odyssey: gather current stats in routes instead of server
2018-08-09 17:39:36 +03:00
Dmitry Simonenko
13cd78edfb
odyssey: move server sync state out of stats
2018-08-08 16:58:39 +03:00
Dmitry Simonenko
17dea01e1d
odyssey: fix config error message
2018-08-08 16:27:25 +03:00
Dmitry Simonenko
3eb948af76
odyssey: proper server->tls init on server listen
2018-08-08 15:15:21 +03:00
Dmitry Simonenko
008efe6727
odyssey: make stats_interval compatible with pgbouncer
2018-08-03 17:09:37 +03:00
Dmitry Simonenko
903f496802
odyssey: rework statistics update logic
2018-08-02 19:02:02 +03:00