Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
3 replies
Ali

Best way to store heavily read/edited pdf files : mysql BLOB in db or store as files

I'm building an app that works heavily on pdf files (constantly stored and read , modified ) , would it be to store them in a file storage system and and load bytes to edit them or store them directly as bytes in the db. Files would typically be 100kb - 1/2 mb max. I'm confortable with either Prisma or Drizzle. I'm also using Planetscale and Uploadthing.
Was this page helpful?