Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 807831014F for ; Thu, 19 Mar 2015 02:56:39 +0000 (UTC) Received: (qmail 66803 invoked by uid 500); 19 Mar 2015 02:56:38 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 66738 invoked by uid 500); 19 Mar 2015 02:56:38 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 66726 invoked by uid 99); 19 Mar 2015 02:56:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Mar 2015 02:56:38 +0000 Date: Thu, 19 Mar 2015 02:56:38 +0000 (UTC) From: "Gopal V (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-3373) TTL & identity aware read cache for the SRV records MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Gopal V created YARN-3373: ----------------------------- Summary: TTL & identity aware read cache for the SRV records Key: YARN-3373 URL: https://issues.apache.org/jira/browse/YARN-3373 Project: Hadoop YARN Issue Type: Sub-task Components: yarn Reporter: Gopal V The freshness/staleness checks of the SRV record should be an abstracted implementation detail of the service registry. This implies that every client is asked to listServiceRecords each time they require a list of the records, which would be incredibly expensive if it involved network round-trips during normal tight-loop operations. The combination of unique binding records and the TTL provides the equivalent of the DNS (fixed CNAME -> unique A) roll-over mechanisms used to cache-bust effectively on the client-side. -- This message was sent by Atlassian JIRA (v6.3.4#6332)