From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: chunkd near-term enhancements Date: Sun, 04 Jul 2010 02:26:43 -0400 Message-ID: <4C3029A3.6010001@garzik.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=8HwLeyWsvWx6gUbGF752SzEVMe1YPzvWL5KGg9myT24=; b=XYjw/XrQ/p7F/LmC/Bb+Ctp2FQnn96odN6NzuTEdwHuxUinNxrD9fkAvLAjwEOAFfP ZdEFFvnPMzJx7h+s/1vZ0M+5Fdw8Pt9ItXQ6C+ZW0ANdfynhG4pD+MkMitoOjjCuVAo0 gfq5YNArZKEQ3sH1ufHycj37zqrP+He/rtxgg= Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Project Hail Here are a few chunkd enhancements that are currently on my drawing board, for the near term: (CHO_xxx denotes new chunkd network protocol commands, as listed in include/chunk_msg.h) * CHO_SET_SERVERS: chunkd shall maintain a per-connection buffer known as SERVER_LIST. This chunkd command is issued by the client prior to using a SERVER_LIST-related command (see below), to reset the contents of the connection's SERVER_LIST buffer. * CHO_RCP: copy a single object to each remote server in SERVER_LIST * CHO_PUT_THRU: like PUT, but causes chunkd to further replicate the incoming object to each remote server in SERVER_LIST * CHO_APPEND: append data onto an object. * CHO_APPEND_THRU: append data locally, and, replicate foreach remote server in SERVER_LIST The authentication used in chunkd->chunkd connections is the logged-in username/shared-secret combination. Jeff