evadne
Etso — Ecto 3 adapter allowing use of Ecto schemas held in ETS tables
Hi, Etso has recently reached version 1, with Ecto 3.8+ compatibility.
Etso is an ETS adapter, allowing you to use Ecto schemas with ETS tables.
Within this library, a bare-bones Ecto Adapter is provided. The Adapter transparently spins up ETS tables for each Ecto Repo and Schema combination. The tables are publicly accessible to enable concurrency, and tracked by reference to ensure encapsulation. Each ETS table is spun up by a dedicated Table Server under a shared Dynamic Supervisor.
Changes from the initial version include:
• Added support for Ecto 3.8.3
• Added support for order_by
• Added support for parallel preloads
See this test to understand its capabilities.
Most Liked
christhekeele
Congratulations! I’ve been looking for something like this forever, so I can use the same schema in a pass-through cache from an ETS repo to a PG one.
andreaseriksson
nice! ![]()
darraghenright
Just giving this a whirl now — very nice work indeed. Thanks!
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









