Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

steveso's avatar

NativeSession::startSession in larvel taking more time

As per new relic data NativeSession::startSession taking almost 80% of time ( 6sec) in Laravel cartalyst sentinel

My controller logic takes less than <800ms but entire request and response takes ~7 sec. Sometimes it will be faster (<1 sec).

Link : ibb.co/HqxXrhW

For sessions I'm using Redis and I believe there is no session lock in Redis. So if multiple request comes from same user for same session it should not block as per theory.

I want some of the request doesn't wait for session as it is read only and won't corrupt the session value

Any solution to fix this or unblock requests at route level?

0 likes
0 replies

Please or to participate in this conversation.