Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 80142 invoked from network); 28 Nov 2010 12:02:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Nov 2010 12:02:36 -0000 Received: (qmail 24078 invoked by uid 500); 28 Nov 2010 12:02:33 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 23911 invoked by uid 500); 28 Nov 2010 12:02:33 -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 23903 invoked by uid 99); 28 Nov 2010 12:02:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:02:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fiedler.andre@googlemail.com designates 209.85.160.172 as permitted sender) Received: from [209.85.160.172] (HELO mail-gy0-f172.google.com) (209.85.160.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Nov 2010 12:02:28 +0000 Received: by gyb13 with SMTP id 13so1793586gyb.31 for ; Sun, 28 Nov 2010 04:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=SVRbmVO9rd6JouGL2IqxJL0aozj/6KWswx17dLh8oPw=; b=Nuauh1chSuCg+EYnLD96507X0tU9ypRxDZNv9H8PZqZEpx9Qbu5YQUUxg8jo8MYtyH v2iv/c+PEt759mmJdmqLSvGr0hMJOXYy1A2GI1r4oST4adcdNEPuYXasoMpIXJkm6fW9 1fwcEWK8+W3qGYl1wIHpb+pUeA930X6Mjluw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=c920FYibCtE6cyLBsMu4DpgUi7TioIIAbvB4kgNICHqlutZnbZtSzNQYWvZBm5IViv cB5ag8O3B7SLxoeOWMHsWFGIp8d8fd4Ws5bu9zO+OFRFQxCRD4z/Ola6ub3eQcr5tXyI KwmL2DuWglGdhMSJUv0cSbpsgZKG6FQ/hnBm4= Received: by 10.91.11.24 with SMTP id o24mr7286872agi.55.1290945726976; Sun, 28 Nov 2010 04:02:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.91.128.1 with HTTP; Sun, 28 Nov 2010 04:01:46 -0800 (PST) In-Reply-To: References: From: =?UTF-8?Q?Andr=C3=A9_Fiedler?= Date: Sun, 28 Nov 2010 13:01:46 +0100 Message-ID: Subject: Re: Using mySQL to emulate Cassandra To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016362839d47b11be04961bb971 --0016362839d47b11be04961bb971 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you want to do this, don=C2=B4t use autoincrementing integers! ;o) Use U= UID instead. (or implement an stand alone id-server that handles autoincrement savely) 2010/11/28 David Boxenhorn > As our launch date approaches, I am getting increasingly nervous about > Cassandra tuning. It is a mysterious black art that I haven't mastered ev= en > at the low usages that we have now. I know of a few more things I can do = to > improve things, but how will I know if it is enough? All this is > particularly ironic since - as we are just starting out - we don't have > scalability problems yet, though we hope to! > > Luckily, I have completely wrapped Cassandra in an entity mapper, so that= I > can easily trade in something else, perhaps temporarily, until we really > need Cassandra's scalability. > > So, I'm thinking of emulating Cassandra with mySQL. I would use mySQL > either as a simple key-value store, without joins, or map Cassandra > supercolumns to mySQL columns, probably of type CLOB. > > Does anyone want to talk me out of this? > --0016362839d47b11be04961bb971 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you want to do this, don=C2=B4t use autoincrementing integers! ;o) Use U= UID instead. (or implement an stand alone id-server that handles autoincrem= ent savely)


2010/11/28 David Bo= xenhorn <david@lo= okin2.com>
As our launch date approac= hes, I am getting increasingly nervous about Cassandra tuning. It is a myst= erious black art that I haven't mastered even at the low usages that we= have now. I know of a few more things I can do to improve things, but how = will I know if it is enough? All this is particularly ironic since - as we = are just starting out - we don't have scalability problems yet, though = we hope to!

Luckily, I have completely wrapped Cassandra in an entity mapper, so th= at I can easily trade in something else, perhaps temporarily, until we real= ly need Cassandra's scalability.

So, I'm thinking of emulat= ing Cassandra with mySQL. I would use mySQL either as a simple key-value st= ore, without joins, or map Cassandra supercolumns to mySQL columns, probabl= y of type CLOB.

Does anyone want to talk me out of this?

--0016362839d47b11be04961bb971--