Earlier quoted context omitted.
Yes! Any postgres and redis client will just work. And the blob store has a REST API.
Based on this code example: import { sql } from '@vercel/postgres'; const { rows } = await sql` INSERT INTO products (name) VALUES (${formData.get('name')}) `; Presumably authentication is handled transparently? I really like that - reminds me of Deno's new KV cloud stuff too. Is that done with environment variables? I'd want a way to tap into that from Python code as well.
Storage on Vercel
31–40 of 144 posts
Re: Storage on Vercel
#32Earlier quoted context omitted.
I believe this is a core factor as to why Supabase hasn't joined Cloudflare and Vercel, they don't have that "outside" aspect. By all other counts, they are well established to do so and who knows maybe they do have something in the works to tie in their offerings together from the "outside".
(am supabase investor) fortunately supabase's value prop is so straight forward it doesnt quite need to do the "outside-in" maneuver. just make postgres into a developer friendly platform. huge TAM in itself. another investor i asked on why they put $millions into supabase simply said "RDS has more than $1b ARR"
Re: Storage on Vercel
#33Earlier quoted context omitted.
Upstash on Fly.io is not serverless. You provision the RAM + connection counts you want, and then pay for that capacity. This is not what all our customers want, but it is much cheaper to run this way for most fullstack frameworks. It's not ideal for a Redis you don't use at all, though. We're considering a serverless / metered billing option for this. But what we have is much closer to spinning up a permanent Redis.…
The dashboard on fly.io didn't say it's not serverless. SO it's not transparent. Look like a scam to me. For now, i had to say goodbye for most of cloud services. Good old VPS for now.
Re: Storage on Vercel
#34Re: Storage on Vercel
#35The postgres code snippet is a text-book example of how to enable SQL injection attacks. Great performance from the Vercel marketing team.
I don't think you understand what the code is doing. That's a string templating function , not a raw templated string. `${formData.get('name')}` will get passed as a parameter in a var-arg, not stuck straight into the string.
import { tableName } from "../shared"
sql`SELECT * FROM ${tableName} WHERE id=${formData.get('id')}`
The @vercel/postgres package needs a big disclaimer that it works very differently from node-postgres and what is and is not allowed.Re: Storage on Vercel
#36- Vercel Postgres pricing: https://vercel.com/docs/storage/vercel-postgres/usage-and-pr...
- Neon Postgres pricing: https://neon.tech/docs/introduction/billing
You can properly still buy Postgres directly from Neon or choose another database provider: https://vercel.com/integrations#databases
Re: Storage on Vercel
#37Re: Storage on Vercel
#38The postgres code snippet is a text-book example of how to enable SQL injection attacks. Great performance from the Vercel marketing team.
Re: Storage on Vercel
#39Vercel is the second company to “eat the cloud from outside in”. ( https://www.swyx.io/cloudflare-go ) its now my defacto playbook for building lasting bottom up disruptive cloud companies. start by giving away an extremely good free tier (cloudflare - cdn, vercel - nextjs+hosting) then add build time compute, run time compute, readonly kv store, and now full read write storage. (this is part of an overall cloud prog…
Classic VC-backed B2B play. The trick, however, is finding a "wedge" people actually want on its own. Unfortunately that seems to be easier said than done.
there are better wedges financially speaking but theres pretty much no bigger bottom up developer wedge than this one