{"id":43345118,"url":"https://github.com/err0r500/fairway","last_synced_at":"2026-02-02T01:34:37.093Z","repository":{"id":332964462,"uuid":"1135021988","full_name":"err0r500/fairway","owner":"err0r500","description":"event-sourcing for human beings","archived":false,"fork":false,"pushed_at":"2026-01-23T20:40:10.000Z","size":1343,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-24T09:40:51.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/err0r500.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-15T14:32:24.000Z","updated_at":"2026-01-23T20:40:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/err0r500/fairway","commit_stats":null,"previous_names":["err0r500/fairway"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/err0r500/fairway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ffairway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ffairway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ffairway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ffairway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/err0r500","download_url":"https://codeload.github.com/err0r500/fairway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/err0r500%2Ffairway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28999913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T01:32:03.847Z","status":"ssl_error","status_checked_at":"2026-02-02T01:32:03.458Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-02T01:34:36.303Z","updated_at":"2026-02-02T01:34:37.087Z","avatar_url":"https://github.com/err0r500.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./doc/fairway.png\"\u003e\n\u003c/p\u003e\n\n## ⚠️ Experimental (Work in Progress)\n\nThis project is **experimental** and under **heavy work**. It’s **not published yet**.\n\nI'm progressively migrating code from the private repo of a previous attempt\n\n✅ Feel free to try it locally:\n- clone the repo\n- toy with the example 🙂\n\n# Fairway\nGolang framework for building micromodule systems using eventsourcing with [Dynamic Consistency Boundaries](https://dcb.events), and [FoundationDB](https://www.foundationdb.org).\n\n## What Fairway provides\n\n### Decoupled domain modeling\n- Each command defines only the minimal model it needs to make its decision\n- No shared domain model across commands - each command is independent\n\n### Fine-grained consistency \u0026 concurrency\n- Optimistic concurrency limited to the data a command actually reads\n- No contention on unrelated data - commands only conflict when they read the same events\n\n### Independent command evolution\n- Commands share no code, communication, or underlying streams\n- No hidden coupling - each command is a separate slice of functionality\n- Zero merge conflicts via code generation and self-registration\n\n### Schema-free evolution\n- No data migrations when commands or views evolve (including no stream refactoring)\n- Event sourcing: new versions simply reinterpret existing events differently\n- Past facts remain unchanged, interpretations can evolve\n\n### Single datastore for everything\n- Leverages FoundationDB for all needs: queues, persistent read models, events\n- Easy enforcement of unique constraints across the entire system\n- No operational complexity from managing multiple databases\n\n---\n\n\u003e -- Is it a good idea ?\n\u003e\n\u003e -- I'm not sure, yet.\n\u003e\n\u003e -- Is it worth exploring ?\n\u003e\n\u003e -- Absolutely, yes !\n\n---\n\n## Micromodules: UNIX philosophy for backends\nSystem behavior emerges from tiny, independent modules that compose through a shared event log.\n\n**Principles:**\n- Does one thing well (changes small part of system or displays small info slice)\n- Disposable (replaceable anytime, no breakage, no migration)\n- Minimal state (_only_ what's needed for its specific task)\n- Consistency boundaries limited to just the data needed for command decisions\n- No inter-module communication (compose via shared log)\n\n**Patterns** (from [Event Modeling](https://eventmodeling.org/)):\n\nEach micromodule implements exactly one pattern:\n\n- **Command** - State change from trigger to system modification\n- **View** - Connects events to representation\n- **Automation** - Uses View to trigger a Command without user intervention\n\n## State and future plan\n- **[dcb/](./dcb/)** : DCB-compliant eventsourcing interface backed by FoundationDB\n- **High-level modules** (ongoing) : coming from a previous attempt using another db\n- **CLI** (planned) : Code generation tools\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Ffairway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferr0r500%2Ffairway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferr0r500%2Ffairway/lists"}