Commit Graph

13 Commits

Author SHA1 Message Date
kirill reshke 3a55be6e61
change formatting (#250)
Co-authored-by: reshke <Kirill Reshke>
2020-12-28 15:43:31 +05:00
kirill reshke 785e85ab6f
Fix leaks and improve locking in cron (#229)
Also fix some warnings.
2020-11-23 14:13:28 +05:00
Georgy Rylov c25c5bd050
Applying clang-format with saving indentations (#140)
* applying clang-format with saving indentations

* rebase
2020-04-02 16:00:56 +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
Dmitry Simonenko 6c13cad1fa machinarium: avoid caching messages from other workers 2018-11-20 19:08:27 +03:00
Dmitry Simonenko c61c1e81f7 machinarium: rework msg_cache/coroutine_cache per machine thread 2018-11-19 17:52:37 +03:00
Dmitry Simonenko d89bdc633c machinarium: add size arg to machine_msg_create() 2018-08-23 15:12:40 +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 eed0608914 machinarium: move root to third_party/machinarium 2018-03-29 14:30:14 +03:00