Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

@hsluoyz

Hello!

We are trying to implement casdoor on our platform. However, we have encountered one annoying problem.

We have deployed casdoor in kubernetes and with a small number of users in the application, everything works fine.
But after migrating 20 million users, if we want to open the casdoor web interface, it starts to utilize all the resources allocated to it and restarts due to lack of RAM.
We scaled the node to 16 CPU / 32 GB RAM and allocated all these resources to the casdoor service, and it is still not enough.

In general, the problem occurs due to an attempt to render the dashboard that the administrator opens after authorization.

Our questions:

  • What resources does the casdoor service require with a large number of users?
  • Is it possible to disable this dashboard somehow?
1views
2users
1 minread

When we migrate few thousand users - its fine and dashboard renders correctly.

A large number of users (millions +) in itself does not cause a problem. Its only with web-interface and dashboard, which cannot render properly. When we login into web, pod starts utilize RAM and crashes (restarting) when he reaches to 32GB RAM.

don't engage here, engage in the github issue

that's the correct and formal ticket system to track this issue

1 / 4
Dec 2024