Skip to content

chore: Split the group api handler#685

Merged
gtema merged 1 commit intomainfrom
group_split
Apr 27, 2026
Merged

chore: Split the group api handler#685
gtema merged 1 commit intomainfrom
group_split

Conversation

@gtema
Copy link
Copy Markdown
Collaborator

@gtema gtema commented Apr 27, 2026

  • split the group api v3 handler into multiple modules
  • add policy enforcement

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 26-04-27 17:49:39 26-04-27 17:49:41 00:00:02 0 → 4
Maintaining 26-04-27 17:49:41 26-04-27 17:50:11 00:00:30 4
Decreasing 26-04-27 17:50:11 26-04-27 17:50:11 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 10075 0 11.42 4 25 335.83 0.00
Aggregated 10075 0 11.42 4 25 335.83 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 10 11 15 15 16 17 19 25
Aggregated 10 11 15 15 16 17 19 25

Status Code Metrics

Method Name Status Codes
GET 10,075 [200]
Aggregated 10,075 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 6371 0 8.94 4 18 212.37 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 3704 0 15.75 12 25 123.47 0.00
Aggregated 10075 0 11.42 4 25 335.83 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 6369 8.94 4 18 212.30 3184.50
ValidateToken 2 3702 15.75 12 25 123.40 1851.00
Aggregated 4 10071 11.45 4 25 335.70 5035.50

View full report

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

🐰 Bencher Report

Branchgroup_split
Testbedubuntu-latest

🚨 4 Alerts

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Upper Boundary
(Limit %)
Command_Serde/unpack/deleteLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
216.29 ns
(+17.08%)Baseline: 184.74 ns
193.93 ns
(111.53%)

Command_Serde/unpack/setLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
279.65 ns
(+14.43%)Baseline: 244.38 ns
251.24 ns
(111.31%)

Command_Serde/unpack/set_indexLatency
nanoseconds (ns)
📈 plot
🚷 threshold
🚨 alert (🔔)
186.42 ns
(+16.52%)Baseline: 159.99 ns
179.45 ns
(103.89%)

fernet token/projectLatency
microseconds (µs)
📈 plot
🚷 threshold
🚨 alert (🔔)
1.56 µs
(+6.22%)Baseline: 1.47 µs
1.55 µs
(100.77%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
Command_Serde/apply/remove📈 view plot
🚷 view threshold
77,477.00 ns
(-36.20%)Baseline: 121,445.17 ns
200,919.11 ns
(38.56%)
Command_Serde/apply/set📈 view plot
🚷 view threshold
81,321.00 ns
(-35.79%)Baseline: 126,654.83 ns
206,764.29 ns
(39.33%)
Command_Serde/pack/delete📈 view plot
🚷 view threshold
123.09 ns
(+0.37%)Baseline: 122.64 ns
144.86 ns
(84.97%)
Command_Serde/pack/delete_index📈 view plot
🚷 view threshold
115.35 ns
(-0.22%)Baseline: 115.61 ns
139.21 ns
(82.86%)
Command_Serde/pack/set📈 view plot
🚷 view threshold
196.46 ns
(-4.07%)Baseline: 204.79 ns
252.71 ns
(77.74%)
Command_Serde/pack/set_index📈 view plot
🚷 view threshold
115.26 ns
(-0.85%)Baseline: 116.25 ns
143.67 ns
(80.23%)
Command_Serde/unpack/delete📈 view plot
🚷 view threshold
🚨 view alert (🔔)
216.29 ns
(+17.08%)Baseline: 184.74 ns
193.93 ns
(111.53%)

Command_Serde/unpack/delete_index📈 view plot
🚷 view threshold
182.51 ns
(+11.42%)Baseline: 163.81 ns
190.47 ns
(95.82%)
Command_Serde/unpack/set📈 view plot
🚷 view threshold
🚨 view alert (🔔)
279.65 ns
(+14.43%)Baseline: 244.38 ns
251.24 ns
(111.31%)

Command_Serde/unpack/set_index📈 view plot
🚷 view threshold
🚨 view alert (🔔)
186.42 ns
(+16.52%)Baseline: 159.99 ns
179.45 ns
(103.89%)

Payload_encryption/pack/inner📈 view plot
🚷 view threshold
67.73 ns
(+0.30%)Baseline: 67.53 ns
82.73 ns
(81.88%)
Payload_encryption/pack/remove_cmd📈 view plot
🚷 view threshold
120.89 ns
(-3.02%)Baseline: 124.65 ns
150.67 ns
(80.23%)
Payload_encryption/pack/set_cmd📈 view plot
🚷 view threshold
220.60 ns
(-6.76%)Baseline: 236.59 ns
277.23 ns
(79.57%)
Payload_encryption/unpack/inner📈 view plot
🚷 view threshold
166.44 ns
(+1.76%)Baseline: 163.56 ns
182.00 ns
(91.45%)
Payload_encryption/unpack/remove_cmd📈 view plot
🚷 view threshold
212.07 ns
(+5.60%)Baseline: 200.83 ns
218.45 ns
(97.08%)
Payload_encryption/unpack/set_cmd📈 view plot
🚷 view threshold
271.79 ns
(+0.76%)Baseline: 269.73 ns
364.27 ns
(74.61%)
Raft_1Node_Latency/prefix/1node📈 view plot
🚷 view threshold
5,233,700.00 ns
(+47.79%)Baseline: 3,541,325.00 ns
7,917,357.22 ns
(66.10%)
Raft_1Node_Latency/read/1node📈 view plot
🚷 view threshold
595.31 ns
(+17.49%)Baseline: 506.70 ns
941.92 ns
(63.20%)
Raft_1Node_Latency/remove/1node📈 view plot
🚷 view threshold
233,380.00 ns
(-32.26%)Baseline: 344,538.75 ns
555,287.82 ns
(42.03%)
Raft_1Node_Latency/write/1node📈 view plot
🚷 view threshold
241,560.00 ns
(-29.74%)Baseline: 343,805.00 ns
557,388.94 ns
(43.34%)
build_snapshot/default📈 view plot
🚷 view threshold
93,957.00 ns
(+9.03%)Baseline: 86,176.00 ns
102,965.69 ns
(91.25%)
fernet token/project📈 view plot
🚷 view threshold
🚨 view alert (🔔)
1,563.30 ns
(+6.22%)Baseline: 1,471.74 ns
1,551.34 ns
(100.77%)

get_data_keyspace📈 view plot
🚷 view threshold
0.35 ns
(+9.89%)Baseline: 0.32 ns
0.38 ns
(93.47%)
get_db📈 view plot
🚷 view threshold
0.35 ns
(+10.19%)Baseline: 0.32 ns
0.38 ns
(93.19%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
145.22 ns
(-3.17%)Baseline: 149.98 ns
170.63 ns
(85.11%)
get_keyspace📈 view plot
🚷 view threshold
4.83 ns
(+9.63%)Baseline: 4.40 ns
5.14 ns
(93.83%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema merged commit d1060d2 into main Apr 27, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant