Hi <@498057949541826571>, Can we horizontally scal...
# support-questions-legacy
v
Hi @rp_st, Can we horizontally scale supertokens, and as far as my knowledge when I tried to see what supertokens-core is doing, It generates tokens and maintain it in memory right? so how can it be working if it needed to be scaled?
r
hey @vigneshkumar5238 you can horizontally scale the core. We only cache the signing keys in memory.
v
so how does the validation of tokens take place when it comes from the cookie to the core? and I'm facing the following error when I try to run supertoken-core from the local system.
Copy code
A problem occurred evaluating root project 'supertokens-core'.
> Project with path ':supertokens-plugin-interface' could not be found in root project 'supertokens-core'.
Can you share any links that talks about scalability of supertoken core?
r
> and I'm facing the following error when I try to run supertoken-core from the local system. Are you trying to build from source?
> Can you share any links that talks about scalability of supertoken core? We don't have anything written about it, but just add as many cores as you want in front of a load balancer. One core in t2.micro EC2 instance is enough to handle 100k MAUs.
v
Okay Thanks. so how does the validation of tokens take place when it comes from the cookie front end to the core?
r
cookie validation happens in the backend SDK layer.
backend sdk
v
Do we have any reference for this please?
r
no reference. Sorry
see our code base. It's open source
v
I thought the accesstoken validation is called in the backend sdk which in turn calls the core to verify. So I will refer. Thanks
5 Views