Does Parse Server check session token everytime?

I’m doing some benchmark test to my parse server. I’m using wrk library. I pass one session token on the headers.
So every time benchmark opens a new connection, same session token is used.

My question is does parse server check token from database everytime or cache it for sometime?
I’m doing 500 concurrent user test with 1 session token and I get 500 request per second, Do I get the same performance when 500 different token is used?

I don’t have a cache adapter. Only cache I’m using is enableSingleSchemaCache.

There is a cache in place which TTL can be setup via cacheTTL option and defaults 5s.

1 Like

how to disable that? is setting cacheTTL to 0 enough?

I believe 0 should disable.

1 Like

Ok. Thank you very much