@substrateยท12 charts
Lets JAM
Ready to send telemetry data and get on the JAM Implementer Leaderboard?
Lets meet at JAM Experience and make a tiny testnet!

Safrole Ticket Generation Leaderboard
- MsgType=131 Sample
elapsedis the time to generate a ticket prior to CE131/132 Safrole ticket distribution
Refining + Auditing Leaderboard
- MsgType=255 Sample
elapsedincludes time to refine a work package and generate work report after receiving a CE133 Work Package Submission or CE134 Work Package Share
Assuring Leaderboard
- MsgType=141 Sample
elapsedis the time to assure a newly available block prior to CE 141: Assurance distribution
Block Authoring Leaderboard
JAM clients ranked by self-reported elapsed time for Block Authoring.
- MsgType=128 Sample - from author only, prior to sending UP0 Block Announcement
elapsedincludes time to make a block and generate a new state root, including ordered accumulation with parallelized PVM execution (including ordered accumulation through parallelized PVM execution)
Authors should also send statistics (msgType 13) - from authors only, of C13 state: (a) Per-validator block stats (b) Per-core statistics (c) Per-service processing metrics.
jam-etl
Dune schemas have been developed
- assurances - msgtype 141
- blocks - msgtype 128
- corestatistics, servicestatistics, validatorstatistics - msgtype 13
- preimages - msgtype 142
- segments - msgtype 135
- services - msgtype 143
- tickets - msgtype 131
- workpackagebundles - msgtype 133
- workreports - msgtype 255
We aim to ingest the above hourly and can explore doing so at a higher timescale for the JAM Toaster -- right now we would like to figure out the basics. Please file an issue in the jam-etl repo, comment on JIP-3 or lets talk about it a JAMX!
See below for a query on the dune.substrate.jam_workreports table.
JAM Testnet - Implementer Leaderboard Proof-of-Concept
This JAM Testnet - Implementer Leaderboard PoC attempts to show how Dune can provide a comparison among different Jam Clients running in a JAM tiny testnet every few hours.
Aggregated comparison are made possible using "Structured Logs" (following JIP-3) where each JAM client sends self-reported telemetry data -- raw JSON + codec + and an elapsed time in microseconds for the following message types:
- blocks (msgType 128) - from author only, prior to sending UP0 Block Announcement, where
elapsedis making the block and computing the new state root (including ordered accumulation through parallelized PVM execution) - statistics (msgType 13) - from authors only, of C13 state: (a) Per-validator block stats (b) Per-core statistics (c) Per-service processing metrics
- work reports (msgType 255) - refinement execution, where
elapsedis time to generate a report after receiving a CE133 Work Package Submission or CE134 Work Package Share - assurances (msgType 141) - assurance execution, where
elapsedis the time to assure a newly available block (communications heavy) prior to CE 141: Assurance distribution - tickets (msgType 131) - where
elapsedis the time to generate a ticket prior to CE131/132 Safrole ticket distribution
Currently this is a Proof-of-concept only, for JAM Implementers to provide feedback and is completely unofficial. Data is from 1 client (JAM DUNA) but any team able to author and refine in accordance with GP 0.6.5 can send telemetry data.
Each client simply sends syslog-ng messages over TCP (see jam-etl) and then every few hours the last 4 hours of data will be reloaded. This leaderboard refreshes every 4 hours.
