Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 89289 invoked from network); 3 Jul 2010 15:59:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jul 2010 15:59:47 -0000 Received: (qmail 43185 invoked by uid 500); 3 Jul 2010 15:59:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 43141 invoked by uid 500); 3 Jul 2010 15:59:45 -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 43133 invoked by uid 99); 3 Jul 2010 15:59:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 15:59:45 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sahmed1020@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Jul 2010 15:59:38 +0000 Received: by wwb24 with SMTP id 24so1134923wwb.25 for ; Sat, 03 Jul 2010 08:59:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=VmxJBfaWe1ckmEIzA51AUShDRrGLrkMtW66hTjkkZd4=; b=Or9ab3i3nJS+TC+W7Cqhsj8Go78rgMRJVTV1GdgiasqMHk9q+Y5q9flM24zdlGy/h7 qkXKAuFmCmsv2VX3Nf8THhSmp/3+4bJmVcHr7TjjT6oQ80r4XG8q/HuunOLRfQ2TG7Wk DjGVJICW3I2lBYKUaxxfgBq8QddKmEXN9nAWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=niz3yIcz+c2KGSoCZrnD2LhIkO8o7SWrnYBj3FuKdGFo7nYC8xzswebrYvXHso7rQr Cex+s7drHUq07DYUb2zUaRbls4MRy3vUkScYsilVM0iyWSdDdquPSn5rgUSCA6Qb5k3Y FDRLJRiyxwsV5W71XC4hbidg8dK04Q7DUo6AY= MIME-Version: 1.0 Received: by 10.227.157.68 with SMTP id a4mr525555wbx.5.1278172757856; Sat, 03 Jul 2010 08:59:17 -0700 (PDT) Received: by 10.216.45.206 with HTTP; Sat, 3 Jul 2010 08:59:17 -0700 (PDT) Date: Sat, 3 Jul 2010 11:59:17 -0400 Message-ID: Subject: key data type and performance + multi-tenancy suggestions From: S Ahmed To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0016e659f482319729048a7dc97f X-Virus-Checked: Checked by ClamAV on apache.org --0016e659f482319729048a7dc97f Content-Type: text/plain; charset=ISO-8859-1 1. Is there a difference in performance when you have keys that are int versus string/datetime? 2. When designing for multi-tenancy, what suggestions do you guys have? My idea thus far would be do prefix keys with the website like: com.example.keyname Seeing as keyspaces can't be built dynamically, this is probably the only approach correct? --0016e659f482319729048a7dc97f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 1. Is there a difference in performance when you have keys that are int ver= sus string/datetime?=A0

2. When designing for multi-tena= ncy, what suggestions do you guys have?
=A0=A0 =A0My idea thus fa= r would be do prefix keys with the website like:
=A0=A0 =A0 =A0com.example.keyname

=A0=A0Seein= g as keyspaces can't be built dynamically, this is probably the only ap= proach correct?
--0016e659f482319729048a7dc97f--