multi tenant database architecture using mongoose/mongodb and nodejs #multitenant #tenant

preview_player
Показать описание
This video describes multi tenant database architecture by using mongoose/mongodb and nodejs.
It describes the approach of database per tenant.

#multitenant
Рекомендации по теме
Комментарии
Автор

That's just API route filter functionality, not multitenancy.... 🤦

SimarMannSingh
Автор

I think here every client have own database

chandershekhar
Автор

iam having an issue, everything is work well, but when i add a foriegn key (ObjectId of anthoer schema), and while retrieving the data I couldnt populate the field . if give ref it says the schema is not defined. and if i gave refPath it didnt populate and neither no errors. how to fix it

Sajidsaanzz
Автор

multi-tenant/src/tenantdb.js: 9. Where "customerModel" used?

maheshjarange
Автор

can anyone help me to implement multi tenancy in my project

nirajvernekar
Автор

Hi, I'm having problem with this line of code:: let tenantDb = db.useDb(dbName, { useCache: true } );(tenantdb.js), the error say: TypeError: db.useDb is not a function.I will very grateful for any help, thanks.

exequielEntrenadorPersonal
Автор

But this give us very slow response, is there any way to get fast response in multi tenant architecture ?

sultanularefin
Автор

your code works fine, but after implemented this solution i started to get error in mongodb, regarding connections limit, can you explain how i can solve this or if anybody faced similar issue

GursewakSingh-uocp
Автор

Hi sir thanks for super useful video,
But how do I handle transaction in multitenate multi db connection in mongoose as , it never return response

codingcage
Автор

Can someone explained to me what happened here ?

angelleal
Автор


let tenantDb = db.useDb(dbName, {useCache: true});
^

TypeError: db.useDb is not a function

Any solution brother??

Arushinfo
Автор

API is Multi tenant, but each client has its DB so not totally Multi Tenant. Good one though!!

abidshaik
Автор

bro your background sound is mindblowing so i am not concentrate your video.

chetanlakshkar
Автор

Bhai ji can u explain in Hindi or English

chandershekhar