ncage
ncage
Explore posts from servers
DTDrizzle Team
Created by ncage on 7/21/2024 in #help
Switched from bun to pnpm & now i have errors?
No description
2 replies
TTCTheo's Typesafe Cult
Created by ncage on 11/28/2023 in #questions
Cloud database & latency?
Hi everyone. I've never pushed anything to cloud yet but i'm trying to start on the right foot :). I'm not sure which edge provider i'm going to use but i'm looking at vercel, netlify, & cloudflare workers. One of the concerns i have is with databases. There are variety of providers i'm looking at: Neon, PlanetScale, & cockroachdb. My concerns is with data latency & performance. If you push an app to the cloud & they are all collocated in the same datacenter the performance probably would be pretty good but with these data providers that won't be the case of course. I will try to get the datacenters as close as i can't but thats as much as i can do. I don't want to put all this work into something and then later find out the performance is horrible either because of latency and/or just pulling data over the public internet isn't the best thing to do. Any feedback would be appreciated.
2 replies
TTCTheo's Typesafe Cult
Created by ncage on 6/8/2023 in #questions
Javascript / Typescript ORMs like Drizzle or Prisma
Guys sorry i know this is a very beginner question. I've been mostly a backend developer most of my life and just started getting into development with Vue. Are ORM based on javascript/Typescript meant for the back end front end or both?
If its meant for front end i have a bad feeling. I mean a front end app sending sql queries directly to a database just doesn't seem that secure and seems very likely to be abused. Where would you store connection info for the database? In javascript sent to the browser? Maybe if its meant if your running backend javascript (either node or SSR with whatever framework).
13 replies