Multitenancy in NestJS | Member Preview

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 15

  • @mguay
    @mguay  หลายเดือนก่อน

    Get access to the full lecture which includes Drizzle ORM & Async Local Storage integration: michaelguay.dev/

    • @chess4964
      @chess4964 หลายเดือนก่อน

      Hi Michael bought two of your courses on Udemy :D if somehow you were accepting request, can you also make video about transactions?

  • @trentcox9239
    @trentcox9239 10 วันที่ผ่านมา

    well hot damn, you've bent my arm with this video.....will definitely become a member

  • @startbuild4217
    @startbuild4217 หลายเดือนก่อน +2

    Incredible content, more about multi tenant please

  • @0zzer0
    @0zzer0 4 วันที่ผ่านมา

    Why are you saving the tenant mapping as JSON and not as TS file? Thanks for the nice guide! Love the more advanced insights.

  • @adrian333dev
    @adrian333dev หลายเดือนก่อน +4

    Why don't we use different schemas instead of a separate database for each tenant?

    • @NathanielBabalola
      @NathanielBabalola หลายเดือนก่อน

      Exactly

    • @mguay
      @mguay  หลายเดือนก่อน +6

      When deciding between implementing multitenancy in PostgreSQL using separate schemas or separate databases, each approach has its pros and cons, depending on your use case.
      Use schemas for multitenancy if you want shared resources, moderate isolation, and easier management for many tenants.
      Use separate databases if you need strong isolation, better performance guarantees, or have specific tenant requirements that necessitate complete separation.
      Really, it comes down to the level of isolation you need. Both ways are supported by our multitenancy approach.
      Great question!

  • @KingBeyu
    @KingBeyu หลายเดือนก่อน

    Are you available for a Business Discussion regarding your Udemy Course Growth?

  • @brunogarcia6875
    @brunogarcia6875 หลายเดือนก่อน

    Hi michael, do you know if there’s good job opportunities for nestjs developers ? Or what would you learn instead maybe like Golang, thanks.

  • @KhodeCamp
    @KhodeCamp หลายเดือนก่อน

    Thank you so much!

  • @gabrielg9592
    @gabrielg9592 หลายเดือนก่อน

    How would you ensure security with this "tenant-id" header, so that only users authorized for that specific tenant can get data using its tenant-id? Also, why not just store that in the JWT?

    • @cristobalgajardovera5433
      @cristobalgajardovera5433 หลายเดือนก่อน +1

      Man, is an example lecture. If you want to implement it in production code, you can validate the request using JWT or similar approach, and then read the tenant of your principal using the validated token.
      Take this as an initial point, you'll need to abstract it to your specific use case.

  • @AjayCoding
    @AjayCoding หลายเดือนก่อน

    Thank you so much!