Andrey Borodin
a8f53c0825
Support SHOW DATABASES console command ( #102 )
2020-01-28 14:41:25 +05:00
Andrey
2bacfcb972
Fix pgbouncer compatibility in SHOW SERVERS
2020-01-17 17:05:55 +05:00
Andrey
8dfcedb3df
Fix pgbouncer compatibility in SHOW CLIENTS
2020-01-17 11:04:54 +05:00
Andrey Borodin
816d45958e
Revert "Add pause/resume admin console commands ( #66 )"
...
This reverts commit b426f4f301
.
2019-11-19 16:57:16 +05:00
Andrey Borodin
960cba4bc9
Silent more compiler warnings
2019-11-19 15:14:51 +05:00
Andrey Borodin
793f9551b0
Fix compiler warning
2019-11-19 14:59:14 +05:00
Andrey Borodin
ef19e5bd74
Remove db_state from route
2019-11-18 13:32:03 +05:00
lowgear
b426f4f301
Add pause/resume admin console commands[fork of tomlikestorock's PR] ( #66 )
2019-11-11 11:37:09 +03:00
Andrey Borodin
d5ba841106
Limit global max_clients before doing tls handshake
2019-10-11 13:33:28 +05:00
Dmitry Simonenko
6c0a1f09f8
odyssey: major rework of io architecture
...
This patch intend is to improve overall io performance, reduce
cpu and system usage.
Machinarium:
IO read/write logic is highly simplified and now based on conditions
instead of previously made internal readahead buffer and msg
queues. This allows to give user more control over io operations and
avoid doing undesired readahead copying.
Above that, TLS implementation reworked to use async logic instead of
separate BIO layer.
Direct pooling functions removed.
New objects machine_cond_t and machine_iov_t objects.
Odyssey:
Introduced readahead, io and relay objects.
Relay allows to connect two io handles for direct data retransmission
without double copying.
Removed configuration options no longer needed:
packet_read_size, packet_write_queue
2019-01-23 18:43:52 +03:00
Andrey Borodin
b6e09fa00c
Implement SHOW POOLS command
2018-12-24 17:37:40 +05:00
Dmitry Simonenko
9d6dea5d92
odyssey: major parameter settings optimization
2018-12-12 16:07:25 +03:00
Dmitry Simonenko
47b65e8ef2
odyssey: fix show servers callback arg
2018-12-07 15:28:32 +03:00
Dmitry Simonenko
2e03af9c88
odyssey: major router and shared logic rework
...
Goal is to improve overall performance during massive peaks
of connecting clients.
This patch makes router a shared structure, instead of
being run in separate system worker thread/coroutine.
Now router and each route object is protected by
separate mutex. Worker threads directly access router object
without calls to separate thread.
2018-12-06 17:23:15 +03:00
Dmitry Simonenko
985c1f661d
odyssey: fixes for console interaction
2018-08-29 16:34:38 +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
903f496802
odyssey: rework statistics update logic
2018-08-02 19:02:02 +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
6e73c241f8
odyssey: implement kill_client console command. fix #39
2018-07-19 17:33:44 +03:00
Dmitry Simonenko
977051380e
odyssey: fix incorrect uses of user_len/database_len
2018-06-13 16:39:13 +03:00
Murat Kabilov
4c53cedd27
fix show stats database string format
2018-06-12 13:40:18 +02:00
Dmitry Simonenko
5ca3fa926a
odyssey: update source file headers
2018-04-04 16:19:58 +03:00
Dmitry Simonenko
7cb9befec0
odyssey: add transaction counter (total_xact_count, avg_xact_count)
2018-04-03 15:03:12 +03:00
Dmitry Simonenko
7709b2546c
odyssey: console: upgrade 'show stats' and make it pgbouncer 1.8.2 compatible
2018-04-02 15:41:59 +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
a19f18cef1
odissey: rework router cancel logic
2018-02-22 16:43:52 +03:00
Dmitry Simonenko
c891dc757a
odissey: make client stream shared
2018-02-12 16:50:51 +03:00
Dmitry Simonenko
b0635265a1
odissey: move is_shared logic to instance domain
2018-02-02 16:44:47 +03:00
Dmitry Simonenko
645f7e2350
odissey: create non shared channel for workers=1
2018-02-02 16:09:26 +03:00
Dmitry Simonenko
17673c123a
odissey: rework internal services init logic
2018-02-02 15:50:23 +03:00
Dmitry Simonenko
981a4c6626
odissey: update to latest machinarium changes
2018-02-02 14:49:10 +03:00
Dmitry Simonenko
7991ee0fb0
odissey: use copy safe od_snprintf() implementation
2017-11-27 15:54:16 +03:00
Dmitry Simonenko
220c211387
odissey: add log_query on/off configuration tweak
2017-10-26 15:54:32 +03:00
Dmitry Simonenko
7e217b3b5a
odissey: major logging rework (introduce log format)
2017-09-21 16:44:19 +03:00
Dmitry Simonenko
5b29494781
odissey: implement detached error object
2017-09-15 16:08:42 +03:00
Dmitry Simonenko
610cf23c7c
odissey: reorder instance.h inclusion
2017-09-15 15:58:29 +03:00
Dmitry Simonenko
a3eaeb6a1f
odissey: reply incorrect console query text
2017-09-08 15:45:00 +03:00
Dmitry Simonenko
196d8c6a69
odissey: add basic support for SHOW LISTS
2017-08-25 15:39:00 +03:00
Dmitry Simonenko
d3aa8488da
odissey: fix show clients string format id; update shapito
2017-08-23 17:38:23 +03:00
Dmitry Simonenko
e1557e0c5a
odissey: handle basic console SET command
2017-08-23 16:29:30 +03:00
Dmitry Simonenko
1a65628e83
odissey: send NULL for connect_time and request_time
2017-08-22 16:29:00 +03:00
Dmitry Simonenko
d4b9d8190d
odissey: implement show clients
2017-08-17 18:38:28 +03:00
Dmitry Simonenko
c3c782b854
odissey: implement show servers
2017-08-17 18:16:16 +03:00