postgrex
walrus
Our great sponsors
postgrex | walrus | |
---|---|---|
3 | 5 | |
1,049 | 117 | |
1.0% | 0.9% | |
6.3 | 2.2 | |
10 days ago | 5 months ago | |
Elixir | PLpgSQL | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgrex
-
Elixir clustering using Postgres
Now we can replicate the same behavior in Elixir and Postgrex within IEx (Elixir's interactive shell).
-
TIL: Non standard postgres types in livebook
But I found a problem when the data type is not supported by postgrex. In this case, you can either have to write a custom postgrex extension like the example here. In postgrex GitHub repo, there are many examples for common data types, but XML is missing there.
-
Realtime: Multiplayer Edition
It sounds like Supabase is pulling out the WAL listening bits into its own library?
https://supabase.com/blog/supabase-realtime-multiplayer-gene...
If so, y'all might want to look into: https://github.com/elixir-ecto/postgrex/blob/master/lib/post...
walrus
-
Realtime: Multiplayer Edition
Wen Bo from the Supabase Realtime team here!
We actually use https://github.com/supabase/walrus to get the database changes and we're planning on moving to a Rust worker (https://github.com/supabase/walrus/tree/worker/worker) for better performance especially in the RLS-enabled use case.
I promised José that I would check out Postgrex.ReplicationConnection and we might add it in to our Supabase Realtime some time in the future.
-
Multiplayer Demo Built with Elixir
[0] https://supabase.com [1] https://github.com/supabase/realtime [2] https://github.com/eulerto/wal2json [3] https://github.com/supabase/walrus [4] https://gsd.di.uminho.pt/members/cbm/ps/delta-crdt-draft16ma... [5] https://supabase.com/blog/2022/04/01/supabase-realtime-with-... [6] https://fly.io [7] https://github.com/supabase/realtime/tree/multiplayer [8] https://github.com/supabase/supabase/tree/master/docker
- Show HN: Multiplayer Demo Built with Elixir
-
PostgreSQL 14 Released
[Supabase cofounder] thanks for the kind words.
We're about to wrap up Row Level Security on our real-time APIs too[0] - soon you'll be able to use Policies universally on all APIs.
[0] https://github.com/supabase/walrus
-
Supabase limitations ? Any reasons not to use?
We are adding this to the database now: https://github.com/supabase/walrus
What are some alternatives?
ecto - A toolkit for data mapping and language integrated query.
symmetric-ds - SymmetricDS is database replication and file synchronization software that is platform independent, web enabled, and database agnostic. It is designed to make bi-directional data replication fast, easy, and resilient. It scales to a large number of nodes and works in near real-time across WAN and LAN networks.
eventstore - Event store using PostgreSQL for persistence
pgvector - Open-source vector similarity search for Postgres
mariaex - Pure Elixir database driver for MariaDB / MySQL
wal2json - JSON output plugin for changeset extraction
mongodb_ecto - MongoDB adapter for Ecto
realtime - Broadcast, Presence, and Postgres Changes via WebSockets
amnesia - Mnesia wrapper for Elixir.
zombodb - Making Postgres and Elasticsearch work together like it's 2023
couchdb_connector - A couchdb connector for Elixir
mria - Asynchronously replicated Mnesia-like database for Erlang/Elixir