Neon
Neon
  • 54
  • 127 634
How it works - Autoscaling for Postgres
Learn how Neon's autoscaling algorithm actually works.
Dynamically estimating and scaling Postgres’ working set size: neon.tech/blog/dynamically-estimating-and-scaling-postgres-working-set-size
Try Neon at neon.tech/youtube
→ Neon Discord: neon.tech/discord
→ Follow us on Twitter: neondatabase
→ Star us on GitHub github.com/neondatabase/neon
Переглядів: 292

Відео

Postgres multi-tenant architecture for AI apps (database per user/workspace/org)
Переглядів 9593 місяці тому
Instead of storing all vector embeddings in one shared Postgres database, you provide each tenant (a user, an organization, a workspace, etc.) their own dedicated Postgres database with pgvector Code demo: github.com/neondatabase/db-per-tenant This means: 1. Each tenant's data is stored in a separate, isolated database not shared with other tenants. This makes it possible for you to be complian...
CLI for scaffolding full stack JS apps just dropped (Next.js, Prisma, Drizzle, Auth.js and more)
Переглядів 8675 місяців тому
Learn about the CLI command `npx neonctl create-app`, which scaffolds an opinionated template for full-stack JavaScript apps powered by Postgres hosted on Neon. • The Experience of Deploying Next.js Apps on Cloudflare: davidgomes.com/the-experience-of-deploying-next-js-apps-on-cloudflare/ • CLI command reference: neon.tech/docs/reference/cli-create-app • CLI GitHub repo: github.com/neondatabase...
Why your preview deployments aren't production like (probably)
Переглядів 4907 місяців тому
Learn how to create isolated, anonymized copies of your production data for your Postgres database: neon.tech/blog/how-to-create-previews-with-anonymized-production-like-data-in-seconds Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter: neondatabase → Star us on GitHub github.com/neondatabase/neon
Ship better apps with this CI/CD flow
Переглядів 1,8 тис.8 місяців тому
Learn to integrate Postgres into your Software Development Life Cycle with Database Branching. We go over creating database branches for preview deployments and local development. Demo code: github.com/neondatabase/preview-branches-with-fly Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter: neondatabase → Star us on GitHub github.com/neondatabase...
Postgres on Neon: a new approach to database development
Переглядів 4,6 тис.8 місяців тому
Neon, a fully managed serverless Postgres database, is generally available 🎉 In this video, we cover some of the features that were released as part of this launch. → Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter: neondatabase → Star us on GitHub github.com/neondatabase/neon Instructor: thisismahmoud_ | linkedin.com/in/mahmoud-codes
Restore a 1,000GB+ Postgres database in 1 second (literally)
Переглядів 2,8 тис.9 місяців тому
→ Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter: neondatabase → Star us on GitHub github.com/neondatabase/neon Instructor: thisismahmoud_ | linkedin.com/in/mahmoud-codes
Prisma essentials: from development to production (Prisma Migrate workflow)
Переглядів 4,2 тис.9 місяців тому
Learn about database migrations using Prisma Migrate and how to go from Development to Preview to Production. - Code example: github.com/neondatabase/preview-branches-with-fly/tree/with-prisma - Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter: neondatabase → Star us on GitHub github.com/neondatabase/neon Instructor: thisismahmoud_ |...
A Postgres database for Every Vercel Preview Deployment
Переглядів 1,9 тис.9 місяців тому
Learn how to create a Postgres database for every preview deployment using the Neon integration on Vercel If you have an existing CI pipeline, check out this blog post, which covers achieving the same result using GitHub Actions and the Vercel CLI: neon.tech/blog/branching-with-preview-environments. Instructor: thisismahmoud_ | linkedin.com/in/mahmoud-codes → Try Neon at neon.tech/y...
This Postgres Driver Is Perfect for Serverless Apps
Переглядів 3,4 тис.10 місяців тому
Learn how you can use the Neon Serverless Driver. It provides WebSocket and HTTP transport options because some environments don't support raw TCP (e.g. Cloudflare Workers didn't when we released the driver, and Vercel Edge Functions still don't). More on this here: neon.tech/blog/serverless-driver-for-postgres In a serverless environment, you may need to reconnect with every web request, so we...
AWS Amplify Gen 2 Full stack CI/CD with Postgres (SSR, Web Compute, Auto-detection, SSM)
Переглядів 1,6 тис.10 місяців тому
Neon Postgres Branch for each Amplify Hosting app branch. ⭐ GitHub repo with example Amplify Hosting Build Settings and Bash script: github.com/siegerts/neon-branches-amplify-cicd This video walks through how to integrate AWS Amplify Hosting with Neon Postgres for database management through CI/CD pipelines. The setup includes a custom Bash script for creating and cleaning up Neon database bran...
Copy a 1,000GB+ Postgres database in 1 second (literally)
Переглядів 6 тис.10 місяців тому
Learn how you can instantly create isolated copies of your Postgres database on Neon Instructor: thisismahmoud_ | www.linkedin.com/in/mahmoud-codes/ → Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter neondatabase → Star us on GitHub github.com/neondatabase/neon 00:00 - Intro 00:19 - Checking Postgres database size 00:45 - pgbench sch...
Build a Serverless API (Cloudflare Workers, Drizzle ORM, Hono & Neon)
Переглядів 17 тис.10 місяців тому
Final code: github.com/neondatabase/cloudflare-drizzle-neon In this video, you'll learn how to use Cloudflare Workers, Hono, Drizzle ORM, and Neon to build a serverless API. Instructor: thisismahmoud_ | www.linkedin.com/in/mahmoud-codes/ → Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter neondatabase → Star us on GitHub github.com/ne...
Learn Drizzle ORM in 13 mins (crash course)
Переглядів 34 тис.11 місяців тому
Code used in the video: github.com/neondatabase/drizzle-overview In this video, you'll learn Drizzle ORM. We'll talk about its different components, how to define your database schema, and its SQL-like querying API as well as its relational API Instructor: thisismahmoud_ | www.linkedin.com/in/mahmoud-codes/ → Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow u...
A Postgres Database for Every Fly.io Preview (ft. Drizzle ORM & GitHub Actions)
Переглядів 1,5 тис.11 місяців тому
Demo app: github.com/neondatabase/preview-branches-with-fly Learn how you can create a Postgres database for every Preview using Neon, GitHub Actions, Drizzle ORM, and Fly.io Instructor: thisismahmoud_ | www.linkedin.com/in/mahmoud-codes/ → Try Neon at neon.tech/youtube → Neon Discord: neon.tech/discord → Follow us on Twitter neondatabase → Star us on GitHub github.com/n...
What is Neon Serverless Postgres?
Переглядів 12 тис.11 місяців тому
What is Neon Serverless Postgres?
The Safest Way to Test Postgres Destructive Queries
Переглядів 38111 місяців тому
The Safest Way to Test Postgres Destructive Queries
Secure Your Neon Database By Restricting Access to Known IPs
Переглядів 187Рік тому
Secure Your Neon Database By Restricting Access to Known IPs
Code-Like Database Branching for Postgres with Neon
Переглядів 2,3 тис.Рік тому
Code-Like Database Branching for Postgres with Neon
Streamline your workflows with Neon Branch Reset
Переглядів 248Рік тому
Streamline your workflows with Neon Branch Reset
Build an AI-powered book recommendation app using Hasura, pgvector and Neon (Simrat Hanspal)
Переглядів 345Рік тому
Build an AI-powered book recommendation app using Hasura, pgvector and Neon (Simrat Hanspal)
The Future of Development Environments (Zach Zaro)
Переглядів 96Рік тому
The Future of Development Environments (Zach Zaro)
Optimizing your workflows with Neon Branching (Raouf Chebri)
Переглядів 362Рік тому
Optimizing your workflows with Neon Branching (Raouf Chebri)
Revolutionizing business intelligence using Appsmith and Neon (Kevin Blanco)
Переглядів 189Рік тому
Revolutionizing business intelligence using Appsmith and Neon (Kevin Blanco)
State of Drizzle 2023 (Alex Blokh)
Переглядів 682Рік тому
State of Drizzle 2023 (Alex Blokh)
Using Natural Language to Query Postgres (Jacob Lee)
Переглядів 247Рік тому
Using Natural Language to Query Postgres (Jacob Lee)
Fullstack Preview Environments with Neon and Qovery (Romaric Philogène)
Переглядів 65Рік тому
Fullstack Preview Environments with Neon and Qovery (Romaric Philogène)
Don't let bad data block you (Peter Pistorius)
Переглядів 38Рік тому
Don't let bad data block you (Peter Pistorius)
Deploy Fullstack apps with Koyeb and Neon (Edouard Bonlieu)
Переглядів 444Рік тому
Deploy Fullstack apps with Koyeb and Neon (Edouard Bonlieu)
How to use NPM packages outside of Node (George MacKerron)
Переглядів 40Рік тому
How to use NPM packages outside of Node (George MacKerron)

КОМЕНТАРІ

  • @Inter-Dimensions_Studios
    @Inter-Dimensions_Studios 6 днів тому

    Currently on the Neon integration page, Vercel integration is labeled "coming soon" why is that?

  • @ElenaBG3
    @ElenaBG3 7 днів тому

    Serverless this, serverless that...

  • @yoskokleng3658
    @yoskokleng3658 25 днів тому

    Hello sir, please help tell me how to run generate and migrate commands for a schema other than the default public schema, without using pgSchema (as it is fixed)? Also, could you tell me how to establish a connection with Drizzle ORM using dynamic schemas? Thanks

  • @AldeSabido26
    @AldeSabido26 Місяць тому

    Is there a way to deploy this in the same VPC with my EC2/ECS?

  • @hbela1000
    @hbela1000 Місяць тому

    This tuto is just awesome, thanks.

  • @시
    @시 Місяць тому

    hono, drizzle, and neon are good choices, but cloudflare workers should be careful. The 50ms computing time limit is too short for hashing and encryption tasks such as password hashing. on the other hand, aws lambda can use 15 minutes

  • @Next-Js
    @Next-Js Місяць тому

    Thank you, very good!

  • @Don78395dherre
    @Don78395dherre Місяць тому

    Wtf you are already been write the code qnd explaining them , why don't you write the code and explain that during video

  • @JosefuDorayvu
    @JosefuDorayvu Місяць тому

    Holy cows! You are a legend for this banger of a crash course, cheers!

  • @sherhasan8896
    @sherhasan8896 Місяць тому

    very helpful video thanks

  • @neondatabase
    @neondatabase 2 місяці тому

    Dynamically estimating and scaling Postgres’ working set size: neon.tech/blog/dynamically-estimating-and-scaling-postgres-working-set-size If you have any questions, feel free to reach out in the Neon Discord! neon.tech/discord

  • @rawnato
    @rawnato 2 місяці тому

    Hey man! Very nice video! I’m thinking to create some kind of project using CF! Can you share some ideas of costs that you have on CF! Just to have some knowledge about it! Another idea that can be a nice idea for a video, it’s a next-auth with this hono serverless api integration!

  • @Nicolas-w7n
    @Nicolas-w7n 2 місяці тому

    This tutorial is not realistic for production apps. Vercel pull overwrites the DB url.

  • @carlotadias9335
    @carlotadias9335 2 місяці тому

    hello, I have this config import { defineConfig } from "drizzle-kit"; export default defineConfig({ schema:"./src/db/schema.ts", out: "./src/db/migrations", dialect: "sqlite", driver: "d1-http", strictNullChecks : true, strict: true, dbCredentials: { url: "file:./src/db/sqlite.db", }, }); And I'm having the error in the url inside of the dbCredentials : Object literal may only specify known properties, and 'url' does not exist in type '{ accountId: string; databaseId: string; token: string; }'.ts(2353) (property) url: string Any idea on what can be wrong ?? Thank you in advance,

  • @王琦-f3b
    @王琦-f3b 2 місяці тому

    sir, how to get the direct url?

  • @carlotadias9335
    @carlotadias9335 2 місяці тому

    great video thank you 😊😊😊😊😊😊😊😂😂

  • @zoranaw7964
    @zoranaw7964 2 місяці тому

    Do you have any kind of affiliate program? For somebody who already have or plan to have youtube PSQL tut channel. Could be beneficial and useful. Please lett me know what you think about that.

  • @conradludgate
    @conradludgate 3 місяці тому

    It's fascinating you could even consider an architecture like this

    • @iukeay
      @iukeay 3 місяці тому

      This works dang well depending on the type of data that will be in the vector store (I'm not talking file types but access patterns) Depending on your metadata tied to each document / metadata that points to a summary index . 🫠🫠🫠🫠 I've learned a lot of this coming down to your application logic less so than the database.... But I have no idea what I'm doing

  • @aryan.prince
    @aryan.prince 3 місяці тому

    6:31 Let’s say you have 10,000 users. This means the migration script will connect to db_1, run all migrations, close connection to db_1, then connect to db_2, on and on for... …every user? …does this ‘scale’ well? I’m talking more about time and complexity I guess, and what if db_7193 fails to run all migrations?

    • @conradludgate
      @conradludgate 3 місяці тому

      It would make sense to store the schema version in the databases table, so it's easier to retry and to perform a gradual rollout. Performance wise it might be in the same order of magnitude as postgres schema changes might have to update every row anyway, so having smaller tables but more of them to update would equate to about the same amount of work

  • @8bitWatermelon
    @8bitWatermelon 3 місяці тому

    Really enjoyed the video, currently learning to use drizzle for projects. For anyone who is trying to use drizzle-kit generate with cli params. The code in the video will not work. This is my solution after many trials and errors. "db:generate": "drizzle-kit generate --dialect postgresql --schema ./src/db/schema.ts --out=./src/db/migrations" Thank you.

  • @adityaparghi-j8e
    @adityaparghi-j8e 3 місяці тому

    Hello can anyone please answer this, when i run npm create cloudflare --name and i select cloudflare workers , typescript, deploy no and when i go to vs code and run npm run dev it throws error errono -4095 i done everything uninstall Wrangler, install it again but it just doesn't work how can resolve this if anyone help

  • @mgmgmgmg00-s2z
    @mgmgmgmg00-s2z 3 місяці тому

    Nice!

  • @andrewokoye8017
    @andrewokoye8017 4 місяці тому

    I am struggling to connect my phoenix application to Neon, the issue is around SSL

  • @haydonge5328
    @haydonge5328 4 місяці тому

    lots content for drizzle have been changed. Hope to update it with learning course.

  • @etj1237
    @etj1237 5 місяців тому

    Please Please Please tell us what theme and icon pack you're using !!!! 🙏🙏🙏🙏🙏

    • @neondatabase
      @neondatabase 5 місяців тому

      GitHub Dark default (theme) + Symbols (icons) - Mahmoud

  • @jamesbotwina8744
    @jamesbotwina8744 5 місяців тому

    Great work!

  • @francescoimpellizzeri1345
    @francescoimpellizzeri1345 5 місяців тому

    This is so good! I love the minimalistic approach and how the CLI sets up what’s needed to start building and nothing more. Super nice 🎉

  • @asadmehboob1300
    @asadmehboob1300 5 місяців тому

    Please add Hono beckend with nextjs and drizzle orm

    • @jamesbotwina8744
      @jamesbotwina8744 5 місяців тому

      Why would you want a Hono backend with NextJs?

    • @DavidGomes
      @DavidGomes 5 місяців тому

      This is not just Next.js! We’ll definitely add Hono in the future.

  • @jamesfoley4426
    @jamesfoley4426 5 місяців тому

    Adding the db:generate command to package.json. I could not get the shortcut working that is demoed in the video I had to use drizzle-kit generate --dialect=postgresql --schema=./src/db/schema.ts just in case you run into the same issue great video tutorial

  • @neondatabase
    @neondatabase 5 місяців тому

    Thanks for watching! If you have any questions, feel free to reach out in the Neon Discord neon.tech/discord Check out the documentation for the create-app CLI command: neon.tech/docs/reference/cli-create-app

  • @Ziko2687s8
    @Ziko2687s8 5 місяців тому

    Peerfect!!! This just saved our project!

  • @lapulapucityrider3227
    @lapulapucityrider3227 5 місяців тому

    Ip filter is not enough, cant even know the ip especially when deploying with ecs. Better vpc peering if you can do that also dont put it behind paywall ar atleast enable it with $19 dollar option

  • @rikawrites7104
    @rikawrites7104 6 місяців тому

    love your energy !!! this was fun to wactch

  • @JOELJACOBEMMANUELJOELJACOBEMMA
    @JOELJACOBEMMANUELJOELJACOBEMMA 6 місяців тому

    honestly neon had one of the best visually appealing website ive ever seen. love what you guys do.

  • @HassanElMghari
    @HassanElMghari 6 місяців тому

    Great video!!

  • @eliuddyn
    @eliuddyn 6 місяців тому

    Amazing 🔥🔥

  • @hakuna_matata_hakuna
    @hakuna_matata_hakuna 6 місяців тому

    no local dev?

  • @kenshinhimura3140
    @kenshinhimura3140 6 місяців тому

    Cool to see a brother with a food life, god bless you

  • @darkbgm4582
    @darkbgm4582 6 місяців тому

    this is not free when i am adding ip addres asking for upgrade

  • @JissJoy-zt1is
    @JissJoy-zt1is 6 місяців тому

    Great stuff! It was really informative. I had a slightly different question. 😅 The editor folder icons and theme, which extension are you using? I really liked em! Would be glad if you could share it.

  • @eliastouil7686
    @eliastouil7686 7 місяців тому

    This is a great intro thank you! Came here from Fireship's vid.

  • @lifanhuang3181
    @lifanhuang3181 7 місяців тому

    Hi, I have a suggestion with the Neon authorization 3rd party APPs part. I found that you authorized Cloudflare to read the Neon project, and then Cloudflare could fetch the DB password with such permissions. I think it's necessary to add a explicit hint at the authorization page, that the Read permission can see your DB password.

  • @MahmoudMahmoudTobi
    @MahmoudMahmoudTobi 7 місяців тому

    lol was a bit trippy when i saw my name on the link there. not everytime I see my name on a tech tutorial.

  • @VB-sn2qn
    @VB-sn2qn 7 місяців тому

    Its free or not??

  • @raine-works
    @raine-works 7 місяців тому

    What theme and icons are you using for VSCode?

  • @TurtleMotion
    @TurtleMotion 7 місяців тому

    Is there a way to integrate this with the automatic CI/CD integration you have with Vercel? I believe the integration automatically creates new branches for every preview deployment. Is it possible to anonymize the data in those automatically created branches?

  • @abhisekdas9976
    @abhisekdas9976 7 місяців тому

    What vscode icon pack are you using?

  • @dyelbruv
    @dyelbruv 7 місяців тому

    How come you didn't use the Vercel integration with Neon to create the preview branches instead of GH actions?

    • @neondatabase
      @neondatabase 7 місяців тому

      This example app isn't using Vercel as the deployment provider, it's using Fly.io. If the example app was using Vercel, then the using the Vercel integration would make more sense :) - Mahmoud

    • @HHJoshHH
      @HHJoshHH 6 місяців тому

      You're awesome Mahmoud. Thank you for these videos! I hope I spelled your name right. 😊

  • @bilbo_kenobi
    @bilbo_kenobi 7 місяців тому

    why is this only on scale plan? need it on launch too