Skip to content

Websocket subscriptions improvements - #1625

Open
stefangutica wants to merge 55 commits into
developmentfrom
websocket-subscriptions-improvements
Open

stefangutica wants to merge 55 commits into
developmentfrom
websocket-subscriptions-improvements

Conversation

@stefangutica

Copy link
Copy Markdown
Collaborator

Reasoning

Proposed Changes

How to test

@github-actions

github-actions Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

k6 load testing comparison.
Base Commit Hash: b40c3c4
Target Commit Hash: a9b9b63

Metric Base Target Diff
AvgMax9095AvgMax9095AvgMax9095
Mex45.82734.4759.7062.1438.791022.3653.5961.68-15.35% ✅+39.20% 🔴-10.23% ✅-0.74% ✅
Tokens46.07878.4159.6962.1538.81882.6953.4861.58-15.77% ✅+0.49% 🔴-10.40% ✅-0.92% ✅
Blocks56.651013.6562.6270.4249.201091.2959.7472.85-13.15% ✅+7.66% 🔴-4.59% ✅+3.45% 🔴
Nodes45.51474.5459.6462.0660.1821569.4152.3256.78+32.25% 🔴+4445.31% 🔴-12.28% ✅-8.52% ✅
Pool45.88745.5259.6062.0038.84856.3953.5561.42-15.34% ✅+14.87% 🔴-10.14% ✅-0.94% ✅
Accounts47.99803.9261.5267.0541.411106.0056.7571.46-13.73% ✅+37.58% 🔴-7.75% ✅+6.58% 🔴
Transactions53.02656.5062.7281.6464.1617205.4661.9280.71+21.00% 🔴+2520.78% 🔴-1.27% ✅-1.14% ✅
Test Run Duration60002.0860002.43

Legend: Avg - Average Response Time, Max - Maximum Response Time, 90 - 90th Percentile, 95 - 95th Percentile
All times are in milliseconds.

stefangutica and others added 27 commits August 26, 2026 14:29
stefangutica and others added 26 commits September 24, 2026 12:01
Exclude sockets own rooms from global subscriptions limit
Custom subscriptions: don't lose rounds on errors or indexer lag
Build room key combinations per key instead of per filter
…or the next round before polling

move the custom subscriptions entities to an entities folder
…data

Enrich only the custom subscriptions data that matches a subscribed room
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