Home > Storage > ObjectScale and ECS > Product Documentation > ECS General Best Practices > ECS extensions
ECS APIs have support for additional extensions that are not available in the standard S3 APIs. These features extend ECS capabilities and provide an advantage over other solutions.
ECS provides a facility for metadata search of objects to improve performance of queries. ECS maintains an index of the objects in a bucket, based on their associated metadata. This index allows S3 object clients to search for objects within buckets based on the indexed metadata using a rich query language. Search indexes can be up to 30 system and user metadata fields per bucket. The indexes are configured at the time of bucket creation through the ECS portal, ECS Management REST API, or S3 REST API. Considerations for developing applications using the metadata search capability include:
Unlike AWS S3 in which objects are immutable, ECS REST APIs provide byte range extensions to update and read parts of an object. Features that ECS provides as part of this extension include:
Retention means you cannot update or delete the object until the retention period ends. You can assign retention in three ways:
When retention is defined in multiple places, the longest time wins. Also, if object-level retention period is assigned at the application level, do not use ECS to assign a retention period greater than the application retention period. This might lead to application errors.
For short-term and long-term data retention, it is better to put them in separate replication groups. The efficiency of garbage collection (space reclamation) is affected if the short-term and long-term data is stored in a chunk within one replication group.
Retention best practices |
|
As an extension to general retention, ECS supports write-once, read-many (WORM) for data ingested by the NFS protocol. When buckets are file-enabled, ECS can accommodate WORM access behavior by providing an auto-commit function on data written to the bucket. It is a bucket-level setting and is only available from the ECS bucket controls. The setting allows the administrator to define a time-interval delay period after which files are converted to read-only.
NFS WORM best practices |
|