Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6B5D195B0 for ; Fri, 25 Mar 2016 18:40:36 +0000 (UTC) Received: (qmail 94450 invoked by uid 500); 25 Mar 2016 18:40:32 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 94406 invoked by uid 500); 25 Mar 2016 18:40:32 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 94396 invoked by uid 99); 25 Mar 2016 18:40:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2016 18:40:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id BB6A818054C for ; Fri, 25 Mar 2016 18:40:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.299 X-Spam-Level: * X-Spam-Status: No, score=1.299 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=jonhaddad-com.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id zAy_NnLPHeZm for ; Fri, 25 Mar 2016 18:40:29 +0000 (UTC) Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id DFEBA5F255 for ; Fri, 25 Mar 2016 18:40:28 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id fp4so62921739obb.2 for ; Fri, 25 Mar 2016 11:40:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jonhaddad-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=MIZrq73wmWureovdbjydi8rHQSGypGId+QUBU0pr5aE=; b=parAzhG/H6bUE2OWSyNtBtAaEsu12QCRerrDT5JH6AhWWPMtPiV8js2/Y6cRpQ3PCs vGUGzS0dmJHGH0shb9bPePSXXgNksxt5axGV2jbOjKQ51+SIrljyQtJI723ZDTZL2xYY CFSaU0aGNWhVC9ziGVeiGbm+PxUgTCSkA64kq+I+vTP2v2csDFOQRrYO4dsNqd7xfZEQ rN4//qImf+JYoiSo5vy8y3bU3hjz8ttP/gj2xYAdI/GmpOPlKPxhOKZ2Eh6F10pejgIx nh+3oXY1a4nOuwlDgNeji3fkA9LFTtfGjIPQIqYYEIECo4FMzgqAtg0IcUSpoTgTrPi3 hs3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=MIZrq73wmWureovdbjydi8rHQSGypGId+QUBU0pr5aE=; b=N7rOaNuwejVe0dnydHWoVcpIg9c1s+vt0WdfKIXbnobwOH8SVEPbEihCX+ZcRq4E7T A9ObGPFWhtzld5Cec3toiZUUXTYk/8PgnQp5ktE+FiL5Xd2vNMvfe2DH40Cbw3h0bsZb +nlYRjlhT9wLiEbPrSAMKuGpzOPiX9Ocz/jS+I4Eszs69TO5+El4hRw004n21X0k88Pu /8FCXA3DXJIoD6YoVCNXBpuJ7O9ZZqMYJM058FDnqpNl7YaYUibVbxE1XIXEe6SSM2N6 w6v5nTjyUYRIVy/vgd66R3McCgm685xIHgPcvkkAEag5aam1C1yvYg3V5dc2AE4lGym9 Y96w== X-Gm-Message-State: AD7BkJJQZrMxVgkfH4OYx4iJatPbUw7JNz9EzEKzHuLgAM25RbFYVvay6v1m61cb3y+QnxufvCBNv2ISjNum9Q== X-Received: by 10.60.51.135 with SMTP id k7mr7709145oeo.42.1458931227840; Fri, 25 Mar 2016 11:40:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Haddad Date: Fri, 25 Mar 2016 18:40:18 +0000 Message-ID: Subject: Re: apache cassandra for trading system To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a11c301a69656ec052ee3e51a --001a11c301a69656ec052ee3e51a Content-Type: text/plain; charset=UTF-8 You can use keyspaces with multiple data centers to get what you want. That said, if you're going to use only 1 node, I don't think Cassandra is the right fit for you. http://rustyrazorblade.com/2013/09/cassandra-faq-can-i-start-with-a-single-node/ On Fri, Mar 25, 2016 at 11:09 AM Vero Kato wrote: > hi, we are building trading system and we want to use cassandra as our > database. > we want this set-up: > one node which stored one day set of data which will be running on the > same host as trading application > two nodes which store all data (for the current date and historical) which > will be running on other boxes. > > can you please suggest how easily it will be to have this set-up? i.e. we > have three nodes, but one of them (on the same box where our app located) > will be discarding all historical data which are older than one day? > > > thanks > --001a11c301a69656ec052ee3e51a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable You can use keyspaces with multiple data centers to get what you want.
=
That said, if you're going to use only 1 node, I don't think Ca= ssandra is the right fit for you.

http://rustyraz= orblade.com/2013/09/cassandra-faq-can-i-start-with-a-single-node/
On Fri, Mar 25, 2016 at 11:09 AM = Vero Kato <vero.katos@gmail.com<= /a>> wrote:
<= div>

thanks
--001a11c301a69656ec052ee3e51a--