gorse-io / gorse

Gorse open source recommender system engine
https://gorse.io
Apache License 2.0
8.63k stars 791 forks source link

support multi-tenancy ? #336

Open freefish1218 opened 2 years ago

freefish1218 commented 2 years ago

Is your feature request related to a problem? Please describe. every customer has individual data set, we need different recommends result for each customer.

Describe the solution you'd like add multi-tenancy feature

Thanks~

zhenghaoz commented 2 years ago

I think multi-tenancy should be implemented by a Kubernetes operator. However, I am still a newcomer in cloud native. Anyway, multi-tenancy could be supported in the future but not now. 😃

freefish1218 commented 2 years ago

I think multi-tenancy should be implemented by a Kubernetes operator. However, I am still a newcomer in cloud native. Anyway, multi-tenancy could be supported in the future but not now. 😃

Thank you for your reply! Maybe I didn't express it clearly, I hope gorse can support the application of SaaS scene. For example, add a corpid, and each corpid corresponds to a set of data sets, so that each corpid can be recommended separately

Doctrs commented 1 year ago

This issue started a year ago. Do you have any plans about multi-tenancy now?

zhenghaoz commented 1 year ago

Helm charts are in development: https://github.com/gorse-io/charts

The multi-tenancy will be supported only after the release of Helm charts production version.

cevin commented 5 months ago

The SaaS I understand, for example, might be as follows:

POST /api/user
{
  "Comment": "insect",
  "Labels": [
    "crocodilia",
  ],
  "Subscribe": [
    "fish",
  ],
  "UserId": "cat",
  "TenantId": "tenant_1"  <--
}