Prisma Kinda Bad Or Skill Issue?

After months of relentless optimization—fine-tuning every line of code, every query, and implementing ISR—the project still couldn’t handle the load. Servers kept crashing under the strain, despite switching between four hosting providers in just three days.

At first, it seemed like a DDoS attack, so firewalls were deployed, and every protection imaginable was activated. When that didn’t work, hours were spent digging through documentation, watching tutorials, and begging for help on Discord servers and Reddit threads like a lost soul. Still, nothing worked.

Finally, Prisma logs were enabled—and the villain was unmasked: Prisma had been completely ignoring LIMIT clauses. Unlimited queries were being fired off against a database with over a million entries, making the servers crumble faster than a cookie under a toddler’s grip.

The moral of the story? Should have just typed SELECT * FROM table_name LIMIT 10; myself like a boss, and save myself the heartache. 😂😭

So, what do you think? Should I have caught this earlier, or can I just blame Prisma and call it a day to save my ego 😂? How would you handle this? What ORMs are you using, and what’s your take on them? Do you think raw SQL is underrated? I’d love to hear your thoughts!