aurora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-74) Write snapshots and backups in a way that requires less memory
Date Wed, 22 Jan 2014 03:40:24 GMT
Bill Farner created AURORA-74:
---------------------------------

             Summary: Write snapshots and backups in a way that requires less memory
                 Key: AURORA-74
                 URL: https://issues.apache.org/jira/browse/AURORA-74
             Project: Aurora
          Issue Type: Story
          Components: Scheduler
            Reporter: Bill Farner
            Priority: Minor


Snapshots and backups currently involve passing around instances of the {{Snapshot}} struct.
 These are fully-hydrated copies of the entire storage.  As a result, a scheduler process
needs a constant multiplier of heap space headroom in order to perform these operations without
encountering {{OutOfMemoryError}}s.  Fixing this will require the ability to 'stream' fixed-size
parts of storage from {{MemStorage}} to the backing store (currently an {{org.apache.mesos.Log}}),
or a file in the case of backups.  The reverse is also necessary — a snapshot must be read
from a sequence of {{org.apache.mesos.Log.Entry}}s and fed into the in-memory storage.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message