permalink | sidebar | keywords | summary |
---|---|---|---|
ilm/example-2-ilm-rules-and-policy-for-ec-object-size-filtering.html |
sidebar |
object size for erasure coding, example ILM rule, information lifecycle rule examples, 1 MB |
You can use the following example rules and policy as starting points to define an ILM policy that filters by object size to meet recommended EC requirements. |
You can use the following example rules and policy as starting points to define an ILM policy that filters by object size to meet recommended EC requirements.
Caution
|
The following ILM rules and policy are only examples. There are many ways to configure ILM rules. Before activating a new policy, simulate the proposed policy to confirm it will work as intended to protect content from loss. |
This example ILM rule erasure codes objects that are greater than 1 MB.
Important
|
Erasure coding is best suited for objects greater than 1 MB. Don’t use erasure coding for objects smaller than 200 KB to avoid the overhead of managing very small erasure-coded fragments. |
Rule definition | Example value |
---|---|
Rule name |
EC Only Objects > 1 MB |
Reference time |
Ingest time |
Advanced filter for Object size |
Object size greater than 1 MB |
Placements |
Create a 2+1 erasure-coded copy using three sites |
This example ILM rule creates two replicated copies and does not filter by object size. This rule is the default rule for the policy. Because the first rule filters out all objects greater than 1 MB, this rule only applies to objects that are 1 MB or smaller.
Rule definition | Example value |
---|---|
Rule name |
Two Replicated Copies |
Reference time |
Ingest time |
Advanced filter for Object size |
None |
Placements |
On Day 0 to forever, keep one replicated copy at Site 1 and one replicated copy at Site 2. |
This example ILM policy includes two ILM rules:
-
The first rule erasure codes all objects that are greater than 1 MB.
-
The second (default) ILM rule creates two replicated copies. Because objects greater than 1 MB have been filtered out by rule 1, rule 2 only applies to objects that are 1 MB or smaller.