Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Integrated cassandra
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Robin Verlangen  
View profile  
 More options Sep 25 2012, 5:11 pm
From: Robin Verlangen <ro...@us2.nl>
Date: Tue, 25 Sep 2012 23:11:27 +0200
Local: Tues, Sep 25 2012 5:11 pm
Subject: Integrated cassandra

Hi there,

Is there a way to "embed"/package Cassandra with an other Java application
and maintain control over it? Is this done before? Are there any best
practices?

Why I want to do this? We want to offer as less as configuration as
possible to our customers, but only if it's possible without messing around
in the Cassandra core.

Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E ro...@us2.nl

<http://goo.gl/Lt7BC>

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Verlangen  
View profile  
 More options Sep 26 2012, 3:21 am
From: Robin Verlangen <ro...@us2.nl>
Date: Wed, 26 Sep 2012 09:21:14 +0200
Local: Wed, Sep 26 2012 3:21 am
Subject: Re: Integrated cassandra

Some additional information: I already read about "Embedding"
http://wiki.apache.org/cassandra/Embedding  however that doesn't seem a
rock solid solution to me. The word "volatile" is not really comforting me
;-)

Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E ro...@us2.nl

<http://goo.gl/Lt7BC>

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

2012/9/25 Robin Verlangen <ro...@us2.nl>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vivek Mishra  
View profile  
 More options Sep 26 2012, 4:33 am
From: Vivek Mishra <mishra.v...@gmail.com>
Date: Wed, 26 Sep 2012 14:03:08 +0530
Local: Wed, Sep 26 2012 4:33 am
Subject: Re: Integrated cassandra

I guess, you can always open/maintain a socket with running cassandra
daemon and have a control over specific column families/keyspace  or server
itself.

-Vivek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Verlangen  
View profile  
 More options Sep 26 2012, 4:36 am
From: Robin Verlangen <ro...@us2.nl>
Date: Wed, 26 Sep 2012 10:36:11 +0200
Local: Wed, Sep 26 2012 4:36 am
Subject: Re: Integrated cassandra

Do you have any ideas how to do this Vivek?

Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E ro...@us2.nl

<http://goo.gl/Lt7BC>

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

2012/9/26 Vivek Mishra <mishra.v...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vivek Mishra  
View profile  
 More options Sep 26 2012, 5:03 am
From: Vivek Mishra <mishra.v...@gmail.com>
Date: Wed, 26 Sep 2012 14:33:13 +0530
Local: Wed, Sep 26 2012 5:03 am
Subject: Re: Integrated cassandra

if i am getting it correctly, then what you need to do is open a connection
with cassandra daemon thread and access via client API, Have a look at:
https://github.com/impetus-opensource/Kundera/blob/trunk/kundera-cass...

here, initClient() is initializing connection and then using this client
instance you can connect and maintain column family/keyspaces.

Above mentioned source code is build using EmbeddedCassandraService, so you
just need to initialize client, but not to start cassandra server.

HTH

-Vivek


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Turner  
View profile  
 More options Sep 26 2012, 1:30 pm
From: Aaron Turner <synfina...@gmail.com>
Date: Wed, 26 Sep 2012 18:29:39 +0100
Local: Wed, Sep 26 2012 1:29 pm
Subject: Re: Integrated cassandra

Cassandra is a distributed database meant to run across multiple systems.
Is your existing Java application distributed as well?  Does "maintain
control" mean "exclude end users from connecting to it and making changes"
or merely "provisioning and keep it running well operationally for the
application"?  Honestly, either of those seem like a lot to ask right now
for any solution requiring the scalability that Cassandra provides.

That said, I've done embeded PostgreSQL in the past.  Not distributed mind
you.  And it was on an appliance.  We picked PG because it's super reliable
and very good at recovering from all kinds of evil things that customers
do... pulling power cords, etc.  I don't think any of our customers even
knew we were using PG unless they looked in the Licensing section of the
manual.

Personally, I don't think Cassandra is there yet where it can be a opaque
datastore from the end user perspective- especially if you're distributing
it as part of a software application and don't have full control over the
hardware/environment.  Not to say Cassandra hasn't been reliable for us,
but it's far from "install it and forget it".  Simple things like dealing
with network/node outages or adding/removing new nodes are complicated
enough that I'd hesitant to automate without some human familiar with
Cassandra being involved.

--
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix &
Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robin Verlangen  
View profile  
 More options Sep 26 2012, 1:38 pm
From: Robin Verlangen <ro...@us2.nl>
Date: Wed, 26 Sep 2012 19:38:05 +0200
Local: Wed, Sep 26 2012 1:38 pm
Subject: Re: Integrated cassandra

Thank you both for your reply.

We're not a 100% sure yet about what to use. The application itself is just
as distributed as Cassandra is. It also embeds ElasticSearch.

At this point I only see the "ring" as a real pain in the ass, as I have to
automatically move nodes around to prevent unbalanced setup.

The goal is not to prevent users from connecting to Cassandra. If they want
to change anything internal they can and should. Flexibility is one of our
main goals.

But you might have a point: Cassandra is not a "shoot-and-forget" kind of
software.

Not really sure what to do yet ...

Best regards,

Robin Verlangen
*Software engineer*
*
*
W http://www.robinverlangen.nl
E ro...@us2.nl

<http://goo.gl/Lt7BC>

Disclaimer: The information contained in this message and attachments is
intended solely for the attention and use of the named addressee and may be
confidential. If you are not the intended recipient, you are reminded that
the information remains the property of the sender. You must not use,
disclose, distribute, copy, print or rely on this e-mail. If you have
received this message in error, please contact the sender immediately and
irrevocably delete this message and any copies.

2012/9/26 Aaron Turner <synfina...@gmail.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »