Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A1EB1726B for ; Tue, 11 Nov 2014 20:15:35 +0000 (UTC) Received: (qmail 68983 invoked by uid 500); 11 Nov 2014 20:15:34 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 68727 invoked by uid 500); 11 Nov 2014 20:15:34 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 68717 invoked by uid 99); 11 Nov 2014 20:15:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Nov 2014 20:15:34 +0000 Date: Tue, 11 Nov 2014 20:15:34 +0000 (UTC) From: "Benjamin Mahler (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MESOS-2075) Add maintenance information to the replicated registry. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Benjamin Mahler created MESOS-2075: -------------------------------------- Summary: Add maintenance information to the replicated registry. Key: MESOS-2075 URL: https://issues.apache.org/jira/browse/MESOS-2075 Project: Mesos Issue Type: Task Components: master Reporter: Benjamin Mahler To achieve fault-tolerance for the maintenance primitives, we will need to add the maintenance information to the registry. The registry currently stores all of the slave information, which is quite large (~ 17MB for 50,000 slaves from my testing), which results in a protobuf object that is extremely expensive to copy. As far as I can tell, reads / writes to maintenance information is independent of reads / writes to the existing 'registry' information. So there are two approach here: h4. Add maintenance information to 'maintenance' key: # The advantage of this approach is that we don't further grow the large Registry object. # This approach assumes that writes to 'maintenance' are independent of writes to the 'registry'. If these writes are not independent, this approach requires that we add transactional support to the State abstraction. # This approach requires adding compaction to LogStorage. # This approach likely requires some refactoring to the Registrar. h4. Add maintenance information to 'registry' key: # The advantage of this approach is that it's the easiest to implement. # This will further grow the single 'registry' object, but doesn't preclude it being split apart in the future. # This approach may require using the diff support in LogStorage and/or adding compression support to LogStorage snapshots to deal with the increased size of the registry. -- This message was sent by Atlassian JIRA (v6.3.4#6332)