-
1. Re: Best practices for getting started with Cassandra on EAP 6.4+?
smarlow May 6, 2015 3:32 PM (in response to sboscarine)Hi Steven,
I don't have any best practices (yet) to share but I did post on wildfly-dev recently about an integration effort that mentions some (potential) challenges of using a NoSQL database from an EE application thread. Check out http://lists.jboss.org/pipermail/wildfly-dev/2015-April/003829.html and feedback is welcome of course. :-)
I know I am not the first to try to run Cassandra in EE. Are there any equivalents of the JDBC datasource that one can configure for Cassandra...something to put control of the host, ports, & security info in the hand of the administrators instead of the developer?
Beyond the configuration settings, is there anything that you don't want developers to have access to in production? I mean from the point of view of the application code (e.g. should applications be able to have full control over creating a Cassandra keyspace?)
Regards,
Scott
-
3. Re: Best practices for getting started with Cassandra on EAP 6.4+?
sboscarine May 6, 2015 9:28 PM (in response to smarlow)Beyond the configuration settings, is there anything that you don't want developers to have access to in production? I mean from the point of view of the application code (e.g. should applications be able to have full control over creating a Cassandra keyspace?)
Thanks for the quick reply. I would guess all answers parallel an ordinary RDBMS. My guess is that if users don't want to allow for the creation of keyspaces, they'd configure the user privileges.
The big concern is that we'd like to manage configuration settings from CLI, just as a user can now with a JDBC DataSource. I can hack something together using Strings in JNDI, but something more standardized would be more persuasive to decision makers(as this is a proof of concept).
Session management as sophisticated as Hibernate's, would be awesome as well, but I imagine seamless Hibernate OGM in EAP6 is not quite yet ready.
Thanks!
Steven
-
4. Re: Best practices for getting started with Cassandra on EAP 6.4+?
ctomc May 7, 2015 5:41 PM (in response to sboscarine)Ah I forgot to include also part of thread that pointed out where is the subsystem
https://github.com/heiko-braun/wildfly-cassandra
this is the subsystem for Cassandra, which is what you are asking for by configuring it by CLI.
But this based on WildFly 8.x as of now.
maybe heiko.braun can tell more given that this his team's work
-
5. Re: Best practices for getting started with Cassandra on EAP 6.4+?
heiko.braun May 8, 2015 2:52 AM (in response to ctomc)The wildfly-cassandra repository has been relocated to:
wildfly-extras/wildfly-cassandra · GitHub
The 2.1.3 branch contains the subsystems that leverage C* 2.1.3. I'd recommend using that one. Although it has only been tested on 8.2, nothing should prevent running it on other WF installations. With regard to EAP 6.4, I'd say give it a try, be aware that you are running unsupported technology on EAP.
However I'd be interested to hear about your findings and further ideas to improve the cassandra integration.
Regards, Heiko
-
6. Re: Best practices for getting started with Cassandra on EAP 6.4+?
ehugonnet May 18, 2015 2:45 AM (in response to sboscarine)There are running docker images for WFCORE + Cassandra (trunk)
wfdemo · GitHub + some demo video Des applications Java #?!@ing Manageable - YouTube (with explanations in French)