How many categories can discourse support?

It’s been a couple of years, and I’m wondering what sort of experience you’ve had with this? I’m in the process of building a site that will potentially have thousands of categories (each with at least 2 groups attached), so I’m very interested in hearing how it went for you i.e. where are the bottlenecks, what to try and avoid etc.?