Amazon CloudSearch | Scaling Flashcards
Where should I run my search application to minimize communication time with my search domain?
Scaling
Amazon CloudSearch | Analytics
Applications hosted in the same AWS Region as your search domain will experience the fastest communication times.
What is a search instance?
Scaling
Amazon CloudSearch | Analytics
A search instance is a single search engine in the cloud that indexes documents and responds to search requests. It has a finite amount of RAM and CPU resources for indexing data and processing requests.
What is a search partition?
Scaling
Amazon CloudSearch | Analytics
A search partition is the portion of your data which fits on a single search instance. A search domain can have one or more search partitions, and the number of search partitions can change as your documents are indexed.
How does my search domain scale to meet my application needs?
Scaling
Amazon CloudSearch | Analytics
Search domains scale in two dimensions: data and traffic. As your data volume grows, you need more (or larger) Search instances to contain your indexed data, and your index is partitioned among the search instances. As your request volume or request complexity increases, each Search Partition must be replicated to provide additional CPU for that Search Partition. For example, if your data requires three search partitions, you will have 3 search instances in your search domain. As your traffic increases beyond the capacity of a single search instance, each partition is replicated to provide additional CPU capacity, adding an additional three search instances to your search domain. Further increases in traffic will result in additional replicas, to a maximum of 5, for each search partition.
How much data can I upload to my search domain?
Scaling
Amazon CloudSearch | Analytics
The number of partitions you need depends on your data and configuration, so the maximum data you can upload is the data set that when your search configuration is applied results in 10 search partitions. When you exceed your search partition limit, your domain will stop accepting uploads until you delete documents and re-index your domain. If you need more than 10 search partitions, please contact us.
Do I need to select the number and type of search instances for my search domain?
Scaling
Amazon CloudSearch | Analytics
CloudSearch is a fully managed search service that automatically scales your search domain and selects the number and type of search instances. All search instances in a given search domain are of the same type and this type can change over time as your data or traffic grows.
You can also configure scaling options for an Amazon CloudSearch domain to:
Increase the upload capacity
Speed up search requests
Increase the search capacity
Improve fault tolerance
What instance types does Amazon CloudSearch support?
Scaling
Amazon CloudSearch | Analytics
Amazon CloudSearch supports the following instance types:
Small Search Instance
Large Search Instance
Extra Large Search Instance
Double Extra Large Search Instance
How do I find out the number and type of search instances in my search domain?
Scaling
Amazon CloudSearch | Analytics
You can find out the number and type of search instances in your search domain by using the AWS Management Console, AWS SDKs, or AWS CLI. The number and type of search instances change over time and automatically scale up and down according to your indexable data and search traffic.
How quickly does my search domain scale to accommodate changes in data and traffic?
Scaling
Amazon CloudSearch | Analytics
Search domains typically react to increases in traffic changes within minutes. Changes in data volume or a reduction in traffic might take longer but you can accelerate this process by invoking an IndexDocuments operation. If you are about to upload a large amount of data or expect a surge in query traffic, you can prescale your domain by setting the desired instance type and replication count. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
Does Amazon CloudSearch support Multi-AZ deployments?
Scaling
Amazon CloudSearch | Analytics
Yes. Amazon CloudSearch supports Multi-AZ deployments. When you enable the Multi-AZ option, Amazon CloudSearch provisions and maintains extra instances for your search domain in a second Availability Zone to ensure high availability. Updates are automatically applied to the instances in both Availability Zones. Search traffic is distributed across all of the instances and the instances in either zone are capable of handling the full load in the event of a failure.
How does the new Multi-AZ feature work? Will my system experience any downtime in the event of a failure?
Scaling
Amazon CloudSearch | Analytics
When the Multi-AZ option is enabled, Amazon CloudSearch instances in either zone are capable of handling the full load in the event of a failure. If there’s service disruption or the instances in one zone become degraded, Amazon CloudSearch routes all traffic to the other Availability Zone. Redundant instances are restored in a separate Availability Zone without any administrative intervention or disruption in service.
Some inflight queries might fail and will need to be retried. Updates sent to the search domain are stored durably and will not be lost in the event of a failure.
Can a search domain be deployed in more than 2 Availability Zones?
Scaling
Amazon CloudSearch | Analytics
No. The maximum number of Availability Zones a domain can be deployed in is two.
Can I modify the Multi-AZ configuration on my search domain?
Scaling
Amazon CloudSearch | Analytics
Yes. You can turn the Multi-AZ configuration on and off for your search domains. The service is not interrupted when this setting is changed.
Can I choose which Availability Zones my search domain is deployed in?
Scaling
Amazon CloudSearch | Analytics
No. At this time Amazon CloudSearch automatically chooses an alternate Availability Zone in the same Region.
Can I choose the instance type my domain uses?
Scaling
Amazon CloudSearch | Analytics
Yes. With the latest release, Amazon CloudSearch enables you to specify the desired instance type for your domain. If necessary, Amazon CloudSearch will scale your domain up to a larger instance type, but will never scale back to a smaller instance type.