Commit Graph

30 Commits

Author SHA1 Message Date
Dmitry Simonenko c8fd785c3e odyssey: bring reworked auth_query back 2018-08-30 17:07:16 +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 13cd78edfb odyssey: move server sync state out of stats 2018-08-08 16:58:39 +03:00
Dmitry Simonenko f7a4438ec1 odyssey: move stats out of server_t 2018-08-02 16:38:36 +03:00
Dmitry Simonenko e837641719 odyssey: rework query/tx stats calculation 2018-08-01 18:10:44 +03:00
Dmitry Simonenko 5ca3fa926a odyssey: update source file headers 2018-04-04 16:19:58 +03:00
Dmitry Simonenko 38430a9d51 odyssey: remove config versioning 2018-03-21 17:36:57 +03:00
Dmitry Simonenko 9fcf2a4a80 odyssey: remake pooler service as system 2018-03-13 16:26:04 +03:00
Dmitry Simonenko 20a092098e odyssey: remake system_t as global_t 2018-03-13 16:17:27 +03:00
Dmitry Simonenko f108dcba09 odyssey: project rename 2018-03-12 17:03:15 +03:00
Dmitry Simonenko bb826db7e8 odissey: major scheme rework, rename it to config 2018-03-06 18:23:52 +03:00
Dmitry Simonenko 4df9f8e760 odissey: move config to config_reader 2018-03-05 17:24:30 +03:00
Dmitry Simonenko d48cd092a0 odissey: relay and relay_pool is worker and worker_pool now 2018-03-02 13:00:52 +03:00
Dmitry Simonenko c90932b3d5 odissey: print message names 2018-03-01 16:53:27 +03:00
Dmitry Simonenko 11d89831c1 odissey: use msg enum names instead of hardcoded types 2018-03-01 16:22:08 +03:00
Dmitry Simonenko a19f18cef1 odissey: rework router cancel logic 2018-02-22 16:43:52 +03:00
Dmitry Simonenko f11a98432f odissey: rework server buffering using client stream 2018-02-13 16:33:40 +03:00
Dmitry Simonenko 0cc0f949b3 odissey: make server stream shared driven by attach/detach logic 2018-02-12 16:29:40 +03:00
Dmitry Simonenko 6dacad6fcb odissey: rework reset to send discard-configuration altogether 2018-01-24 17:28:48 +03:00
Dmitry Simonenko 15761a1186 odissey: introduce read pipelining to frontend main loop 2018-01-18 14:52:38 +03:00
Dmitry Simonenko 34412ef00d odissey: user stats for server sync state 2017-12-12 16:18:54 +03:00
Dmitry Simonenko efe40e93e8 odissey: remove pool_discard tweak 2017-12-08 17:46:14 +03:00
Dmitry Simonenko 7991ee0fb0 odissey: use copy safe od_snprintf() implementation 2017-11-27 15:54:16 +03:00
Dmitry Simonenko c27f5d196b odissey: properly handle server attach/detach cases during setup 2017-11-14 16:54:21 +03:00
Dmitry Simonenko 8d607df67d odissey: major rework of parameter status update logic 2017-10-07 15:30:00 +03:00
Dmitry Simonenko e72af35672 odissey: implement auth query string format 2017-10-05 16:42:30 +03:00
Dmitry Simonenko c2c20e5569 odissey: fix DataRow parsing and password size 2017-10-04 18:07:54 +03:00
Dmitry Simonenko d4294a3e22 odissey: parse auth query reply 2017-10-03 18:04:58 +03:00
Dmitry Simonenko 5de6ee3431 odissey: create forged client to do auth_query logic 2017-10-02 16:42:40 +03:00
Dmitry Simonenko 19a060752a odissey: add leftover auth_query files 2017-10-01 12:50:41 +03:00