Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Hopefully quick question regarding rabbitmq and grouper

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Hopefully quick question regarding rabbitmq and grouper


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: "Gettes, Michael" <>
  • Cc: "" <>, "Crawford, Jeffrey" <>
  • Subject: RE: [grouper-users] Hopefully quick question regarding rabbitmq and grouper
  • Date: Fri, 13 Jul 2018 13:48:10 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.138.9) smtp.mailfrom=osu.edu; internet2.edu; dkim=pass (signature was verified) header.d=osu.edu;internet2.edu; dmarc=pass action=none header.from=osu.edu;
  • Authentication-results-original: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:4nZs3hMvId7B1oGtIngl6mtUPXoX/o7sNwtQ0KIMzox0I/j4rarrMEGX3/hxlliBBdydt6oazbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlJiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0vRz+s87lkRwPpiCcfNj427mfXitBrjKlGpB6tvgFzz5LIbI2QMvd1Y6HTcs4ARWdZXshfSTFPAp+yYYUMAeoOP+dYoJXyqFYVtxSyGRWgCfnzxjNUhHL727Ax3eQ7EQHB2QwtB9wCvWnQrNrvKKgSUvi5x7TWwDrZdfNZxzf845XPfBw7r/2HQLV9ftHVyUY1CwzFjU+cpZH7Mz6bzekNtHOb7/d6We2xlmEnthh8rz6yzckvkonEnpwZxUrY+SlkxYs5OMC0RFN+bN6qH5Zcqz2WOo54Qsw8TGxnpSM3x7gEtJKlcyUG0IoryhHFZ/CZb4SF4QjvWPiPLTp2nn5pZbCyihWq/Uiu1OLxVdW43VNPoyVbndTBt24B2hnQ58ecVPRw8UKs1DmM2g/O6exJJF04mKvbJpE7xLM7i4Advl7ZHiDsnUX7lK+WeVsg+uiv8+npeqnrqJiAO4J7kw3zLL0gltGmDeQ/KQcBQXKX+eOh1L3/5kL5R6hKjvsrnaXDqJDaP8MbprKnDABJzoYj6hG/DzG83NQfgHkHMFZFeBWAj4jqIV3BPPf4DfKnj1Stljdk2ezGM6X/DprXMnTPjbLscatg50JBzQczw99S645IBrwELvL8RED8u8HdAxI8MQG43enqBM141owEWGKPBqGZMLnVsV+N/u8gOO2Ma5UJtzb+MfQp+uDigHEilF8aZqmpwIEbZ26lEfR7O0mZe2bjgs8dEWcWuQozVOPqiEeFUT5Of3a9Qbg86igmCIK9E4jDXJutjaeF3Ce6BZ1WentGBk6WHXfpcYWER+kDaDiUIsB/jjwIS6KtRJE82hGz50fGzO8tAefI5iAD8drG1dN17uDX31lm+jFoE8mG+3yDSyd5kn5eFBEs26Uq62Z5w1yAleBTiuZVBJR2obkBBg0+PJXfibUgUPj1QR+Hc9uUHgX1Cu66CC08G4pii+QFZFxwTpD71kiZhXijHqMVmrqXBZc97qPb2T3rKt1gz2rdjfh53UI+TJ5XPHa9zu5k+g7fCpSBsn3Rlr3iLP5MmneRqiHaljrI7QA9MkZrVLndG3UWZ0/Yt9P8s0TZUvmjBal0egpH1cOYLKZWMJvkgUgVDPvgOdGLe2uqgC/wHheHwLqQcZDnM3oUx23DBVIFnQEe8TfjV0A+Cy6trniYAGlpDk+pbk/xouh4tH6hSEIolUeHY1Ayn7aw8wQe0OSVUOhb17kYuSAn/jNzGlv139/fB9ea4QR7e6AJZsggplpLyDHU
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

RE: tempchangelog to changelog processing

 

Michael, I kind of agree.

                However, it really should only be a bottle neck if you have LOTS of changes happening at the exact same time, for a sustained time.

                                Or the daemon is “off line for a while”…. ( Don’t do that. J )

                So don’t do large batch processes and the “Event/message model” works much better. AKA: Even flow or tsunami?  J

 

 

I think the other thing to keep in mind is that the loader ( er… “daemon”) can be very RAM hungry.

                In my experience, especially for large LDAP jobs. (100K+ members in a group)

                And since the loader jobs are currently only schedulable to ‘start at “x”’ it can be hard to schedule them to not overload the daemon if some are long running and others “start up” while the big jobs are still running”.

 

 

As a “wish list idea”….

                If a change log consumer gets “to far behind” send notifications to the admins for the change log consumer. ( and the Grouper Admins too. )

                Which could also include the tempchangelog size too. J

 

 

 

As far as the name goes it is both a loader and a daemon. I am just not clear about how to make it “just one of them”. So I think it has a bit of a split personality.

                Pull data in,  (loader jobs: SQL/LDAP/custom)

                Push data out, ( change log consumers, provisioner feed by a change log consumer (IE: box) ,  )

                and do house cleaning too. ( rules engine, …. )

 

                Can we call it the “Grouper Swiss army knife”? ( Or is the fish afraid of knives?  J  )

 

--

Carey Matthew

 

From: <> On Behalf Of Gettes, Michael
Sent: Thursday, July 12, 2018 4:22 PM
To: Crawford, Jeffrey <>
Cc:
Subject: Re: [grouper-users] Hopefully quick question regarding rabbitmq and grouper

 

Yes, it is the same - but, as an example, i have had messaging running about every 5 seconds.  So it can be rather quick response.  The whole loader process is actually quite elegant.  The quartz mechanism scales to many hosts - all those running the loader.  TIER packaging has moved to calling it the daemon - better terminology (I personally don’t like the word but loader isn’t good either).  Don’t get hung up on the loader and changeelog - just use it.  It’s cool stuff.

 

Now all that said, the only item in all this that worries me is the tempchangelog to changelog processing.  It’s a necessary evil cuz this is where changes are labelled/categorized.  It’s also the single threading aspect of processing changes that worries me the most.  Make sure these tables are on fast storage, properly indexed and so on - usual stuff.  Beyond that - like I said - good stuff.

 

I hope this helps.

 

/mrg



On Jul 12, 2018, at 3:43 PM, Crawford, Jeffrey <> wrote:

 

Greetings team,

 

How does the RabbitMQ messages get processed. Is it similar to the psp where changes go into the changelog and a process then periodically polls it? Or do messages get sent as soon as they are sent to the changelog? My guess it’s still a polling system since changes can come in from the WS or UI but the loader has traditionally been the “batch” processing component which does the back end stuff.

 

Thanks

Jeffrey C.

 




Archive powered by MHonArc 2.6.19.

Top of Page