sorenbs
If a western country starts building nuclear today, they will have something to show for it in ten years at the earliest. Renewables and batteries are already cheap, and getting cheaper, so it seems like a very silly bet. Especially in a place like Italy with excellent sun and lots of space.
We have run it in production for a month: https://www.prisma.io/blog/bun-rust-rewrite-prisma-compute
Show HN: AI Chat App on Durable Streams and Tanstack DB
I built an AI chat app that uses Durable Streams from ElectricSQL as both the storage format and transport medium. It has the very nice property that tokens are stored durably as they are steamed back from the LLM provider, and then streamed to the frontend for a smooth user experience.The frontend uses Tanstack DBs differential dataflow implementation to tie together meta data from Postgres...
We put the Bun Rust rewrite in production
At Prisma we've been working on a Compute offering to complement our hosted Postgres. We settled on Bun early in the process as we liked the experience we'd be able to provide thanks to Buns batteries-included approach.But then we started using Bun in anger, and we found many memory leaks in the Bun internals, that we knew our customers would face as well. Prisma Compute is operating...
Prisma launching integrated Compute and Postgres hosting
Webwright: A terminal is all you need for web agents
GLM 5.1: Pelican Test
A fast Rust port of Steve Yegge's beads
Already happening :-) https://github.com/Dicklesworthstone/beads_rust
GLM-4.7: Frontier intelligence at record speed
The Future of Serverless Databases
Vultr is great!
We are also building a hosted Postgres service based on Firecracker and with the ability to create unlimited databases. Will have to dig in and see how we compare to this. https://www.prisma.io/blog/announcing-prisma-postgres-early-...
If your query is very expensive, it will take longer to complete, and that will be a signal to you the developer to simplify your query or identify an index that can help speed it up. Prisma Optimise will help you identify and improve such queries.
Reclaiming memory is orthogonal to unikernals. It's a concern of the VMM, and Firecracker does support this through the balloon device: https://github.com/firecracker-microvm/firecracker/blob/main...
Now, the unikernel helps us consume less memory, which is a good place to start :-)
- Each incremental concurrent query allocates additional compute resource to your database - All queries share that pool of compute resource - Queries have strict timeout limits. 10 seconds on most plans configurable up to 60 seconds.
Prisma Postgres is designed to serve interactive applications with users waiting for a response. In a sense, we are adopting some of the design principles underlying DynamoDB (strict limits on queries) and combining it with the flexibility of a Postgres database that is fully yours to configure and use as you see fit.
We are using Firecracker and unikernals to deliver true scale-to-zero without cold-starts. Happy to go into more detail if anyone is interested.