Repository navigation
Commit 2c3fbfc
committed
feat: add engine stress test (direct API) and MySQL wire protocol server
- engine_stress_test.cpp: multi-threaded benchmark calling Session<D> directly,
each thread with its own Session/MultiRemoteExecutor/Arena, shared read-only
catalog and shard map. Outputs JSON compatible with compare.py.
- mysql_server.cpp: minimal MySQL wire protocol server (text protocol only)
wrapping Session<D>, allowing standard MySQL clients to connect. Supports
COM_QUERY, COM_QUIT, COM_PING, COM_INIT_DB. One thread per connection.
- Makefile: added engine-stress and mysql-server build targets.1 parent 79bec1b commit 2c3fbfc
3 files changed
Lines changed: 1817 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
| |||
164 | 172 | | |
165 | 173 | | |
166 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
167 | 187 | | |
168 | 188 | | |
169 | 189 | | |
| |||
192 | 212 | | |
193 | 213 | | |
194 | 214 | | |
| 215 | + | |
| 216 | + | |
195 | 217 | | |
0 commit comments