Re: Custom commands in cassandra

2013-08-14 Thread Jon Haddad
Aside from the problems mentioned below, it's a rare case that tightly coupling your application code directly into your database makes it easier to maintain your codebase, especially as you scale. If you roll out your custom Cassandra application, then decide you need search, will you also emb

Re: Custom commands in cassandra

2013-08-14 Thread Aaron Morton
> They also stuck themselves on Cassandra 0.7 forever. To reinforce that point, look at the data stax site or the last conference for some of the performance metrics comparing 1.2 to 1.0 and before. While you are worrying about the transport to cassandra, the project making things go faster. IM

Re: Custom commands in cassandra

2013-08-12 Thread Robert Coli
On Mon, Jul 29, 2013 at 12:42 PM, Nulik Nol wrote: > > Embedding the server will add *a lot* of complexity. > > that's a conjecture one would come at first sight, but if you analyze > it , it is the opposite. Complexity increases with code, and > communication between processes (like via socket o

Re: Custom commands in cassandra

2013-07-29 Thread Nulik Nol
hi > Have you identified issues where throughput or latency is an issue ? no, I am on design stage of my app and I want to do it the fastest way possible from the beginning > Most performance gains are going to be made by getting the data model right. hope to get it right, and with embedding will

Re: Custom commands in cassandra

2013-07-29 Thread aaron morton
> My reasons to merge the app > into cassandra's code is to gain speed so I will be running only one > java vm process along multiple cores inside a node. Have you identified issues where throughput or latency is an issue ? Most performance gains are going to be made by getting the data model rig

Re: Custom commands in cassandra

2013-07-26 Thread Radim Kolar
basic osgi integration is easy you need to get osgi compatible container and hookup it to cassandra daemon. Its very easy to do - about 5 lines. osgi container can be accessed from network, you need to deploy your application into container on each node and start it up. Then use some RPC mecha

Re: Custom commands in cassandra

2013-07-26 Thread Nulik Nol
On Fri, Jul 26, 2013 at 4:31 AM, Radim Kolar wrote: > >> What would be the way to do this with cassandra? > > embed app into server, use OSGi. Thanks, but a quick search of cassandra's source didn't return any word like "osgi", are you sure I can emmbed my code into cassandra ? could you tell me t

Re: Custom commands in cassandra

2013-07-26 Thread Radim Kolar
What would be the way to do this with cassandra? embed app into server, use OSGi.

Custom commands in cassandra

2013-07-26 Thread Nulik Nol
Hi, I am a startup in development stage, and I want to embed my app functionality into cassandra's server. How might it be done? Some databases allow you to load server-side extensions or commands that are executed upon client's request as some sort of stored procedures. Another databases let you e