Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 171B317568 for ; Thu, 19 Mar 2015 11:32:08 +0000 (UTC) Received: (qmail 66668 invoked by uid 500); 19 Mar 2015 11:32:07 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 66610 invoked by uid 500); 19 Mar 2015 11:32:07 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 66598 invoked by uid 99); 19 Mar 2015 11:32:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 11:32:07 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kxepal@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-we0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 11:31:43 +0000 Received: by wegp1 with SMTP id p1so54665634weg.1 for ; Thu, 19 Mar 2015 04:29:27 -0700 (PDT) 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:content-transfer-encoding; bh=cwS3fs8QuKinklmCZZWYQK+32z0Em4mG2sJoy6a9oms=; b=Q+6OMQOMK6I184jNFij7VEVEKrjp0FN9JNK35P3BjLyYEYSUoMEQ1qYdINGD87c3Ek p/y/kcf2/LvhDvMXRWx5lgJZuRGyc+3h02/bTCJ49v8fhBVZvqtCkLSJXHk8y3wu3z17 o68YZyKN92Vf4uD+V8x1ADiwR2FcIpj138v5Gy9ostBe7vrSLPXPjbBwPRMeqVAeW90g 7hxfpHn0uXZRcma8cLgLK+2DM6R6vViS0aoRu723HnRbvkGz7cW2NMkPqCFxEZ7YLJ/F uOBaUlV3ozW0rPdd2jvmLvvWpi+h+NgNCWC1JHI24JzAH/q+o5g/C0qAfS+0H/+0ABHC vDfw== MIME-Version: 1.0 X-Received: by 10.194.223.103 with SMTP id qt7mr144907198wjc.35.1426764566957; Thu, 19 Mar 2015 04:29:26 -0700 (PDT) Received: by 10.180.188.133 with HTTP; Thu, 19 Mar 2015 04:29:26 -0700 (PDT) In-Reply-To: References: <0F0C4686-BF9E-4F47-9911-EE8D08BA7321@apache.org> Date: Thu, 19 Mar 2015 14:29:26 +0300 Message-ID: Subject: Re: GSoc 2015 | COUCHDB-1743 Make the view server & protocol faster From: Alexander Shorin To: "dev@couchdb.apache.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Buddhika, May be some docs could help you: http://docs.couchdb.org/en/latest/query-server/protocol.html The most easiest way to understand it is to play with it. Try to enable debug logs for CouchDB (better here stay with 1.x series), run view and other functions and see what the communication happens between CouchDB and query server. Try to run query server from CLI and send it some commands to it and notice the responces. After that, reading the code would be much more simpler since you'll know the idea how it works in general. -- ,,,^..^,,, On Thu, Mar 19, 2015 at 2:24 PM, Buddhika Jayawardhana wrote: > Dear Jan, > > I tried to read the code you have sent me to understand the current query > server protocol(https://github.com/apache/couchdb > /blob/master/test/view_server/query_server_spec.rb). But I could not > understand anything :( . I'm stuck here. Can you point me out a way to > understand the code. (At least a brief explanation). > > Thanks. > > On 19 March 2015 at 10:28, Buddhika Jayawardhana > wrote: > >> Thanks Robert. This would be really helpful. >> >> On 19 March 2015 at 03:20, Robert Kowalski wrote: >> >>> Some of you asked for a template for their proposals, here is what I've >>> found: >>> >>> http://community.staging.apache.org/gsoc#application-template >>> >>> Best, >>> Robert >>> >>> On Wed, Mar 18, 2015 at 1:49 PM, Jan Lehnardt wrote: >>> > >>> >> On 18 Mar 2015, at 13:35, Buddhika Jayawardhana < >>> buddhika.12@cse.mrt.ac.lk> wrote: >>> >> >>> >> Dear Jan and Robert, >>> >> >>> >> It seems I have to do a lot to get to the speed. I have to gain a lo= t >>> of >>> >> theorytical knowladge in >>> >> >>> >> - Erlang. >>> >> - Query servers. >>> >> - and about the source. >>> >> >>> >> But I am so exited to learn new things. Currently I am reading >>> >> "learnsomeerlang" and couch db documentation. This is my first attem= p >>> to >>> >> get involve with a large scale open source project and I need help t= o >>> >> clarify the source code. I hope to meet you guys. Hope to meet you >>> guys at >>> >> the status meeting. >>> > >>> > Sounds good, we=E2=80=99re here to help :) (we are not all guys, thou= gh) >>> > >>> > Best >>> > Jan >>> > -- >>> >> >>> >> Regards. >>> >> >>> >> >>> >> On 18 March 2015 at 03:51, Alexander Shorin wrote= : >>> >> >>> >>> On Tue, Mar 17, 2015 at 12:28 AM, Jan Lehnardt >>> wrote: >>> >>>> Here is how I would start: >>> >>> >>> >>> I think you'd forgot a point about protocol design itself. It requi= res >>> >>> in lot of changes. And there is need to think hardly about is it go= od >>> >>> to stay with stdio as a transport if we're going to make it work fo= r >>> >>> cluster and much parallel as it is now. Just reimplementation of wh= at >>> >>> we have now is interesting, but not very helpful in mid/long term. >>> >>> >>> >>> -- >>> >>> ,,,^..^,,, >>> >>> >>> >> >>> >> >>> >> >>> >> -- >>> >> *Buddhika Jayawardhana* >>> >> Undergraduate | Department of Computer Science & Engineering >>> >> University of Moratuwa >>> >> *buddhika.12@cse.mrt.ac.lk * | LinkedIn >>> >> >>> > >>> > -- >>> > Professional Support for Apache CouchDB: >>> > http://www.neighbourhood.ie/couchdb-support/ >>> > >>> >> >> >> >> -- >> *Buddhika Jayawardhana* >> Undergraduate | Department of Computer Science & Engineering >> University of Moratuwa >> *buddhika.12@cse.mrt.ac.lk * | LinkedIn >> >> > > > > -- > *Buddhika Jayawardhana* > Undergraduate | Department of Computer Science & Engineering > University of Moratuwa > *buddhika.12@cse.mrt.ac.lk * | LinkedIn >