Re: [dispatch] Proposal for Per Resource Events Protocol
Rahul Gupta <cxres@protonmail.com> Mon, 14 August 2023 10:45 UTC
Return-Path: <cxres@protonmail.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEE3DC151549 for <dispatch@ietfa.amsl.com>; Mon, 14 Aug 2023 03:45:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=protonmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xx1hckdwYTDZ for <dispatch@ietfa.amsl.com>; Mon, 14 Aug 2023 03:45:27 -0700 (PDT)
Received: from mail-4319.protonmail.ch (mail-4319.protonmail.ch [185.70.43.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ADCDBC151546 for <dispatch@ietf.org>; Mon, 14 Aug 2023 03:45:27 -0700 (PDT)
Date: Mon, 14 Aug 2023 10:45:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1692009925; x=1692269125; bh=5imTSxX5q2ue4fek+xlX+tAd07lG40kHWnldT0AIxys=; h=Date:To:From:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=BLoDdd9aw4CXweqt3OGu0QSGH1BwR+8NFkLcDA49KpKZTYoq5ZGZyxEhminKNMdki +fl5V6E+OwOcg7LT7kNT0s8VICfAqLGma26V1GWcmx/gIigfbCS3sAm7wS3sBzgmzw 3FDxHvRslXtddzy2SlBJrTkSEoxbwKKMrmqeUulg3sdv8BB3VNAceR7iFREbFUADrn LLcxmFfhTiYYLL/UC3CyFP1R263d2Kxgci9T7MR4rFKZqgROQ+/HYSG++RiLD6KY1O 8CUfVU37Xdb+51jSa4P91XxrgcsSpiq3CAPve5ZaWtv3fwObkLhp23QaU+BksZVyZV nXWbhBE8aTqxQ==
To: Michael Toomim <toomim@gmail.com>, "dispatch@ietf.org" <dispatch@ietf.org>
From: Rahul Gupta <cxres@protonmail.com>
Message-ID: <9J7fLcGYqf5jFd2d02LCQOprSpXUNVdCLGKMTkwGv2a-XWJyHe5YzB3ph01G4Pii4HFrNod5JxiqtjKwVu-Ydqeg80R_Dn1YSyz3LPnoOP4=@protonmail.com>
In-Reply-To: <c118cb08-08a7-10e5-9570-585f481ef4e8@gmail.com>
References: <878ralz3o1.fsf@hobgoblin.ariadne.com> <c118cb08-08a7-10e5-9570-585f481ef4e8@gmail.com>
Feedback-ID: 919445:user:proton
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha256"; boundary="------0964f6575243cdca08ce6af56def11ba8bc18ea81bb3adbf93b6c11967a2b83c"; charset="utf-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/8Y_OTXJNgpVSrSs8oqIwJ0vUK-E>
Subject: Re: [dispatch] Proposal for Per Resource Events Protocol
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Aug 2023 10:45:31 -0000
Since mutations can differ for the type of resource, imho it is best to provide a negotiation mechanism instead. Which is what I do in PREP. Intermediaries can then handle mutations as they handle representations. Sent with Proton Mail secure email. ------- Original Message ------- On Sunday, August 13th, 2023 at 10:54 AM, Michael Toomim <toomim@gmail.com> wrote: > I want to second this point made by Dale: > > > However, it looks like you don't specify what the notifications (the > > body parts of the multipart) will look like. That may be intended or > > even necessary for this specification, but it means that every > > implementation for an object has to design what its notifications will > > look like. As Mnot says, that's a negative: "Intermediaries can't > > understand application-specific semantics, so they can't add much value > > to them without making some big assumptions." > > > This is why I think it's much more valuable to go all the way, and > standardize how mutations occur, rather than just provide a generic > event stream. > > Consider that right now, CDNs can only cache a website's static assets. > All the dynamic state runs over a WebSocket, and the CDN can't store it. > > But by standardizing mutations to state, we can have CDNs that > understand when state changes, and can maintain the current value. > > This lets us solve one of the "hardest problems in computer science" — > dirtying caches. We no longer have to mess with max-age headers. We no > longer have to force-reload our caches, or add webhooks to tell the CDN > when it needs to refresh our assets. The CDN can just watch the mutation > stream, and update itself automatically, in real-time, without any > additional instruction. > > _______________________________________________ > dispatch mailing list > dispatch@ietf.org > https://www.ietf.org/mailman/listinfo/dispatch
- [dispatch] Proposal for Per Resource Events Proto… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- [dispatch] Fw: Re: Proposal for Per Resource Even… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Fw: Re: Proposal for Per Resource … Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Tim Bray
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Kévin Dunglas
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Kévin Dunglas