Skip to content

Use MessagePack for threaded execution channels - #1

Open
samuel-williams-shopify wants to merge 1 commit into
mainfrom
use-message-pack
Open

Use MessagePack for threaded execution channels#1
samuel-williams-shopify wants to merge 1 commit into
mainfrom
use-message-pack

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Description

Use MessagePack for threaded executor channel messages instead of Marshal. This avoids invoking application-level Marshal serialization while preserving the existing framed transport.

A codec boundary is introduced and propagated to both transport endpoints. The MessagePack codec preserves protocol symbols, binary strings, and Addrinfo values using registered extension types.

The Ractor executor continues to use Marshal for now because MessagePack's native extension is not Ractor-safe.

Validation

  • bundle exec bake test
  • bundle exec rubocop
  • bundle exec bake decode:index:coverage lib
  • git diff --check

Assisted-By: devx/b8194217-b20a-4799-b266-4910beb3ee2b
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