1、OPENSEARCH CLUSTER TOPOLOGIES FOR COST-SAVING AUTOSCALINGAmitai SternINDEXING OBJECTSIce-core samplesINDEXING OBJECTSCultural and historical objectsINDEXING OBJECTSCultural and historical objectsINDEXING OBJECTSCultural and historical objectsAMITAI STERNOpenSearch Technical Steering Committee Team L
2、ead Logz.ioOpenSearch is an open-source,enterprise-grade search and observability suite that brings order to unstructured data at scaleSSPL,ELv2ALv2,ELv2SSPL,ELv2,AGPLALv2Monolithic ApplicationOPENSEARCH CLUSTER ARCHITECTUREMonolithic ApplicationOPENSEARCH CLUSTER ARCHITECTUREOPENSEARCH CLUSTER ARCH
3、ITECTUREMonolithic ApplicationMonolithic ApplicationCluster Manager NodesOPENSEARCH CLUSTER ARCHITECTUREMonolithic ApplicationCoordinating NodesOPENSEARCH CLUSTER ARCHITECTUREMonolithic ApplicationData NodesOPENSEARCH CLUSTER ARCHITECTUREMonolithic ApplicationData NodesOPENSEARCH CLUSTER ARCHITECTUR
4、EINDEXMonolithic ApplicationData NodesOPENSEARCH CLUSTER ARCHITECTURESHARD 0INDEXSHARD 1SHARD 2SHARD NMonolithic ApplicationData NodesOPENSEARCH CLUSTER ARCHITECTURE$READWRITEWHY AUTO-SCALE?LoadTimeOver provisionedUnder provisionedWHY AUTO-SCALE?Load that can be handled by current scaleLoadOver prov
5、isionedUnder provisionedLoad that can be handled by current scaleWHY AUTO-SCALE?LoadOver provisionedUnder provisionedLoad that can be handled by current scaleWHY AUTO-SCALE?TimeSCALING OPENSEARCHLOADSCALING OPENSEARCHREADSCALING OPENSEARCHWRITEVERTICAL SCALINGHORIZONTAL SCALINGEssential skill for ma
6、naging OpenSearch clustersShard 0Shard 1Shard 2Shard 3HORIZONTAL SCALINGhash(a$i_sdns8)=13451345 Mod 4=1PUT_id:a$i_sds8HORIZONTAL SCALING_id:a$i_sds8Shard 0Shard 1Shard 2Shard 3Shard 4GET_id:a$i_s3s8HORIZONTAL SCALINGGET?Shard 0Shard 1Shard 2Shard 3Shard 4_id:a$i_s3s8hash(a$i_sdns8)=13451345 Mod 5=0