# Horizontally scaling weaviate (sharding & replication)

**URL:** <https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604>\
**Category:** Support\
**Created:** [September 1, 2023, 5:40am UTC](https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604 "2023-09-01T05:40:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shkamboj](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@shkamboj](https://forum.weaviate.io/u/shkamboj)\
**Post date:** [September 1, 2023, 5:40am UTC](https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604/1 "2023-09-01T05:40:11Z")

</div>

Hi community!

We are looking to scale Weaviate horizontally. We need to know how we can specify that these number of shards needs to be used, and how to enable it. Also we need to know implementational details for replication as well.

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![bobvanluijt](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/bobvanluijt/32/23_2.png) [@bobvanluijt](https://forum.weaviate.io/u/bobvanluijt)\
**Post date:** [September 2, 2023, 5:32pm UTC](https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604/2 "2023-09-02T17:32:13Z")

</div>

Hi there!

This might be helpful.

- Concept: [Replication Architecture | Weaviate - vector database](https://weaviate.io/developers/weaviate/concepts/replication-architecture)
- configuration: [Replication | Weaviate - vector database](https://weaviate.io/developers/weaviate/configuration/replication)

---

<div class="post-metadata">

**Author:** ![Anurag\_Mudgil](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/anurag_mudgil/32/1269_2.png) [@Anurag\_Mudgil](https://forum.weaviate.io/u/Anurag_Mudgil)\
**Post date:** [April 8, 2024, 2:13pm UTC](https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604/3 "2024-04-08T14:13:08Z")

</div>

Thanks for the reply @ [bobvanluijt](https://forum.weaviate.io/u/bobvanluijt)  
Could you also provide some details on how to enable sharding, configure number of shards to be used and querying on data over shards.  
Any advice on how to best configure sharding would be appreciated!

---

<div class="post-metadata">

**Author:** ![DudaNogueira](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.weaviate.io/dudanogueira/32/7846_2.png) [@DudaNogueira](https://forum.weaviate.io/u/DudaNogueira)\
**Post date:** [April 8, 2024, 7:37pm UTC](https://forum.weaviate.io/t/horizontally-scaling-weaviate-sharding-replication/604/4 "2024-04-08T19:37:10Z")

</div>

hi @Anurag_Mudgil !  
Welcome to our community 🤗

From the query perspective, the sharding and replication should be “invisible”, meaning that Weaviate will take care of querying your objects over the multiple shards you may have configured.

In this docs:

> **[Collection schema | Weaviate - Vector Database](https://weaviate.io/developers/weaviate/config-refs/schema#shardingconfig)**
>
> Introduction

You can find relevant data on configuring your sharding and right below it the replication factor section.

Let me know if this helps 🙂
