Ask HN: Why is the data transfer being used up so quickly?
1 kristoff200512 4 5/27/2025, 2:20:35 AM
I'm using Vercel to deploy my application, and Neon as the database. However, ever since I switched my SaaS to use SSR, the database data transfer has been consumed very quickly—around 2GB per day. Are there any good optimization methods? Or are there other databases I could use?
Try Prisma Postgres: prisma.io/postgres
No data transfer costs at all, and built-in caching across 300+ global PoPs (still valuable to decrease latency): https://www.prisma.io/docs/postgres/database/caching
You should be able to deploy your app locally, access it via a logging proxy, (say mitmproxy), and observe the logged HTTP traffic to identify what's going on. Pay attention to HTTP cache mechanisms.
Rinse and repeat until you are less than baseline (and if you don't/can't, is SSR really a good tradeoff for your use-case?).
Once you have verified your app behaves itself it's time to repeat on the cloud platform and address the public setup.