Message from discussion
Best Configuration for a Production Enviorment
Received: by 10.50.207.33 with SMTP id lt1mr3200270igc.3.1330629246776;
Thu, 01 Mar 2012 11:14:06 -0800 (PST)
X-BeenThere: project-voldemort@googlegroups.com
Received: by 10.231.93.147 with SMTP id v19ls3092627ibm.1.gmail; Thu, 01 Mar
2012 11:14:04 -0800 (PST)
Received: by 10.42.158.4 with SMTP id f4mr3292724icx.4.1330629244682;
Thu, 01 Mar 2012 11:14:04 -0800 (PST)
Received: by 10.42.158.4 with SMTP id f4mr3292723icx.4.1330629244672;
Thu, 01 Mar 2012 11:14:04 -0800 (PST)
Return-Path: <lslus...@gmail.com>
Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182])
by gmr-mx.google.com with ESMTPS id gv1si1540344igb.3.2012.03.01.11.14.04
(version=TLSv1/SSLv3 cipher=OTHER);
Thu, 01 Mar 2012 11:14:04 -0800 (PST)
Received-SPF: pass (google.com: domain of lslus...@gmail.com designates 209.85.214.182 as permitted sender) client-ip=209.85.214.182;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of lslus...@gmail.com designates 209.85.214.182 as permitted sender) smtp.mail=lslus...@gmail.com; dkim=pass header...@gmail.com
Received: by obbwc7 with SMTP id wc7so1447207obb.13
for <project-voldemort@googlegroups.com>; Thu, 01 Mar 2012 11:14:04 -0800 (PST)
Return-Path: <lslus...@gmail.com>
Received-SPF: pass (google.com: domain of lslus...@gmail.com designates 10.182.174.101 as permitted sender) client-ip=10.182.174.101;
Received: from mr.google.com ([10.182.174.101])
by 10.182.174.101 with SMTP id br5mr2558738obc.0.1330629244421 (num_hops = 1);
Thu, 01 Mar 2012 11:14:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
bh=68XYebweZlbeCGYrSATxCgTuqP+onDvS4CJ1qpEFI3M=;
b=jF1zFV2ArAVX/K7RSmImVRoNsBxvRks3fGLIu1WqlOWDii27cpA8XRAljyr7xInS8M
SCCyWut8tk0SyKZLX9edq4FUXx5ClIqXNb0/rxor4AghHJAEGaxnKq8Bj633YpDBBZNS
HPm4nlnVXycsnhsE7J4hoMDoaBT5EDT6+PVhw=
MIME-Version: 1.0
Received: by 10.182.174.101 with SMTP id br5mr2204960obc.0.1330629244362; Thu,
01 Mar 2012 11:14:04 -0800 (PST)
Received: by 10.60.61.36 with HTTP; Thu, 1 Mar 2012 11:14:04 -0800 (PST)
In-Reply-To: <CAMu2xmNk0PD28PT7AdyoGN7ALMS_syk_gvCc8Gd6iH6MOd4...@mail.gmail.com>
References: <33290347.385.1330625030419.JavaMail.geo-discussion-forums@vbva11>
<CAMu2xmNk0PD28PT7AdyoGN7ALMS_syk_gvCc8Gd6iH6MOd4...@mail.gmail.com>
Date: Thu, 1 Mar 2012 11:14:04 -0800
Message-ID: <CAESZ+_8TmAoOK-9TToLG-DDnew-sYow21sASWCN_RFdsiW5...@mail.gmail.com>
Subject: Re: [project-voldemort] Best Configuration for a Production Enviorment
From: Liam Slusser <lslus...@gmail.com>
To: project-voldemort@googlegroups.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Have you looked into using SSD's for storage? We have around 5m keys
~18k per key using BDB and had performance issues with a 8 node
cluster setup. I replaced our cluster with 4 servers with 16g ram and
each with a raid10 SSD storage and haven't looked back.
liam
On Thu, Mar 1, 2012 at 10:49 AM, Mickey Hsieh <micke...@gmail.com> wrote:
> Given 3m (rows) * 1mb (data) * 2 (replica) /3 =A0(node) =3D 2 TB /per nod=
e. How
> did you get 60GB =A0data size per node? =A0Am I missing some thing?
>
> I can share with you my experience. We had using Voldemort Project for mo=
re
> 2 years neither BDB and MySql can not meet our requirement. We had develo=
ped
> our storage plug-in open source CacheStore
> (http://code.google.com/p/cachestore) =A0to handle the load and performan=
ce.
>
> Here use case:
> we have 600m (rows) * 1 kb (data) * 2 (replica) / 20 nodes =3D 60 GB / pe=
r
> node
> 1500 tps random read/write ( 500 read + 1000 write ) / =A0per seconds
> on client side is around 5 - 7 ms/tps . on serve side is less than 1 ms/t=
ps
>
> If you are interested, I can chat and understand your requirement.
>
> Mickey
>
> On Thu, Mar 1, 2012 at 10:03 AM, ctasada <ctas...@gmail.com> wrote:
>>
>> Hi everyone,
>>
>> Since some weeks ago I'm involved in a project that's using
>> project-voldemort as a backend. We're having some performance issues due=
to
>> an increment in the system load.
>>
>> For what I've been reading in the group and checking the code I've some
>> ideas, but I wanted to ask for your experience in the matter.
>>
>> Current Configuration:
>> 3 Nodes with replication factor 2, Hinted Handoff enabled and Read/write=
s
>> 1. We're working with around 3 million keys and values around 1MB. The n=
odes
>> are storing more than 60GB BDB data files (I need to check the BDB clean=
er
>> configuration since this seems quite big). The servers are 8CPU Linux 64=
b
>> with 44GB memory, using 22GB in the JVM and 10GB BDB cache (which I know=
n is
>> really small right now)
>>
>> I'm seeing BDB locks and high read/write loads in disk. My impression is
>> that's caused by the values size and lack of enough cache for the BDB fi=
les,
>> so that's what i'm planning to do:
>> - Rebalance the partitions in more nodes.
>> - Modify my code to decrease the value size to something smaller, probab=
ly
>> between 100KB and 300KB (increasing the number of keys)
>>
>> What I'm expecting to get are smaller BDB files that can fit better in
>> cache and smaller values that can be read/write to disk faster.
>>
>> What I'm not really sure about is:
>> - What's the best balance between JVM memory, BDB Cache and BDB size?
>> - Can you think of any problem running 2 Voldemort server instances in t=
he
>> same server? would be better to use different VM,=A0when there're in the=
same
>> physical server?
>> - Is there any kind of hardware recommendation or preferred configuratio=
n
>> when working with Voldemort?
>>
>> Your help is really appreciated.
>>
>> Best Regards,
>> Carlos.
>>
>> --
>> You received this message because you are subscribed to the Google Group=
s
>> "project-voldemort" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/project-voldemort/-/mEfpkMzAsQkJ.
>> To post to this group, send email to project-voldemort@googlegroups.com.
>> To unsubscribe from this group, send email to
>> project-voldemort+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/project-voldemort?hl=3Den.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "project-voldemort" group.
> To post to this group, send email to project-voldemort@googlegroups.com.
> To unsubscribe from this group, send email to
> project-voldemort+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/project-voldemort?hl=3Den.