Database / Weaviate Vector database Interview questions
What is replication in Weaviate?
Replication maintains multiple copies of a collection's data (or specific shards of it) across separate nodes in a cluster, so the loss of any single node doesn't make that data unavailable, and so read traffic can be distributed across more than one copy for better throughput.
client.collections.create( name="Products", replication_config=Configure.replication(factor=3) )
A replication_config with factor=3 means each shard of data exists on three separate nodes; if one node fails, the other two still hold a complete copy and can continue serving reads (and, depending on configuration, writes) without data loss or a full outage, which is the core high-availability guarantee replication provides for a production cluster.
More Related questions...