Hi, We have been thinking of having an infrastructure, in which any of the microservice needs to be dedicted to serve a single tenant.
For understanding, I had attached a image for the reference.
In this above image, you can see that,
We have 3 tenants, A,B & C - with seperate Databases respectively.
And you can also see that we have 1 microservice (Product) running on 2 instances (pointing different port).
Now, In our business case, We have a tenant in Enterprise edition, who asks for a dedicated Microservice, Where the tenant need not to have the latency because of other tenant sharing the same microservice. So they are asking for a dedicated instance of the microservice only serving to them.
This is the case, I had tried to replicate on the image above.
Now, I would like to know from ABP team, That ABP already have this capability? or Is there any work arounds for that? or I would like to have the ABP teams suggestions for this problem?.
Thanks.
2 Answer(s)
-
0
Hi,
I think you can do it through the ocelot gateway: https://ocelot.readthedocs.io/en/latest/features/loadbalancer.html#custom-load-balancers
You can custom a loadbalancer to select product instance 2 for tenant C
-
0
Thank you for your reply. sir