# MediaCache scaling and Load balancing

**URL:** <https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298>\
**Category:** Wowza Streaming Engine\
**Created:** [May 10, 2018, 8:57pm UTC](https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298 "2018-05-10T20:57:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_Handley](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Matt\_Handley](https://community.wowza.com/u/Matt_Handley)\
**Post date:** [May 10, 2018, 8:57pm UTC](https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298/1 "2018-05-10T20:57:45Z")

</div>

Example setup: With 2 Edge servers that have unique MediaCache paths

Would requests for the same media file from multiple clients get cached on both Edge servers when using Wowza load balancing?

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [May 11, 2018, 2:57am UTC](https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298/2 "2018-05-11T02:57:24Z")

</div>

Hello,

Possibly. Theres not an automatic way of syncing the Media Cache stores between edge servers so each edge server would cache the content when requests are received. If both edge servers have received requests for the same media file recently then it would likely be already cached.

Hopefully that helps answer your questions.

Best regards,  
Andrew

---

<div class="post-metadata">

**Author:** ![Matt\_Handley](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Matt\_Handley](https://community.wowza.com/u/Matt_Handley)\
**Post date:** [May 11, 2018, 2:57pm UTC](https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298/3 "2018-05-11T14:57:43Z")

</div>

So even if there were 100 edge servers, each server would have to have enough drive space allocated for enough cache to support all the media files that could be requested simultaneously (or in short order)?

---

<div class="post-metadata">

**Author:** ![Matt\_Handley](https://avatars.discourse-cdn.com/v4/letter/m/a5b964/32.png) [@Matt\_Handley](https://community.wowza.com/u/Matt_Handley)\
**Post date:** [May 11, 2018, 3:00pm UTC](https://community.wowza.com/t/mediacache-scaling-and-load-balancing/51298/4 "2018-05-11T15:00:31Z")

</div>

Or from another angle…

The load balancer doesn’t track requests for the same media then route requests to the same Edge server?
