Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 68C0E200CD8 for ; Wed, 2 Aug 2017 09:59:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6722C167F78; Wed, 2 Aug 2017 07:59:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AC6B6167F60 for ; Wed, 2 Aug 2017 09:59:16 +0200 (CEST) Received: (qmail 66826 invoked by uid 500); 2 Aug 2017 07:59:15 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 66814 invoked by uid 99); 2 Aug 2017 07:59:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Aug 2017 07:59:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 085911A23AD for ; Wed, 2 Aug 2017 07:59:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id uf4sgckskf7L for ; Wed, 2 Aug 2017 07:59:14 +0000 (UTC) Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id A915E60D44 for ; Wed, 2 Aug 2017 07:59:13 +0000 (UTC) Received: by mail-wm0-f49.google.com with SMTP id t201so34330282wmt.0 for ; Wed, 02 Aug 2017 00:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=aC02I0NhiP+/5QOoMpTNhnZtrUKc6VMZHTq93m6dM30=; b=TG4QfauV346R6wR+b3GkRFyJq48SFIDWOXZjXZeRex4VNv8pMseOCIZGgnnMV6z6ng ungTa8tI+oibcbQ49UsGQg0YGsBT97daaXW9JxyOhog9vpxqlQmrXACbO+MMZ/Eo0NaH p37cHF09auFqgfFsrtCk5Ty+zFkPxR/RH04diTbjtsecGcQv3YQUTUNTPaSJ+MD4CEs8 Y3wsrCg3FS+Ba6gX+rdcMTY3JCyXmXR7M+rCX+vdk/4KO/+kK+Qp3lkmjKSUOPAdwavh u8cssUFl0TcL32w+Hsqkc8U7JlfmpYU2+PIZMxW776xwhSz3cxr5wJXmCvMc5afAOj5p egGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=aC02I0NhiP+/5QOoMpTNhnZtrUKc6VMZHTq93m6dM30=; b=WK0/xfW01F8maYLnKJJbiJpFN1gUUvMpEG+hejGG8u2Jw1NXC2YEcliJgYU1LDEY7K BnQQdEmzf2GnBlrhOwBAScxF2bIIt/JzkhUC4LEgKAiTszhFjXbTiZbOMLocXfYQSJVh 8Gfp403oJUdlt7e+wuHCdptrcw0xUN8+8gzz+FSFTD6dn/V9yN888vxnJsl9WI9b/zFj 7o3Gt6XJwmLdBwRZ6kdvK0SdRYupZ8KSd2dmciFVoKgUSRr5Oke5UZK1zWGAm0/WDhBI a9degCJyJzuw3kAGfDBLbPIWpQ96G2DvwZv/NnfyzTRe8A03a5HIgvXiPgv3MLpnMYAU mW5g== X-Gm-Message-State: AIVw112DXB8THyW47JvC3n03NwnJhNQi+fgueEmNOJT+SiRUFdJhwNzz Rh6j6xHiPE/gz1cfSS4amTqODHR2zA== X-Received: by 10.80.146.209 with SMTP id l17mr20917300eda.160.1501660746870; Wed, 02 Aug 2017 00:59:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.154.66 with HTTP; Wed, 2 Aug 2017 00:59:06 -0700 (PDT) In-Reply-To: References: From: Alexey Goncharuk Date: Wed, 2 Aug 2017 10:59:06 +0300 Message-ID: Subject: Re: Thin client protocol message format To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="f403045c2b0863f41e0555c0a3e5" archived-at: Wed, 02 Aug 2017 07:59:17 -0000 --f403045c2b0863f41e0555c0a3e5 Content-Type: text/plain; charset="UTF-8" Do I understand correctly that this is not a multiplexed protocol? Are we ok to have a separate connection for each thread? I would also add a requestId field to allow multiple concurrent requests at a time. 2017-08-02 10:50 GMT+03:00 Vladimir Ozerov : > Yakov, > > Yes, explicit protocol versioning already used in ODBC/JDBC. Looks like we > should continue this practice in this protocol as well. > > On Wed, Aug 2, 2017 at 10:44 AM, Yakov Zhdanov > wrote: > > > Here are my observations. > > > > 1. Let's create wiki page where we will keep the protocol definition and > > reflect all the changes. > > > > 2. I would put op_code to the first place. This will make possible to > > eliminate length field for many messages. Look at your handshake request > - > > it is always of fixed length. Why do we need length then? Variable length > > operations - puts, putalls, getalls, etc will definitely need length > field > > (or keys count and length of each key separately in each binary object - > > let's discuss it later). > > > > 3. I would also add build date and revision hash to handshake. Same as we > > do for Ignite. > > > > 4. I would like to have explicit protocol version for client to make > > possible for newer clients to work with older servers. Moreover, I think > > there may be some third party protocol implementations on other platforms > > which may not be driven by Ignite community and their versioning may be > > different. So, explicit protocol version is really handy here. > > > > Thanks! > > > > --Yakov > > > --f403045c2b0863f41e0555c0a3e5--