emqx/changes
Thales Macedo Garitezi 8aa7c014e7 perf(buffer_worker): avoid calling `ets:info/2`
(Almost?) fixes https://emqx.atlassian.net/browse/EMQX-9637

During the course of performance tests comparing the performance of
e5.0.3 and e4.4.16 regarding the webhook bridge in sync mode, we
observed that the throughput in e5.0.3 (sync) was much lower than in
e4.4.16: ~ 9 k msgs / s vs. ~ 50 k msgs / s, respectively.

Analyzing `observer_cli` output, we noticed that a lot of the time
both buffer workers and ehttpc processes was spent in `ets:info/2`.
That function was called to check the size of the inflight table when
updating metrics and checking if the inflight table was full.  Other
uses of `ets:info/2` were contained inside the arguments to some
`?tp/2` macro usages (https://github.com/kafka4beam/snabbkaffe/pull/60).

By using a specific record to track the size of the table, we managed
to improve the bridge performance to ~ 45 k msgs / s in sync mode.
2023-05-02 17:05:32 -03:00
..
ce perf(buffer_worker): avoid calling `ets:info/2` 2023-05-02 17:05:32 -03:00
ee fix(dynamo): fix terminology erros 2023-04-19 16:26:42 +08:00
e5.0.1.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
e5.0.1.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
e5.0.2.en.md chore: update changelog 2023-04-12 07:57:52 +02:00
e5.0.2.zh.md chore: update changelog 2023-04-12 07:57:52 +02:00
v5.0.1-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.2-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.3-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.4-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.5-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.6-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.7-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.8-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-en.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.9-zh.md chore: split change logs 2022-10-24 09:40:08 +02:00
v5.0.10-en.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.10-zh.md chore: add missed changes 2022-12-15 16:16:27 +08:00
v5.0.11-en.md chore: update changes 2022-11-25 21:39:12 +08:00
v5.0.11-zh.md chore: update v5.0.12 changelog 2022-11-25 07:33:36 +08:00
v5.0.12-en.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.12-zh.md docs: update change log, record fix with the right PR 2022-12-14 20:01:17 +01:00
v5.0.13-en.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.13-zh.md chore: move changelog entries to v5.0.15 2023-01-13 10:04:29 +01:00
v5.0.14-en.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.14-zh.md docs: merge released change logs (v5.0.14) 2023-01-16 13:39:11 +01:00
v5.0.15-en.md chore: Generate changelog for v5.0.15 2023-01-20 17:00:55 +01:00
v5.0.15-zh.md chore: Generate changelog for v5.0.15 2023-01-20 17:00:55 +01:00
v5.0.16-en.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.16-zh.md chore: Generate changelog for v5.0.16 2023-02-02 17:43:01 +01:00
v5.0.17-en.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.17-zh.md chore: update v5.0.17 changelog 2023-02-13 19:26:21 +08:00
v5.0.18.en.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.18.zh.md docs: merge missed change logs to v5.0.18 2023-03-01 14:06:23 +01:00
v5.0.19.en.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.19.zh.md chore: Generate changelog for v5.0.19 2023-03-01 11:56:33 +01:00
v5.0.20.en.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.20.zh.md chore: Generate changelog for e5.0.1 and v5.0.20 2023-03-09 18:47:02 +01:00
v5.0.21.en.md docs: fix both original and merged change logs 2023-03-24 21:39:04 +01:00
v5.0.21.zh.md docs: fix both original and merged change logs 2023-03-24 21:39:04 +01:00
v5.0.22.en.md docs: Generate changelog for v5.0.22 2023-04-13 13:29:32 +02:00