API response very slow with Supabase node

I have configured several webhooks on my instance, which retrieve data from Supabase based on certain conditions and return the values accordingly.

The issue at hand is the response time, consistently exceeding one second. Even when the webhook is expected to respond promptly with a 200 status code, it takes approximately 800ms.

There are no other workflows awaiting execution.

My setup includes 1 main server, 1 worker, 1 Redis instance, all located in the same cloud environment, and a Supabase Pro database containing fewer than 1000 records.

I suspect that the Supabase module within N8N might be causing the slowdown. This suspicion arises from the fact that Supabase responds to API calls from my PC in less than 80ms. After conducting several tests, I am inclined to believe that the issue lies with the Supabase module integration in N8N.

After I migrate Supabase to server closer to my n8n instance deployment. the response time has dropped to 0.13s, just like butter. :slight_smile:
Sorry for the trouble :stuck_out_tongue:

Information on n8n setup

  • n8n version: 1.29
  • Database (default: SQLite): Supabase
  • n8n EXECUTIONS_PROCESS setting (default: own, main): Worker
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Railway
  • Operating system: Railway hosted 32 GB RAM / 32 vCPU per Service

Hey @Jackson_beno,

Perfect thanks for the update :slight_smile: