DEV Community

Cover image for Amazon EFS Performance!

Posted on

Amazon EFS Performance!

We have seen key features of Amazon EFS now let's dive deep into EFS performance:
-Storage class: Amazon EFS uses two types of storage classes:

  1. EFS Standard and
  2. EFS One Zone.

--EFS Standard and EFS Standard Infrequent Access(IA) storage classes are regional storage classes that are designed to provide continuous availability to data even when one or more availability zones in the AWS region are unavailable they offer the highest level of availability and durability by storing the file system data and the metadata redundantly across multiple geographical separated availability zones within a region.

--EFS One Zone and EFS One Zone IA storage classes are designed to provide continuous availability to data within a single availability zone. The EFS one zone storage classes store file system data and metadata redundantly within a single availability zone in an AWS region. Because they store data in a single availability zone although it might be a cheaper option data that is stored in these storage classes must be lost in an event of disaster or other fault that affects all copies of the data within the availability zone or in the event of availability zone destruction.

-Performance mode: There are two types of performance mode that is

  1. General Purpose Mode and
  2. Max I/O Mode.

--General Purpose Mode supports up to 35,000 IOPS (input/output operations per second) and has the lowest per operation latency. File systems with EFS one zone storage classes always use general purpose performance mode for the systems with EFS standard storage classes you can use either the default general purpose performance mode or the max I/O performance mode.

--Max I/O Mode supports .5M(500,000) IOPS and has higher power operation latencies when compared to the general purpose mode.
You can set the performance mode when you create a file system and you can't change it after it is created. It is recommended to use general purpose performance mode for vast majority of applications
if you are not sure which performance mode to choose. Choose the general purpose performance mode to help ensure that your workload stays within the app's limit available to the file systems using the general purpose mode.

-Throughput Mode: A file system throughput mode determines the throughput available to your file system. amazon efs offers two throughput modes

  1. Bursting throughput and
  2. Provision throughput.

--Bursting Throughput Mode is the default Amazon EFS throughput mode. It is a good fit for traditional applications that have a burst throughput pattern when throughput is low bursting throughput mode uses burst buckets to save burst credits. When throughput is higher it uses burst credits.

--Provision Throughput Mode is recommended for applications that have a relatively constant throughput. You specify a level of
throughput that the file system can drive independent of the file system size or the burst credit balance.

Top comments (0)