This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Commit 8f9698c
authored
refactor: remove async remote write decode logic (#1631)
## Rationale
Deserialization is a CPU-intensive task, so introducing async does not
provide significant benefits. In addition, using async causes function
contagion issues. Therefore, it is necessary to remove the async decode
logic.
## Detailed Changes
- Remove `decode_async` interface
- Change the back-end object pool dependency from `deadpool` to
`object-pool`
- Change benchmark logic accordingly
## Test Plan
Manual test1 parent 9cec563 commit 8f9698c
File tree
17 files changed
+1093
-875
lines changed- docs/assets
- src
- benchmarks
- benches
- src
- bin
- remote_write
- src
- tests
17 files changed
+1093
-875
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | 67 | | |
74 | 68 | | |
75 | 69 | | |
| |||
85 | 79 | | |
86 | 80 | | |
87 | 81 | | |
88 | | - | |
89 | | - | |
| 82 | + | |
| 83 | + | |
90 | 84 | | |
91 | | - | |
| 85 | + | |
92 | 86 | | |
93 | 87 | | |
94 | 88 | | |
| |||
118 | 112 | | |
119 | 113 | | |
120 | 114 | | |
121 | | - | |
122 | | - | |
| 115 | + | |
| 116 | + | |
123 | 117 | | |
124 | | - | |
| 118 | + | |
125 | 119 | | |
126 | 120 | | |
127 | 121 | | |
128 | 122 | | |
129 | 123 | | |
130 | | - | |
131 | | - | |
| 124 | + | |
| 125 | + | |
132 | 126 | | |
133 | | - | |
| 127 | + | |
134 | 128 | | |
135 | 129 | | |
136 | 130 | | |
137 | 131 | | |
138 | 132 | | |
139 | | - | |
140 | | - | |
| 133 | + | |
| 134 | + | |
141 | 135 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 136 | + | |
146 | 137 | | |
147 | 138 | | |
148 | 139 | | |
149 | 140 | | |
150 | 141 | | |
151 | | - | |
152 | | - | |
| 142 | + | |
| 143 | + | |
153 | 144 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 145 | + | |
158 | 146 | | |
159 | 147 | | |
160 | 148 | | |
| |||
0 commit comments