[cas-user] no sql database support for storing ticket session

2014-10-07 Thread Ajay Madhavan
Do we know if we can use no sql dbs like Cassandra to store sessions in
CAS?

Any examples or wikis?
Regards
Ajay

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] no sql database support for storing ticket session

2014-10-07 Thread Dmitriy Kopylenko
Hi. Everything is possible. 

In order to use any particular nosql store for ticket registry, one would 
need to have a particular implementation (written in code). I am personally not 
aware of an existing Cassandra Impl., but here is an example of Riak impl (Riak 
- is another nosql store):

https://github.com/justinholmes/riakbackedcas/blob/master/cas-overlay-server-demo/src/main/java/uk/co/nascency/riakbackedcas/registry/RiakBackedTicketRegistry.java

Cheers,
Dmitriy.

Sent from my iPhone

 On Oct 7, 2014, at 02:18, Ajay Madhavan ajayma...@gmail.com wrote:
 
 Do we know if we can use no sql dbs like Cassandra to store sessions in CAS?
 
 Any examples or wikis?
 Regards
 Ajay
 -- 
 You are currently subscribed to cas-user@lists.jasig.org as: 
 dkopyle...@unicon.net
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] no sql database support for storing ticket session

2014-10-07 Thread Stephan Arts
I am curious, what would be the reason you'd choose a no sql database to
store tickets?

Regards,

Stephan

On Tue, Oct 7, 2014 at 8:18 AM, Ajay Madhavan ajayma...@gmail.com wrote:

 Do we know if we can use no sql dbs like Cassandra to store sessions in
 CAS?

 Any examples or wikis?
 Regards
 Ajay

 --
 You are currently subscribed to cas-user@lists.jasig.org as: step...@xfce.org
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user




-- 
The number of Unix installations has grown to 10, with more expected.
-- The Unix Programmer's Manual, 2nd Edition, June, 1972

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] no sql database support for storing ticket session

2014-10-07 Thread Waldbieser, Carl

Since NoSQL is a kind of catch-all term for any kind of data store that isn't a 
RDBMS, it may be hard to generalize.
If you look at some of the more popular present-day NoSQL solutions, many of 
them seem to aim at prioritizing Availability and Partition Tolerance over 
Consistency (from the CAP theorem [1]).

For the CAS ticket store, this doesn't seem to be a terrible idea.  You need to 
be able to store tickets associated with an identity.  CAS basically needs a 
key-value store in this regard.  The characteristics of that store will likely 
need to be dictated in part by the environment in which a particular CAS 
operates.

Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College

[1] http://en.wikipedia.org/wiki/CAP_theorem

- Original Message -
From: Stephan Arts step...@xfce.org
To: cas-user@lists.jasig.org
Sent: Tuesday, October 7, 2014 8:04:12 AM
Subject: Re: [cas-user] no sql database support for storing ticket session

I am curious, what would be the reason you'd choose a no sql database to
store tickets?

Regards,

Stephan

On Tue, Oct 7, 2014 at 8:18 AM, Ajay Madhavan ajayma...@gmail.com wrote:

 Do we know if we can use no sql dbs like Cassandra to store sessions in
 CAS?

 Any examples or wikis?
 Regards
 Ajay

 --
 You are currently subscribed to cas-user@lists.jasig.org as: step...@xfce.org
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user




-- 
The number of Unix installations has grown to 10, with more expected.
-- The Unix Programmer's Manual, 2nd Edition, June, 1972

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
waldb...@lafayette.edu
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


Re: [cas-user] no sql database support for storing ticket session

2014-10-07 Thread Ajay Madhavan
Thanks for the reply.

We are currently using Cassandra for our infra ( for scale and distributed
reasons) and we would like to leverage the same for CAS too..

Regards
Ajay

On Tue, Oct 7, 2014 at 6:20 AM, Waldbieser, Carl waldb...@lafayette.edu
wrote:


 Since NoSQL is a kind of catch-all term for any kind of data store that
 isn't a RDBMS, it may be hard to generalize.
 If you look at some of the more popular present-day NoSQL solutions, many
 of them seem to aim at prioritizing Availability and Partition Tolerance
 over Consistency (from the CAP theorem [1]).

 For the CAS ticket store, this doesn't seem to be a terrible idea.  You
 need to be able to store tickets associated with an identity.  CAS
 basically needs a key-value store in this regard.  The characteristics of
 that store will likely need to be dictated in part by the environment in
 which a particular CAS operates.

 Thanks,
 Carl Waldbieser
 ITS Systems Programmer
 Lafayette College

 [1] http://en.wikipedia.org/wiki/CAP_theorem

 - Original Message -
 From: Stephan Arts step...@xfce.org
 To: cas-user@lists.jasig.org
 Sent: Tuesday, October 7, 2014 8:04:12 AM
 Subject: Re: [cas-user] no sql database support for storing ticket session

 I am curious, what would be the reason you'd choose a no sql database to
 store tickets?

 Regards,

 Stephan

 On Tue, Oct 7, 2014 at 8:18 AM, Ajay Madhavan ajayma...@gmail.com wrote:

  Do we know if we can use no sql dbs like Cassandra to store sessions in
  CAS?
 
  Any examples or wikis?
  Regards
  Ajay
 
  --
  You are currently subscribed to cas-user@lists.jasig.org as:
 step...@xfce.org
  To unsubscribe, change settings or access archives, see
 http://www.ja-sig.org/wiki/display/JSG/cas-user
 
 


 --
 The number of Unix installations has grown to 10, with more expected.
 -- The Unix Programmer's Manual, 2nd Edition, June, 1972

 --
 You are currently subscribed to cas-user@lists.jasig.org as:
 waldb...@lafayette.edu
 To unsubscribe, change settings or access archives, see
 http://www.ja-sig.org/wiki/display/JSG/cas-user

 --
 You are currently subscribed to cas-user@lists.jasig.org as:
 ajayma...@gmail.com
 To unsubscribe, change settings or access archives, see
 http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Re: [cas-user] no sql database support for storing ticket session

2014-10-07 Thread Dmitriy Kopylenko
And so in this case, as I mentioned in my previous email, you would actually 
need to implement the TicketRegistry API in CAS for the Cassandra DB (as I’m 
not aware of any of the existing implementations).

Best,
Dmitriy.

On Oct 7, 2014, at 11:42 AM, Ajay Madhavan ajayma...@gmail.com wrote:

 Thanks for the reply.
 
 We are currently using Cassandra for our infra ( for scale and distributed 
 reasons) and we would like to leverage the same for CAS too..
 
 Regards
 Ajay
 
 On Tue, Oct 7, 2014 at 6:20 AM, Waldbieser, Carl waldb...@lafayette.edu 
 wrote:
 
 Since NoSQL is a kind of catch-all term for any kind of data store that isn't 
 a RDBMS, it may be hard to generalize.
 If you look at some of the more popular present-day NoSQL solutions, many of 
 them seem to aim at prioritizing Availability and Partition Tolerance over 
 Consistency (from the CAP theorem [1]).
 
 For the CAS ticket store, this doesn't seem to be a terrible idea.  You need 
 to be able to store tickets associated with an identity.  CAS basically needs 
 a key-value store in this regard.  The characteristics of that store will 
 likely need to be dictated in part by the environment in which a particular 
 CAS operates.
 
 Thanks,
 Carl Waldbieser
 ITS Systems Programmer
 Lafayette College
 
 [1] http://en.wikipedia.org/wiki/CAP_theorem
 
 - Original Message -
 From: Stephan Arts step...@xfce.org
 To: cas-user@lists.jasig.org
 Sent: Tuesday, October 7, 2014 8:04:12 AM
 Subject: Re: [cas-user] no sql database support for storing ticket session
 
 I am curious, what would be the reason you'd choose a no sql database to
 store tickets?
 
 Regards,
 
 Stephan
 
 On Tue, Oct 7, 2014 at 8:18 AM, Ajay Madhavan ajayma...@gmail.com wrote:
 
  Do we know if we can use no sql dbs like Cassandra to store sessions in
  CAS?
 
  Any examples or wikis?
  Regards
  Ajay
 
  --
  You are currently subscribed to cas-user@lists.jasig.org as: 
  step...@xfce.org
  To unsubscribe, change settings or access archives, see 
  http://www.ja-sig.org/wiki/display/JSG/cas-user
 
 
 
 
 --
 The number of Unix installations has grown to 10, with more expected.
 -- The Unix Programmer's Manual, 2nd Edition, June, 1972
 
 --
 You are currently subscribed to cas-user@lists.jasig.org as: 
 waldb...@lafayette.edu
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user
 
 --
 You are currently subscribed to cas-user@lists.jasig.org as: 
 ajayma...@gmail.com
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user
 
 -- 
 You are currently subscribed to cas-user@lists.jasig.org as: 
 dkopyle...@unicon.net
 To unsubscribe, change settings or access archives, see 
 http://www.ja-sig.org/wiki/display/JSG/cas-user


-- 
You are currently subscribed to cas-user@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user