anchor.diff:  # Automatic rewrite of the append only file.
   # Redis is able to automatically rewrite the log file implicitly calling
   # BGREWRITEAOF when the AOF log size will growth by the specified percentage.
  -# 
  +#
   # This is how it works: Redis remembers the size of the AOF file after the
   # latest rewrite (or if no rewrite happened since the restart, the size of
   # the AOF at startup is used).
  
positive.code: 
  # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
  # is reached? You can select among five behavior:
  # 
  # volatile-lru -> remove the key with an expire set using an LRU algorithm
  # allkeys-lru -> remove any key accordingly to the LRU algorithm
  # volatile-random -> remove a random key with an expire set
  # allkeys->random -> remove a random key, any key
  # volatile-ttl -> remove the key with the nearest expire time (minor TTL)
  # noeviction -> don't expire at all, just return an error on write operations
  # 
  # Note: with all the kind of policies, Redis will return an error on write
  #       operations, when there are not suitable keys for eviction.
  #
  
negative.code: #
  # The DB will be written inside this directory, with the filename specified
  # above using the 'dbfilename' configuration directive.
  #
  # Also the Append Only File will be created inside this directory.
  #
  # Note that you must specify a directory here, not a file name.
  dir <%=@datadir%>
  
  