Re: [Trans] Long Poll
Evgeny <xramtsov@gmail.com> Fri, 22 March 2019 17:24 UTC
Return-Path: <xramtsov@gmail.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 9904313133F
for <trans@ietfa.amsl.com>; Fri, 22 Mar 2019 10:24:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 2Mq2USM7gZGy for <trans@ietfa.amsl.com>;
Fri, 22 Mar 2019 10:24:35 -0700 (PDT)
Received: from mail-yw1-xc2a.google.com (mail-yw1-xc2a.google.com
[IPv6:2607:f8b0:4864:20::c2a])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id B6E1B13133D
for <trans@ietf.org>; Fri, 22 Mar 2019 10:24:35 -0700 (PDT)
Received: by mail-yw1-xc2a.google.com with SMTP id d132so2355238ywa.2
for <trans@ietf.org>; Fri, 22 Mar 2019 10:24:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=date:from:subject:to:message-id:in-reply-to:references:mime-version;
bh=FPx1iS5L0C8385NjsxgxDxjtGva0JbClbxe5MJwTHXI=;
b=nwgj/LjQkcPi/vizMVBjC3jKWeThhSP9MOUFMf3VAd0PQ7j6zT9eV5udymf8A1qBJ9
QtrMd4oUrsu0ZQpxnFS2fp3bc0Jhc90U89Ek6HmvOmEF6qT9aIX0U/pHnZ1ZPd60JYhq
FlOFo8N8Kl9TK12ge8x6XFMPDgcLPlsBJD9bk6He5uLnb1Mw/+oyVOziyjrUh1RxyCc1
kk0lSLs+hjTnwmNLTLKY7q+++eIYJ/K/aR6bvDgGpvsnnLo+qjGyfD5UALoFHixQPssC
ISzXqFppE4B1PbxTIZHb3FiTqNdMVntC+V/w5G/GA9Uf+6rhXRoObpV5abr9c14Boljs
oBjw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:subject:to:message-id:in-reply-to
:references:mime-version;
bh=FPx1iS5L0C8385NjsxgxDxjtGva0JbClbxe5MJwTHXI=;
b=oPo7s1Nm9UFN1TF85hmyIZSRT+dAMrCgBADvvX1vYIqgkOABJWdP3BK99nYlQkmO7C
QDY5ao+cKNmPoQSjAr7oM6wBaI/6Wtcmw40nVSG7x08rZ0AvnQJQF+pvXfqbJuDvhabJ
0tgXewU4q9CLsonZdZydUv969q4BJ0T0x4sPK9H6G/uefNgjp+T1xtaaqcNkFu9OuILm
nqO6B6I+F5YapMc5VgkmcryDN8cz7E3sdeIWdjlj1QkFNucugBxbBjHkqWqUDOMKLOGV
Q17CtPHcHZjMa9/HAjHxR8Vxa4n3sqPEI/dibtFB+5EH3m+UERQoJkvyba3khmbz9U+8
33ig==
X-Gm-Message-State: APjAAAWrq5MwUvasC2QAx4RdUYEUm0FDF5mYP4P8yakDclnfCeqVwsWM
YqW6WjbNM8ZD9+iblUdtoseaTKow
X-Google-Smtp-Source: APXvYqxS4c9m9wywzGGgUPaBQ8wCyJD+6sFJkv9QLiU0HC0Rfot1wVdCQyw68cRpC7P3AJ0of7CA6Q==
X-Received: by 2002:a81:4506:: with SMTP id s6mr9292847ywa.500.1553275474605;
Fri, 22 Mar 2019 10:24:34 -0700 (PDT)
Received: from [192.168.1.102] ([185.155.18.125])
by smtp.gmail.com with ESMTPSA id f190sm9047303ywb.98.2019.03.22.10.24.32
for <trans@ietf.org>
(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
Fri, 22 Mar 2019 10:24:33 -0700 (PDT)
Date: Fri, 22 Mar 2019 20:24:30 +0300
From: Evgeny <xramtsov@gmail.com>
To: trans@ietf.org
Message-Id: <1553275470.1281.2@smtp.gmail.com>
In-Reply-To: <20190322164812.jajis3kx6qbxn25f@work>
References: <1553165248.1179.0@smtp.gmail.com>
<CALzYgEfEgO2R_SwsAE-UtqV0rPAX9trcREt2jCTw_i1OHsXQFg@mail.gmail.com>
<1553186500.1179.1@smtp.gmail.com> <1553195698.1179.2@smtp.gmail.com>
<20190322164812.jajis3kx6qbxn25f@work>
X-Mailer: geary/0.12.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Archived-At: <https://mailarchive.ietf.org/arch/msg/trans/tnR_NjcuZPUyq0Vz8GO1RDB2zUk>
Subject: Re: [Trans] Long Poll
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Public Notary Transparency working group discussion list
<trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>,
<mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>,
<mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Mar 2019 17:24:38 -0000
On Fri, Mar 22, 2019 at 7:48 PM, Rasmus Dahlberg <rasmus.dahlberg@kau.se> wrote: > You could fetch the latest STH periodically based on how often a log > can produce > it: see MMD and STH frequency in Section 4.1. For example, checking > once per > hour makes sense if a log's MMD is 24 hours and its STH frequency is > 24. If you > are looking to fetch STHs today, i.e., from a log that is not CT/bis > compliant, > you could learn how often STHs are normally produced by some initial > polling > tests. Another option is to simply pick an interval that suits your > needs, > preferably without being to aggressive based on how often STHs are > produced. Well, yes, I understand all this. Even if long polling is suboptimal in some sceanrios, what stops the authors from introducing long-polling API request for STH, it can be even optional. Because in my use case (that's a long story) I find long polling a better fit.
- [Trans] Long Poll Evgeny
- Re: [Trans] Long Poll Eran Messeri
- Re: [Trans] Long Poll Evgeny
- Re: [Trans] Long Poll Evgeny
- Re: [Trans] Long Poll Rasmus Dahlberg
- Re: [Trans] Long Poll Evgeny
- Re: [Trans] Long Poll Devon O'Brien
- Re: [Trans] Long Poll Rasmus Dahlberg