HackerTrans
トップ新着トレンドコメント過去質問紹介求人

nwillson

no profile record

コメント

nwillson
·3 年前·議論
also follow up question, is Supabase using one database per "app" (one cluster) or are there a few different elixir apps that are being backed by the same database (multiple independent clusters)? Though I wonder if using the same storage location for multiple clusters conflicts with how libcluster strategies work.
nwillson
·3 年前·議論
nice work! It makes sense that a company that works with postgres would make the lib_postgres adapter.

There are many libcluster adapters already, so what pushed Supabase to make a database backed one? What is the advantage?

> Postgres LISTEN and NOTIFY commands with Postgrex

I know Supabase has hooks (https://supabase.com/docs/guides/database/webhooks) so is the hope to leverage that tech to trigger something whenever a new node connects?

---

This is just a feature idea (and perhaps if I have time I'll draw up a PR), but since most folks interacting with Supabase are using Phoenix/Ecto already so it would be nice to configure it with a Repo module and/or database_url rather than a keyword list.
nwillson
·4 年前·議論
Cool tool. Is it just me or is it a random location from a fixed list of places?

web console:

randomLocations.all.map((e) => e.formatted_address).sort()

tried it on multiple tabs, incognito, etc. and the result was the same.