Auto Discovery とは□ Auto Discovery でノード情報を自動取得Cache ClusterApplicationApp ElastiCacheCluster Clientget(Key)Valuenode1 node2 node3 node4new Client()clientconﬁguration endpointでクライアントを生成node1, node2, node3ResolveconﬁgurationendpointGet cluster endpointsPollingRefresh nodesonce per minuteConsistent HashingMemcached Protocol の拡張
Auto Discovery とは（原文）Connecting to Cache Nodes1. The application resolves the conﬁguration endpoints DNS name. Because the conﬁguration endpoint maintainsCNAME entries for all of the cache nodes, the DNS name resolves to one of the nodes; the client can then connectto that node.2. The client requests the conﬁguration information for all of the other nodes. Since each node maintainsconﬁguration information for all of the nodes in the cluster, any node can pass conﬁguration information to theclient upon request.3. The client receives the current list of cache node hostnames and IP addresses. It can then connect to all of theother nodes in the cluster.Normal Cluster Operations1. The application issues a get request for a particular data item, identiﬁed by its key.2. The client uses a hashing algorithm against the key to determine which cache node contains the data item.3. The data item is requested from the appropriate node.4. The data item is returned to the application.