Kevan Jahanshahi created UNOMI-741:
--------------------------------------

             Summary: Session/Event index rollover: implement 
sessionId/indexName affinity cache
                 Key: UNOMI-741
                 URL: https://issues.apache.org/jira/browse/UNOMI-741
             Project: Apache Unomi
          Issue Type: Task
            Reporter: Kevan Jahanshahi


Following performance tests done on ticket:

We need to implement sessionId/indexName affinity cache to speed up access to 
current user session on context requests.

Due to the nature of the splitted indices for the sessions it's not possible to 
know where exactly is stored the sessionId from the context request.

We can do a query like it is right now but as shown in the performances results 
test this is impact a lot the performance for concurrent context requests.

So we need to implement a sessionId/indexName affinity cache in the persistence 
service to speed up the loading of current user sessions.

consider a cache system with a time-to-idle feature that will automatically 
clean the unused sessionId after 30min and make this configurable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to