Hi all,

there is a massive performance issue with ProxyGrantingTickets with JPA 
TicketRegistry if there are a lot of ProxyGrantingTickets created for one 
TicketGrantingTicket.

https://github.com/apereo/cas/blob/86aec093d025bac0647f899c59d3fc9a938b4083/core/cas-server-core-tickets-api/src/main/java/org/apereo/cas/ticket/ServiceTicketImpl.java#L111

As *getTicketGrantingTicket().getProxyGrantingTickets()* loads all 
ProxyGrantingTickets 
from the Database this takes longer for each grant of a ProxyGrantingTicket.
For JPA (Database) TicketRegistry this can be fixed by simple omitting the 
line, as the relation is given by the Database. But I'm not sure how this 
can be fixed for "non-relational" TicketRegistries.

Do you think that it is possible to fix that for all TicketRegistries in 
general?

Best regards,
Philipp Berger

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/0693e216-d710-453a-b827-dd79bdf55e66%40apereo.org.

Reply via email to