Amazon CloudSearch | Scaling Flashcards

1
Q

Where should I run my search application to minimize communication time with my search domain?

Scaling

Amazon CloudSearch | Analytics

A

Applications hosted in the same AWS Region as your search domain will experience the fastest communication times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a search instance?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a search partition?

Scaling

Amazon CloudSearch | Analytics

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does my search domain scale to meet my application needs?

Scaling

Amazon CloudSearch | Analytics

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How much data can I upload to my search domain?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Do I need to select the number and type of search instances for my search domain?

Scaling

Amazon CloudSearch | Analytics

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What instance types does Amazon CloudSearch support?

Scaling

Amazon CloudSearch | Analytics

A

Amazon CloudSearch supports the following instance types:

Small Search Instance

Large Search Instance

Extra Large Search Instance

Double Extra Large Search Instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do I find out the number and type of search instances in my search domain?

Scaling

Amazon CloudSearch | Analytics

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How quickly does my search domain scale to accommodate changes in data and traffic?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Does Amazon CloudSearch support Multi-AZ deployments?

Scaling

Amazon CloudSearch | Analytics

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How does the new Multi-AZ feature work? Will my system experience any downtime in the event of a failure?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can a search domain be deployed in more than 2 Availability Zones?

Scaling

Amazon CloudSearch | Analytics

A

No. The maximum number of Availability Zones a domain can be deployed in is two.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Can I modify the Multi-AZ configuration on my search domain?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Can I choose which Availability Zones my search domain is deployed in?

Scaling

Amazon CloudSearch | Analytics

A

No. At this time Amazon CloudSearch automatically chooses an alternate Availability Zone in the same Region.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can I choose the instance type my domain uses?

Scaling

Amazon CloudSearch | Analytics

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the fastest way to get my data into CloudSearch?

Scaling

Amazon CloudSearch | Analytics

A

By default, all domains start out on a small search instance. If you need to upload a large amount of data, you should prescale your domain to a larger instance type. For more information, see Bulk Uploads in the Amazon CloudSearch Developer Guide.