Skip to content
@Picea

Picea

🌲 Picea

Write your domain logic once. Run it everywhere.

Picea is a .NET ecosystem built on the observation that MVU, Event Sourcing, and the Actor Model are all instances of the same mathematical structure — a Mealy machine (finite-state transducer with effects):

transition : (State × Event) → (State × Effect)

Define your pure domain logic once as a transition function. Plug it into any runtime.

Packages

Package Repo Description
Picea picea/picea The kernel: Automaton<>, Result<>, Decider<>, Runtime, Diagnostics
Picea.Abies picea/abies Model-View-Update framework — Browser, Server, Kestrel, Analyzers, Templates
Picea.Mariana picea/mariana Resilience patterns: Retry, Circuit Breaker, Rate Limiter, Hedging, Timeout, Fallback
Picea.Glauca picea/glauca Event Sourcing: AggregateRunner, EventStore, Projections, KurrentDB adapter
Picea.Rubens picea/rubens Actor model: Actor, Address, Envelope, Reply

Architecture

Picea (kernel) ← no framework dependency
    ↑
    ├── Picea.Mariana (resilience)
    ├── Picea.Abies (MVU)
    │     ├── Picea.Abies.Browser
    │     ├── Picea.Abies.Server → Picea.Abies.Server.Kestrel
    │     └── Picea.Abies.Analyzers
    ├── Picea.Glauca (Event Sourcing)
    │     └── Picea.Glauca.KurrentDB
    └── Picea.Rubens (Actor model)

The Naming

Picea is the genus of spruce trees. Each repo is named after a species:

Repo Species Why
picea Picea (genus) The root — the kernel everything grows from
abies Abies (sister genus) Sister genus in subfamily Abietoideae — MVU is the sister framework
glauca Picea glauca (White spruce) Hardy, widely distributed — Event Sourcing is the proven workhorse
rubens Picea rubens (Red spruce) Grows at high altitude — Actor model scales to distributed heights
mariana Picea mariana (Black spruce) Thrives in harsh conditions — perfect for resilience patterns

Getting Started

dotnet add package Picea

See picea/picea for documentation, tutorials, and API reference.

License

All Picea packages are licensed under Apache 2.0.

Popular repositories Loading

  1. Abies Abies Public

    A library for building MVU style web applications with .NET

    C# 1

  2. realworld realworld Public

    Forked from realworld-apps/realworld

    "The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more

    TypeScript

  3. js-framework-benchmark js-framework-benchmark Public

    Forked from krausest/js-framework-benchmark

    A comparison of the performance of a few popular javascript frameworks

    JavaScript

  4. Picea Picea Public

    A minimal, production-hardened Mealy machine kernel for building state machines, MVU runtimes, event-sourced aggregates, and actor systems in .NET

    C#

  5. Mariana Mariana Public

    Production-grade resilience strategies modeled as Mealy machine automata. Retry, Circuit Breaker, Timeout, Fallback, Rate Limiter, and Hedging — built on the Picea kernel.

    C#

  6. Glauca Glauca Public

    Event Sourcing patterns modeled as Mealy machine automata — Aggregate runners, Saga orchestration, Projections, and pluggable EventStore adapters. Built on the Picea kernel.

    C#

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…