https://supertokens.com/ logo
Performance issue
s

SantiMNV

04/21/2023, 10:57 AM
Hi! I am having performance issues with your managed service. My fastapi endpoint is ~0.08s on average, then I plug in supertokens session verify (not with access token blacklisting) and I am getting ~0.6s response time. Why is this ~8x slowing? Have I got any slow configuration? How can I improve this? Is it only in dev? Is it only in managed? Thanks!
r

rp

04/21/2023, 12:44 PM
Hey @SantiMNV session verification is stateless. So it should not take that long. Is this happening for each session verification attempt?
s

SantiMNV

04/21/2023, 9:52 PM
Yes, is always, I am using custom claims but should't be so slow
r

rp

04/22/2023, 5:39 AM
Right. Can I see your implementation of custom claim?