Skip to content

Add ETS-backed store pattern (Phase 3 complete) - #3

Merged
ivan-podgurskiy merged 1 commit into
mainfrom
feat/ets-store
Jun 3, 2026
Merged

ivan-podgurskiy merged 1 commit into
mainfrom
feat/ets-store

Conversation

@ivan-podgurskiy

Copy link
Copy Markdown
Owner

Summary

  • Adds Phase 3, pattern #12: Patterns.EtsStore — GenServer-owned :public ETS tables with put/get/delete, direct fetch/2 reads, and compare_reads/2 benchmarking GenServer vs ETS lookup paths.
  • Supports :set and :bag table types with read_concurrency / write_concurrency options.
  • Adds guide guides/12_ets_store.md and updates README/CHANGELOG; Phase 3 is now complete.

Test plan

  • mix test — 45 doctests, 196 tests, 0 failures
  • mix credo --strict — no issues
  • mix dialyzer — 0 errors
  • mix format --check-formatted

Introduce Patterns.EtsStore with GenServer-owned public ETS tables,
direct fetch/2 reads, read-path benchmarks, and guide documentation.
Marks Phase 3 functional patterns as complete.
@ivan-podgurskiy
ivan-podgurskiy merged commit 537ac7b into main Jun 3, 2026
4 checks passed
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