Commit Graph

12 Commits

Author SHA1 Message Date
Dima Starkov 95f1740031 Add integration tests for SCRAM Authentication (#78)
* Add integration tests for SCRAM Authentication

* Made tests independent of the postgresql version
2019-11-24 21:00:00 +05:00
Andrey Borodin 770e242e72 Add few sleeplock test 2019-07-31 14:17:46 +05:00
Dmitry Simonenko af015839b0 machinarium: fix readers race in fast_channel implementation 2019-03-12 19:39:46 +03: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
Dmitry Simonenko ef5fd84fb8 machinarium: implement machine_eventfd() 2018-07-17 17:22:09 +03:00
Dmitry Simonenko d614f87109 machinarium: add unix sockets tests (+ tls) 2018-06-28 15:26:36 +03:00
Dmitry Simonenko 838aad609d machinarium: add multi-threaded tls read/write test 2018-06-07 15:11:30 +03:00
Dmitry Simonenko 675030834d odyssey: add variadic buffer size read/write test using tls 2018-05-15 15:43:42 +03:00
Dmitry Simonenko af4a2a4c80 odyssey: add variadic buffer size read/write test 2018-05-15 15:13:44 +03:00
Dmitry Simonenko e035757957 odyssey: add test_client_server2 2018-04-24 17:42:30 +03:00
Dmitry Simonenko e53d90bbf0 odyssey: integrate machinarium tests into test suite 2018-04-04 17:35:50 +03:00
Dmitry Simonenko 8518e9a959 odyssey: add initial odyssey test suite stub 2018-04-04 16:36:11 +03:00