Codec system: registry, protobuf, buffer pooling, transport encoding #22
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Upgrade eskit serialization to a full codec system. Reference: Myrra codec package (YoYoPass pkg/myrra/codec).
Current State
eskit has
Serializerinterface (JSON, jsoniter, Gob) +EventRegistryfor type resolution. Works but missing key features.Needed
1. Codec Registry
2. Protobuf Codec
3. Buffer Pooling
4. Transport Encoding (Event Codec)
EncodeEvent(event, codec) → Message(data + headers)DecodeEvent(message, registry) → Eventes-prefix conventiones-meta-prefix for custom metadata5. Per-Event Codec Selection
es-codecheader with each eventIntegration
Benchmarks
TigerStyle
ash referenced this issue2026-02-19 22:05:43 +00:00
Codec registry with JSON, jsoniter, protobuf, gob. Buffer pooling. Transport encoding with es-* headers.