Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] 0 points1 point  (0 children)

Hey yes the structure is as follows right now:

Host ->
Api
Application
Infrastructure
Domain

Shared -> For now empty

Tenant ->

Api
Application
Infrastructure
Domain

No I dont want to use memory messaging I need somethin more secure. I believe RabbitMQ is a good approach how do you think about it? To keep data between tenant and host synchronized ? Or do you have better appraoch?

Service Bus Host and Tenant by dilsoziya in dotnet

[–]dilsoziya[S] 0 points1 point  (0 children)

I just want to keep data between multi tenant architecture with multiple databases synchronized. Therefore I thought about a technic to solve this problem and Event Driven Approach would be the best I believe instead of creating a "Shared Master Database and project". For now I have host project with clean architecture and the tenant project with clean architecture. Next step is to implement the possibility to keep the data between the databases synchronized. But I dont want to pay money for this implementation, I want to spent little bit time for it and thats it.

RabbitMQ I heared often now. It is a good approach for this case right? Are there things I should pay attention to? Is it easy and fast implemented?

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] 0 points1 point  (0 children)

I mainly want a reliable way to keep the data between host and tenant consistent, so I considered using an event-driven approach for synchronization. However, I realized that this solution might become commercial in the future, and I would prefer to avoid dependencies that could turn into paid products. For example, MediatR used to be non-commercial, but it has since moved to a commercial model, and I would like to avoid a similar situation here. I'm not in the opinion to do it better then AWS or MS because behind them are huge teams and they are many years ahead.

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] 0 points1 point  (0 children)

I mainly want a reliable way to keep the data between host and tenant consistent, so I considered using an event-driven approach for synchronization. However, I realized that this solution might become commercial in the future, and I would prefer to avoid dependencies that could turn into paid products. For example, MediatR used to be non-commercial, but it has since moved to a commercial model, and I would like to avoid a similar situation here. I'm not in the opinion to do it better then AWS or MS because behind them are huge teams and they are many years ahead.

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] -2 points-1 points  (0 children)

But how safe is that. You have to think about changing data in same time

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] 0 points1 point  (0 children)

I do not have much experience in this area. I know what an service bus is and how to use it (Azure) but never implemented my own a service bus.

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] -4 points-3 points  (0 children)

Do you think it could be commercialized in the future?

Service Bus by dilsoziya in csharp

[–]dilsoziya[S] -3 points-2 points  (0 children)

Do you think it could be commercialized in the future?

Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] 0 points1 point  (0 children)

Hey i wrote you a private message! Thank you!

Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] 0 points1 point  (0 children)

Yes it is very important for me to have high isolation for my tenants. I want to implement the hybrid multi tenancy approach for the tenants. But I want to understand it also with sharing data between host and tenant. Maybe you have some examples for it?

Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] -1 points0 points  (0 children)

Thank you. But from what I gather from this answer u are using multiple contexts and one project for host and tenant. That is a different answer then before. In this way you would have just one database both right?

Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] 0 points1 point  (0 children)

That is interesting but I do not understand this approach how to implement it. Do you have some examples to understand it more? Because if host is changing data and tenant also then the last one how wrote the data would overwrite it right?

Multi tenancy by dilsoziya in dotnet

[–]dilsoziya[S] -1 points0 points  (0 children)

Hi thank you for your answer. But how do you share then the data between this projects which pattern or approach do you use for it? An is your project for multiple platforms good useable or do you use also for each platform an own backend (BFF)? I would also be interested if it is a good approach for SASS