HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nwillson

no profile record

Submissions

Gems: Globally Editable Music Sequencer

gems.nathanwillson.com
1 points·by nwillson·قبل 5 سنوات·0 comments

comments

nwillson
·قبل 3 سنوات·discuss
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 سنوات·discuss
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 سنوات·discuss
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.