All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Glyn: Type-safe PubSub and Registry System for Gleam Actors with Distributed Clustering

By

TheWiggles

9mo ago· 7 min readenCode

Summary

Glyn is a type-safe PubSub and Registry system for Gleam actors that provides distributed clustering support, built on the Erlang Syn library. It offers two complementary systems for actor communication that integrate seamlessly with Gleam's actor model using selector composition patterns. The library requires explicit decoders to ensure type safety when messages are sent between nodes in a cluster, and messages are sent directly as Erlang terms rather than JSON encoded.

Key quotes

· 5 pulled
Type-safe PubSub and Registry for Gleam actors with distributed clustering support
Built on the Erlang syn library
Glyn provides two complementary systems for actor communication
Both systems integrate seamlessly with Gleam's actor model using selector composition patterns
Explicit decoders are required to ensure messages sent between nodes in a cluster are handled with type safety
Snippet from the RSS feed
Type-safe PubSub and Registry for Gleam actors with distributed clustering support, built on Syn. - mbuhot/glyn

You might also wanna read