Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Anyone using cloud RDBMS with on-prem Grouper?

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Anyone using cloud RDBMS with on-prem Grouper?


Chronological Thread 
  • From: Greg Haverkamp <>
  • To: Tim Darby <>
  • Cc: Chris Hyzer <>, "" <>
  • Subject: Re: [grouper-users] Anyone using cloud RDBMS with on-prem Grouper?
  • Date: Thu, 26 Apr 2018 12:08:07 -0700
  • Ironport-phdr: 9a23:oDc1IBd6BsFpY930iQg1eIVClGMj4u6mDksu8pMizoh2WeGdxcuzYh7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQct0ARWpFQ81fSSpPDI2hZIcLFuYMPONUoo/grFUMsBS+HxGhC+HhyjFIiHH43rA03fo9HgzdxgMsA8gDvW7IoNnpNqofV/2+wqnSzTXEavNbwTbz6JLWfRAuvPqCX6h/cdTPxkk1FAPKlFCQqZT4ND6S2eQCqWib4PB+Ve2xkW4nqBt+oj23xso3jonGnYYVxkrL9SV+3oY4PNu1Q1N4b968CJZcqj+WOohsTs4sWW1ltzs2xqcHtJO4ZCQHypsqywTCZ/CZc4WE+BHuWPiLLTtlgH9oe7SyjAuo/0e60O3zTMy03U5KriVbltnMsWgA1xLN5cWJUPd9+lyu2TKV2wDc7eFEP1g4lavdK5E/3r49jocfvVrAEyPslkj6lqCbelg+9uWp6OnrerDmqYWdN49whAH+KKMumsmnDOQ3KAcOX3KU+fqi2735/k32WrBKjuUtn6ndq5/aId4XpqG+Aw9Lyooj8QqwDy+60NQEmnkKNF1FeAiAj4j0I1HBPur4Ae6ig1S3jjhr3evGM6blApXMNXjDjKzhcahn505dzgoz0c5Q54hSCr4fPPL/RFX9u8LFAR8kYESIxLPbCdA1+ooEU3PHVrOVObnYoHeF4+suJ6+Ffo4HvzD0bfUp+qi9o2U+nAoyZ6Smlbsedn2iHf1jOw3NbnPsi8kMC2QDuxIWSObuzlKFT2gAND6JQ6sg62RjW8qdBoDZS9Xo2eTf0Q==

I can attest that the on-premise difference is huge.

So, I'll just have to manage a database, I guess, until we have our final cloud-hosting environment ready to go.

Greg

On Thu, Apr 26, 2018 at 11:55 AM, Tim Darby <> wrote:
I agree with Chris. We found that the latency between AWS and on-prem was killing Grouper performance. It worked well when we put it all in the cloud. Also, I'll put in a plug for MariaDB RDS, which works great with Grouper.

Tim Darby
UA Identity Services | The University of Arizona |  | +1 520.626.3799



On Tue, Apr 17, 2018 at 10:01 PM Hyzer, Chris <> wrote:

I would run the JVM next to the database (either both on prem or both in cloud)

 

Thanks

Chris

 

 

From: [mailto:] On Behalf Of Greg Haverkamp
Sent: Wednesday, April 18, 2018 12:47 AM
To:
Subject: [grouper-users] Anyone using cloud RDBMS with on-prem Grouper?

 

My deployment progress has been literally slowed, and I'm trying to figure out if there's something I'm just doing wrong.

 

I've generally had pretty good luck with AWS RDS (though with Postgres), and we run a couple of services off of it.  Our plan was to deploy the Grouper DB to AWS RDS (MySQL) while running Grouper on-prem, at least until we work out our desired strategy for pushing everything out.  

 

However, we've found Grouper to be ridiculously slow in this model.  Slow enough that it makes it difficult to try to get anything done with it.

 

Today I spent the day poking, prodding, resizing, creating new resources, etc., all which seem to indicate that perhaps the Grouper DB is not well-suited to even minimal latency.  I'm wondering if anyone else has attempted this and found otherwise?

 

At this point, I've tried AWS RDS MySQL (5.7).  With my load, gsh takes about a minute to display its prompt.  This seems to be the case regardless of RDS instance size (bumped to get "Network Performance" from "Medium" to "High", General SSD storage size (bumped it up to 100 GB to try to get the performance wins), etc.  I also converted to Amazon Aurora, in an attempt to see if it could be that.  However, performance remained basically the across all attempts.  Around 1 minute to get to the gsh prompt and around 1-2 seconds to findSubject().

 

Then, I decided to try a quick benchmark.  I cranked up a MySQL 5.7 Docker on my desktop, loaded up my data, and pointed my Grouper instance at it.  gsh appeared in around 10 seconds, and the findSubject() returned almost immediately.

 

Deciding I'd give one last shot at not having to run my own database, I cranked up MySQL at Google and loaded the data.  It returns faster, but only about 20% faster than AWS.  (It's perhaps not coincidental that my ICMP RTTs around about 20% faster to Google than to AWS.)

 

I'm guessing this is likely in the nature of Grouper, and that perhaps it's just running so many queries that 20 ms per query starts to add up.  Does that seem about right?

 

Greg





Archive powered by MHonArc 2.6.19.

Top of Page