https://supabase.com/ logo
Join DiscordCommunities
Powered by
# off-topic
  • d

    discoding

    09/24/2021, 6:21 AM
    but after the auth i don't seem to receive any cookies to the server
  • d

    Deleted User

    09/24/2021, 8:28 AM
    Hi guys
  • d

    Deleted User

    09/24/2021, 8:28 AM
    I want to know how BaaS like Supabase and Firebase works? I want to try to make one
  • m

    MDobs

    09/24/2021, 8:37 AM
    You create dynamic database instances and expose an API to do so, as well as map SQL commands to API calls For realtime things get more complicated as you need your server to also work as websocket broker between the API/DB and the clients, and you need to listen to database changes so you can broadcast those into the connected websockets, and vise versa. (in a nutshell)
  • d

    Deleted User

    09/24/2021, 10:10 AM
    Is there any small project available open source?or any tutorial?
  • m

    MDobs

    09/24/2021, 10:20 AM
    google showed this: https://blog.back4app.com/baas-open-source/
  • h

    HorseShoe

    09/24/2021, 3:31 PM
    What's the hardware being used? like how many physical cores and ram is being allocated to my database or can i get a approximate aws instance like t2.micro
  • h

    HorseShoe

    09/24/2021, 3:31 PM
    Am in the free tier if that matters
  • s

    sylar815

    09/25/2021, 10:51 AM
    Guys any feedback on refine.dev Looks great.. Has anyone used it?
  • d

    discoding

    09/25/2021, 2:11 PM
    nope, hearing it for the first time.
  • m

    MDobs

    09/25/2021, 2:49 PM
    Do projects enter a "sleep mode" because the first API call I do after some hours of idleness always takes substantially more to arrive than subsequent calls.
  • s

    sylar815

    09/25/2021, 6:36 PM
    Never faced this issue
  • j

    jon.m

    09/25/2021, 7:28 PM
    I've noticed email confirmations for signups sometimes take several minutes, sometimes 10 or 15. Is there a way to speed this up?
  • s

    silentworks

    09/25/2021, 8:39 PM
    You can speed this up by using Custom SMTP
  • j

    jon.m

    09/25/2021, 8:58 PM
    Any docs on that part? Sendgrid seems to change every week.
  • j

    jon.m

    09/25/2021, 9:11 PM
    Is that a self hosted feature not available otherwise?
  • s

    silentworks

    09/25/2021, 9:40 PM
    Go to Authentication/Settings in your dashboard then scroll down to Enable Custom SMTP. It's as easy as that.
  • j

    jon.m

    09/25/2021, 9:41 PM
    Thank you!
  • y

    YokoWasis

    09/26/2021, 12:29 AM
    Hi, I just signed up for supabase, I see about RAM on database. Does it mean I am limited by RAM ? right now it's sitting on 40%, realistically how many operation can I do before reaching 100% RAM
  • y

    YokoWasis

    09/26/2021, 12:30 AM
    I intend to migrate my firestore project to supabase, but in firestore I don't have to deal with RAM. although in supabase, I don't have to deal with api calls count. Anyone can explain how this RAM works ?
  • j

    Jaeden

    09/26/2021, 7:34 AM
    I have a table with Blog Posts. Aauthenticated users can Favorite and Upvote blog posts. What would be the best practice to store these Favorite and Upvotes? So that it makes it easy to use the SDK and that is scaleable. I come from Firebase and I would just update a Favorites array in a specific Blog Post row with the user id (not even sure if that would considered best practice). I'm kinda stuck because I want to set this up right. Thanks !
  • y

    YokoWasis

    09/26/2021, 3:07 PM
    Anyone use supabase in production for about 10k read / write in short period of time (e.g. 1 minute) ? can it scale ? I come from firestore, so I don't have to worry about this. Should I worried using supabase ? looks like they have limit on memory / cpu usage.
    s
    h
    f
    • 4
    • 15
  • s

    Scott P

    09/26/2021, 5:07 PM
    167 requests per second shouldn't be a challenge for any DB or DBaaS out there. There's potentially hundreds of factors which affect Postgres performance - Do you use indexes? Do you have partitions? Do you have suitable primary keys? Are you querying views from inside views? Are you hosting in the same region as your front-end?
  • y

    YokoWasis

    09/26/2021, 5:09 PM
    @User no, I don't use any complicated query / stuff. it's a very simple query, with exact string id.
  • y

    YokoWasis

    09/26/2021, 5:40 PM
    Can it scale to let's say 20k, 30k or even 100k?
  • l

    laznic

    09/26/2021, 6:05 PM
    Love is when you type "s" in the browser address bar and it automatically suggests supabase.io as the first option
  • s

    Scott P

    09/26/2021, 6:39 PM
    Supabase scaling
  • j

    jon.m

    09/26/2021, 8:05 PM
    You can create a number field and simply decrease and increase. That is the easiest solution. The second easiest is to create an upvote table and add a primary key relation to the post. Relations are handled fairly easily in the SDK
  • j

    Jaeden

    09/26/2021, 8:49 PM
    Noted. Reason I’m struggling is because the Upvotes are for logged in users only. Would you say it’s best to create an Upvote table, or store Upvotes in the User or BlogPost table? So many options :S
  • j

    jon.m

    09/26/2021, 9:09 PM
    I would do a upvotes table
1...107108109...392Latest