Neon
Neon
  • Видео 54
  • Просмотров 128 142
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
Просмотров: 297

Видео

Postgres multi-tenant architecture for AI apps (database per user/workspace/org)
Просмотров 9763 месяца назад
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)
Просмотров 8685 месяцев назад
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)
Просмотров 4917 месяцев назад
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)
Просмотров 35 тыс.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)
Просмотров 346Год назад
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)
Просмотров 249Год назад
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)
Просмотров 447Год назад
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 9 дней назад

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

  • @ElenaBG3
    @ElenaBG3 10 дней назад

    Serverless this, serverless that...

  • @yoskokleng3658
    @yoskokleng3658 28 дней назад

    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 3 месяца назад

    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 7 месяцев назад

    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 8 месяцев назад

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