-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Problem
With the recent performance enhancements:
- perf: don't insert on every event loop iteration #233
- perf: use prepared statements for worker queries #234
Processing 400 req/s now has the same max CPU usage than 200 req/s, see loadtests:
- Old: https://github.com/supabase/pg_net/actions/runs/17269203113
- New: https://github.com/supabase/pg_net/actions/runs/17566969559
Solution
Increase batch_size from 200 to 400.
Metadata
Metadata
Assignees
Labels
No labels