v0.1
🚀 Release v0.1.0: Cloud Kit Foundations
I'm excited to announce the first official release of Relay and Valkey for MoonBit. This release establishes a robust foundation for building distributed, high-concurrency cloud applications using the native moonbitlang/async runtime.
📦 What's included?
⚡ Metalymph/valkey
A native, asynchronous RESP (Redis Serialization Protocol) client for MoonBit.
- Async TCP Stack: Built entirely on
@socket.Tcp, allowing non-blocking I/O. - RESP Protocol Support: Native encoding and decoding of Redis commands and streams.
- Connection Management: Simplified connection handling with built-in error types.
🔄 Metalymph/relay
A flexible, distributed message queue abstraction designed for reliability.
- Pluggable Backends:
InMemoryBackend: High-performance asynchronous queue for local actors.RedisBackend: Distributed queue implementation using the Valkey driver.
- V3 Reliability: In-flight message tracking with
Ack(acknowledgment) andNack(negative acknowledgment) logic. - Worker Pool: Built-in concurrency management with automatic retry policies and task group orchestration.
🛠 Project Health
- GitHub Actions CI: Automated build and test pipeline (9/9 tests passing).
- Comprehensive Documentation: Updated guides for monorepo usage and getting started.
- Code Standards: 100% compliant with standard MoonBit formatting.
📦 Getting Started
Add Relay to your moon.mod.json:
{
"deps": {
"Metalymph/relay": "0.1.0"
}
}Check the README.md for detailed architecture diagrams and usage examples!