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 4129318208 for ; Tue, 15 Dec 2015 20:19:05 +0000 (UTC) Received: (qmail 71673 invoked by uid 500); 15 Dec 2015 20:19:03 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 71626 invoked by uid 500); 15 Dec 2015 20:19:02 -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 71616 invoked by uid 99); 15 Dec 2015 20:19:02 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Dec 2015 20:19:02 +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 7C82E180290 for ; Tue, 15 Dec 2015 20:19:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.881 X-Spam-Level: *** X-Spam-Status: No, score=3.881 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ah7dFwAI1fZn for ; Tue, 15 Dec 2015 20:18:51 +0000 (UTC) Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 641E8207E3 for ; Tue, 15 Dec 2015 20:18:50 +0000 (UTC) Received: by mail-vk0-f42.google.com with SMTP id a189so13274726vkh.2 for ; Tue, 15 Dec 2015 12:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/i06zqk9FRIKNnUmJSaj3Cy5c5PLZ4nl1EIZ0DdCnJ4=; b=iGh3mkMFX+akMytt1UZ49AAVsh9mpk9R/tWF4HxK5I1To/KqfPv6huA/bHNW9/Dd9b ajvcyPcqwtAyTLyCDb+9bw9gJ7Ic7L30i7lovX3TdcgpHOkD9zAx0A/erxkZFIOCN0SN 19w2XkZ8FKauqGTBS3AM3geweADUI48Bip+HRnyAfErWIcHEmP4Apfhun3FAJu+rpHWw p/GVcJg59xxtzEjVYD6uLiGcjaPBwcAClmUoFo1P4zl93EDAei1uVWyw958dxn9de/6w 4uUdsQwsrEkCa38MP1TfOtXg5EW++v/rCcFN3CYzimFVbv3ifi3KGphBDOvDQYHP9zcP 6ZQg== MIME-Version: 1.0 X-Received: by 10.31.8.72 with SMTP id 69mr26503444vki.145.1450210729154; Tue, 15 Dec 2015 12:18:49 -0800 (PST) Received: by 10.31.47.137 with HTTP; Tue, 15 Dec 2015 12:18:49 -0800 (PST) In-Reply-To: <819BF4FE-07F1-4FE9-AE2B-DD747D5A00CF@gmail.com> References: <3756DF5D-793E-4A90-8C9B-D2C5B145A347@gmail.com> <819BF4FE-07F1-4FE9-AE2B-DD747D5A00CF@gmail.com> Date: Tue, 15 Dec 2015 15:18:49 -0500 Message-ID: Subject: Re: Better setup to start using in production on one server From: Jack Krupansky To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a114550805c5d5f0526f57f1a --001a114550805c5d5f0526f57f1a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable How much data and request load do you expect on this small cluster? If fairly light, fine. But if heavy, be careful. Someone else can chime in if they have a more solid answer on how many CPU cores Cassandra needs, but less than two per node seems inappropriate unless load is extremely light since it precludes much in the way of concurrency. Maybe you might be better off just running a single node on this box as long as load is fairly light and then grow it to a full 6, 8, or 12 nodes when data and request load warrant. Note that 3 nodes at RF=3D3 does not gi= ve you any additional data capacity although it does triple your request load capacity. Six nodes is sort of the sweet spot, giving you HA with RF=3D3 an= d doubling data capacity with a bunch of nodes to handle load. -- Jack Krupansky On Tue, Dec 15, 2015 at 1:53 AM, Vladimir Prudnikov wrote: > > On 14 Dec 2015, at 21:40, Robert Coli wrote: > > On Mon, Dec 14, 2015 at 3:46 AM, Vladimir Prudnikov > wrote: > >> [I want to run Cassandra on a single server] > > > I struggle to imagine the purpose of doing this. > > > Save money. I don=E2=80=99t have huge enterprise behind me nor investor= =E2=80=99s money on > my bank account. I just created an app and want to launch it and see if i= t > is what users will use and pay for. Once I get users using it I can scale > my hardware. > > Is it hard to start with 3 nodes on one server running in docker and then > just move 2 nodes to the separate servers? > > > You are going to sign yourself up for repeated painful changes of RF, as > well as downtimes. As Michael says, you will get most of the cost of a > distributed database and none of the benefit. > > > I'm pretty sure the ABSOLUTE MINIMUM reasonabl(ish) deploy of cassandra i= s > RF=3DN=3D2. > > =3DRob > > > --001a114550805c5d5f0526f57f1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
How much data and request load do you expect on this small= cluster? If fairly light, fine. But if heavy, be careful.

Someone else can chime in if they have a more solid answer on how many C= PU cores Cassandra needs, but less than two per node seems inappropriate un= less load is extremely light since it precludes much in the way of concurre= ncy.

Maybe you might be better off just running a = single node on this box as long as load is fairly light and then grow it to= a full 6, 8, or 12 nodes when data and request load warrant. Note that 3 n= odes at RF=3D3 does not give you any additional data capacity although it d= oes triple your request load capacity. Six nodes is sort of the sweet spot,= giving you HA with RF=3D3 and doubling data capacity with a bunch of nodes= to handle load.


-- Jack K= rupansky

On Tue, Dec 15, 2015 at 1:53 AM, Vladimir Pr= udnikov <v.prudnikov@gmail.com> wrote:

On 14 Dec 2015, at 21:40, Robert Coli = <rcoli@eventbr= ite.com> wrote:

On Mon, Dec 14, 2015 at 3:46 AM, Vladimir = Prudnikov <v.prudnikov@gmail.com> wrote:
[I want to run Cassandra on a single server]

I struggle to imagine the purpose of doing this.

Save money. I don=E2=80= =99t have huge enterprise behind me nor investor=E2=80=99s money on my bank= account. I just created an app and want to launch it and see if it is what= users will use and pay for. Once I get users using it I can scale my hardw= are.

Is it hard to start with 3 nodes on one serve= r running in docker and then just move 2 nodes to the separate servers?

You a= re going to sign yourself up for repeated painful changes of RF, as well as= downtimes. As Michael says, you will get most of the cost of a distributed= database and none of the benefit.

I'm pretty sure the AB= SOLUTE MINIMUM reasonabl(ish) deploy of cassandra is RF=3DN=3D2.
=
=3DRob



--001a114550805c5d5f0526f57f1a--