Storage on Vercel
21–30 of 144 posts
Re: Storage on Vercel
#22Vercel 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…
Re: Storage on Vercel
#23Re: Storage on Vercel
#24Will this be available for Python, too? The example code is all JavaScript, but presumably this uses APIs under the hood that could be called by other languages. I've been a happy user of Python on Vercel for years, but I often feel like languages other than JavaScript are very poorly represented, both in the community and the documentation. My notes on running Python on Vercel: https://til.simonwillison.net/zeit-now…
Yes! Any postgres and redis client will just work. And the blob store has a REST API.
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.
Re: Storage on Vercel
#25Earlier quoted context omitted.
Generally, that is very true. But when the bills start hitting, users absolutely do care and will go out of their way to avoid it.
Only when it reaches ridiculous enough number. Even as an individual who can easily do any cloud/k8s/lambdas/firecracker, I am paying Vercel a few hundred for my side projects.
Re: Storage on Vercel
#26Vercel 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…
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".
Re: Storage on Vercel
#27Re: Storage on Vercel
#28The 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
#29Cloud to me is overpriced and not transparent. Example, with Upstash redis: i deployed a fly.io connected to upstash. I don't use that service for a month (no query at all), but it still counted in billing. Wait, is upstash real serverless ? I have to pay for NOT using it ?
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.…
For now, i had to say goodbye for most of cloud services. Good old VPS for now.