HackerTrans
TopNewTrendsCommentsPastAskShowJobs

eampiart

no profile record

Submissions

How unikernels power Prisma's serverless Postgres

prisma.io
2 points·by eampiart·vorig jaar·0 comments

Improve your app's performance with AI-driven analysis and recommendations

prisma.io
4 points·by eampiart·2 jaar geleden·1 comments

TypedSQL: Make your raw SQL queries type-safe with Prisma ORM

prisma.io
12 points·by eampiart·2 jaar geleden·0 comments

Prisma Pulse: Simplified database-event driven compute

prisma.io
1 points·by eampiart·2 jaar geleden·0 comments

comments

eampiart
·12 maanden geleden·discuss
Hi there: Prisma team member here.

We're working on resolving the issue, you can find and follow the latest status here → https://www.prisma-status.com/

Update: the issue is now resolved.
eampiart
·vorig jaar·discuss
Prisma Postgres is a nice choice if you're looking for serverless postgres.
eampiart
·vorig jaar·discuss
(Prisma team member here)

Try Prisma Postgres: prisma.io/postgres

No data transfer costs at all, and built-in caching across 300+ global PoPs (still valuable to decrease latency): https://www.prisma.io/docs/postgres/database/caching
eampiart
·2 jaar geleden·discuss
Thanks for walking through your thinking, feedback taken!

What's your take on the pricing calculator? We've been working on an improved version, and would love to hear your thoughts on this. In your case, what inputs would you find helpful to put in to arrive at a calculation, considering that you're unsure about projecting both queries and egress? How would you go about putting in estimated values for those?
eampiart
·2 jaar geleden·discuss
Right now during Early Access, the first hard limit would be that the database size is capped at 1GB. Of course, this will be increased as we go to General Availability. We're also planning on shipping a way to directly connect to the database vs. operating through Accelerate queries solely. During EA, I'd probably go with seeding from a pg dump. For GA, we'll provide a better way to move to Prisma Postgres if you're already using a pg database somewhere else.
eampiart
·2 jaar geleden·discuss
The global caching gets even more interesting and beneficial when the end users are all over the globe, and you're caching queries that simply take longer to execute on the db. You'll save time both on latency and compute that way. For example, everything running on the speedtest is through a single internal Accelerate project so we have some data: the overall average is 58x faster, with 779.53 ms served from origin and 13.28 ms served from cache.

Nonetheless, we absolutely have room for improvement on the ORM in terms of performance, and are working on those as well!
eampiart
·2 jaar geleden·discuss
With Prisma Postgres, you also automatically get a connection pool and a global cache: you don't have to worry about overwhelming you db with a large number of connections, and you can add global caching to any query in just a few lines of additional code, e.g.:

``` const user = await prisma.user.findMany({ cacheStrategy: { swr: 60, ttl: 60 } }) // <--- set a cache strategy in really just a single line ```

Both of these are super important when serving users that are spread across the globe. Latencies between regions add up. If you're curious, check out https://accelerate-speed-test.prisma.io/

Similarly enabled already on the db, you can subscribe to any change happening to your db, e.g. to send out welcome emails when a new user is added to the User table. Makes event-driven architectures super easy. Take a look at Pulse, which comes bundled with Prisma Postgres: prisma.io/pulse

Another benefit of a managed service of course is that you don't have to worry about managing any of it. Things happen, traffic spikes, servers go down, for a lot of us, that's nice to not worry about and rather focus on building and shipping the things that make our own products and services unique. Also, in a lot of situations, provisioning something complex is just not worth it, and a quick deployment to try or test something is desired.
eampiart
·2 jaar geleden·discuss
So nice to hear some of you just as excited about unikernels as we are!

Re: zero/minimal cold-start... Technically, you're right, though I'd say if you don't notice it's there, it's as good as not even being there. :) You get the pragmatism though, appreciate it.

Lots of cool stuff coming for Prisma Postgres that all this tech enables, looking forward to keep telling you all about them.
eampiart
·2 jaar geleden·discuss
Thanks for the list of things you'd like to see added or fixed, specifics are always much appreciated, so we can better understand!

Historically, we haven't been very good at explaining how we pick the issues we work on. That is being addressed and you'll soon see us share our process transparently. This will allow everyone to better understand how we're going to continue improving the Prisma ORM.
eampiart
·2 jaar geleden·discuss
Indeed, as others have mentioned, you get 60k queries for free! Don't even need to add a card. Then, you rather pay for the usage (primarily by number of queries) you have. The $49 Pro plan you mentioned gives you additional features, such as more projects, higher query limits, and a lower $$ price per million queries. On the Starter plan though, you can get going for absolutely free, incl. those 60k queries, and only pay for the queries above that.

We are also working on making this simpler to understand. We want to make sure our pricing is as easy to grok and as affordable as possible. Keep an eye out for improvements as we get to GA!
eampiart
·2 jaar geleden·discuss
Essentially, you pay for database queries and events, with 60'000 included for free, which is plenty for experimenting and small projects. Price per million queries/events is then based on the plan you're subscribed to, and with Starter you have zero monthly fixed costs and only pay for queries and events above 60'000. No CPU-time and similar that's usually hard to grok.

Take a look at the Accelerate and Pulse pricing details. Prisma Postgres comes bundled with these, so the pay-as-you-go pricing is the same: https://www.prisma.io/pricing#accelerate

We'll continue to make improvements to the pricing on the way to General Availability to make it both as easy to understand and affordable as possible.