CAS 5.1.9 Mongodb ticket cleanup

25 views
Skip to first unread message

Juan Quintanilla

unread,
Apr 4, 2019, 11:32:53 AM4/4/19
to cas-...@apereo.org

Hi,


We are testing CAS 5.1.9 with mongodb for the ticket registry and wanted know if someone can provide some guidance on how your are performing ticket cleanup.  


Appreciate any suggestions on this setup.


Thanks!


___________________
Juan Quintanilla

David Curry

unread,
Apr 5, 2019, 7:51:04 AM4/5/19
to cas-...@apereo.org
When we were using mongodb as our ticket repository (CAS 5.2.x), we just took the default ticket registry cleaner that came out of the box, and it worked pretty well.

However, mongodb itself as a ticket registry gave us some problems under heavier load (like when a few thousand students were all logging in at the same time to register for classes). We ended up moving to Hazelcast for our ticket registry based on what other people on this list are doing, and it performed much better (this week was registration).

As long as you have more than one server so you can replicate ticket storage, there's really no need for tickets to be stored on disk. So unless you have some other good reason for using mongodb to do it, I would recommend using one of the memory-based caches instead.

--Dave

--

DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
THE NEW SCHOOL  INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728david...@newschool.edu



--
- 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+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/SN6PR05MB5182704CB9156950025D0C7386500%40SN6PR05MB5182.namprd05.prod.outlook.com.

Juan Quintanilla

unread,
Apr 5, 2019, 2:07:52 PM4/5/19
to cas-...@apereo.org

Never mind I found that in CAS 5.3 you have the cleanup process working with mongodb.


Thanks!


___________________
Juan Quintanilla
Enterprise Systems Group



From: cas-...@apereo.org <cas-...@apereo.org> on behalf of Juan Quintanilla <jqui...@fiu.edu>
Sent: Thursday, April 4, 2019 11:32 AM
To: cas-...@apereo.org
Subject: [cas-user] CAS 5.1.9 Mongodb ticket cleanup
 
Reply all
Reply to author
Forward
0 new messages