---
title: "Rodrigo Mansueli (@mansueli) | Hashnode"
description: "Supabase Tips. Read the latest articles by Rodrigo Mansueli on Hashnode."
url: "https://hashnode.com/@mansueli"
---

@mansueli

# Rodrigo Mansueli

@mansueli · Joined March 2023

Supabase Tips

[Website](https://mansueli.com/)

## Comments

[Thanks Matt C. Supabase (hosted) uses DDoS protection from Cloudflare on the API Gateway, so you'll have some protection for it. You can still do it, but the extra latency for read calls might be an overkill and hurt your performance more than an acceptable limit IMHO.](https://hashnode.com/posts/rate-limiting-supabase-requests-with-postgresql-and-pgheaderkit/64f717aafee4891c8d66ce22/comment/674792bcc7ecd3e901153d23#reply-67484af90f39ce959d1c56c4)

Reply · Article · Nov 28, 2024 · [Rate Limiting Supabase Requests with PostgreSQL and pg\_headerkit](https://hashnode.com/posts/rate-limiting-supabase-requests-with-postgresql-and-pgheaderkit/64f717aafee4891c8d66ce22)

[Thanks for the feedback, Ann. Great to see you here! I'll update the article to include HEAD there.](https://hashnode.com/posts/rate-limiting-supabase-requests-with-postgresql-and-pgheaderkit/64f717aafee4891c8d66ce22/comment/66c743aa1b6225a7d840afed#reply-66c74d89ed8ebfeb1d3622bc)

Reply · Article · Aug 22, 2024 · [Rate Limiting Supabase Requests with PostgreSQL and pg\_headerkit](https://hashnode.com/posts/rate-limiting-supabase-requests-with-postgresql-and-pgheaderkit/64f717aafee4891c8d66ce22)

[Yes, this concern is valid, and it comes down to whether the webhook is essential to your logic. This is a better solution if you need to ensure a response from the hook. If you are fine with failures on the webhook, then you can use the default hooks with async behavior is superior. A third option is to have a queue with retries using async logic. You can use supa\_queue for that: https://github.com/mansueli/supa\_queue](https://hashnode.com/posts/unleash-powerful-webhooks-with-pgwebhook/667b0cad03043fa108e78a29/comment/66b4a3e43cbc791a8997adcc#reply-66b4b1f885676b9484f758c6)

Reply · Article · Aug 8, 2024 · [Unleash Powerful Webhooks with pgwebhook in Supabase](https://hashnode.com/posts/unleash-powerful-webhooks-with-pgwebhook/667b0cad03043fa108e78a29)

[You would replace them with Edge Function calls. Here's an example: https://blog.mansueli.com/building-user-authentication-with-username-and-password-using-supabase](https://hashnode.com/posts/creating-customized-i18n-ready-authentication-emails-using-supabase-edge-functions-postgresql-and-resend/64e4bbe87784fb7b15192816/comment/6643f3d0dcbb37e8aa42398c#reply-6644c943c3045e03b45dc8be)

Reply · Article · May 15, 2024 · [Creating Customized i18n-Ready Authentication Emails using Supabase Edge Functions, PostgreSQL, and Resend](https://hashnode.com/posts/creating-customized-i18n-ready-authentication-emails-using-supabase-edge-functions-postgresql-and-resend/64e4bbe87784fb7b15192816)

[Nice, I wasn't aware of it.](https://hashnode.com/posts/ai-powered-slack-bot-supabase/652550c595ddcc4cdec10ae2/comment/6526925cc4a77ce72121d9fb#reply-6526b67b85d4baec97eb902a)

Reply · Article · Oct 11, 2023 · [Building a Slack Bot for AI-Powered Conversations with Supabase](https://hashnode.com/posts/ai-powered-slack-bot-supabase/652550c595ddcc4cdec10ae2)

[There was a refactor to change from company to team and I missed that the screenshot was outdated. I've updated the article to explain this more in-depth. Including setting the claim for a user and how the metadata looks like.](https://hashnode.com/posts/using-custom-claims-testing-rls-with-supabase/642461a46185c44a622138c7/comment/650d23b9939d972b9932436f#reply-650d8fdbf92a4f31b4653c6e)

Reply · Article · Sep 22, 2023 · [Using custom claims & testing RLS with Supabase](https://hashnode.com/posts/using-custom-claims-testing-rls-with-supabase/642461a46185c44a622138c7)

[Chris if you are serving the function locally and running supabase locally, this should also work. I just tested this repo again and it is working here.](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-65073fff5b0b2cfbc5560596)

Reply · Article · Sep 17, 2023 · [Allowing users to invite others with Supabase Edge Functions](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313)

[Can you share a GitHub repo with a minimal reproducible example for me to look at?](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313/comment/64fc455c8b05f2b3821c2116#reply-64fe011e703e32bdbc1ce813)

Reply · Article · Sep 10, 2023 · [Allowing users to invite others with Supabase Edge Functions](https://hashnode.com/posts/allowing-users-to-invite-others-with-supabase-edge-functions/645baa91ddc45b5e40f77313)

[Thanks Bert. I can make this more clear moving forward, but you can also follow this previous article to have them set automatically for you: https://blog.mansueli.com/sudo-with-postgres-supabase](https://hashnode.com/posts/building-a-queue-system-with-supabase-and-postgresql/6491b48a3a9e67f9192111d8/comment/64eae129cc3035243ea7fb03#reply-64eb90c907b8622e9a9970c5)

Reply · Article · Aug 27, 2023 · [Building a Queue System with Supabase and PostgreSQL](https://hashnode.com/posts/building-a-queue-system-with-supabase-and-postgresql/6491b48a3a9e67f9192111d8)

[Sorry, a little oversight from me. If you change the $$ in the function or in each command with a different context it will work: RETURNS VOID AS $function$ BEGIN (...) $function$ LANGUAGE plpgsql; Or on each command: PERFORM cron.schedule( 'process\_current\_jobs\_if\_unlocked\_job\_3', '\* \* \* \* \*', $command$ SELECT process\_current\_jobs\_if\_unlocked(); $command$ ); I'll update the article to fix the example.](https://hashnode.com/posts/building-a-queue-system-with-supabase-and-postgresql/6491b48a3a9e67f9192111d8/comment/64dd14f49154427d760d219e#reply-64dd23ca4429385b92804dd5)

Reply · Article · Aug 16, 2023 · [Building a Queue System with Supabase and PostgreSQL](https://hashnode.com/posts/building-a-queue-system-with-supabase-and-postgresql/6491b48a3a9e67f9192111d8)
