# How Wowza Engine Server cache Chunks on RAM

**URL:** <https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958>\
**Category:** Wowza Streaming Engine\
**Created:** [September 15, 2014, 10:32pm UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958 "2014-09-15T22:32:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manh\_Hung\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Manh\_Hung\_Nguyen](https://community.wowza.com/u/Manh_Hung_Nguyen)\
**Post date:** [September 15, 2014, 10:32pm UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/1 "2014-09-15T22:32:39Z")

</div>

Hi everyone,

I know that with Live Stream Application, Wowza Engine server cache some chunks on RAM, with the number is “MaxChunkCount”.

How about VoD Application ?

Does it cache VoD chunks on RAM?

If Wowza Engine Server cache VoD chunks on RAM and two user request for a same VoD concurrently, does they use the same RAM location?

Thank you.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 16, 2014, 8:53am UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/2 "2014-09-16T08:53:34Z")

</div>

Hi,

Wowza only hold chunks for HTTP clients in memory for live streams.

You may have noticed in the packetization articles, there is no option to change MaxChunkCount for video on demand.

Jason

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 17, 2014, 7:15pm UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/3 "2014-09-17T19:15:13Z")

</div>

Hi,

> Does it mean everytime user request for a VoD content, the Wowza Engine Server access to storage to get the content?

Yes, when using a standard VOD application it will read the file from the content directory for each client as required.

> Because my Wowza Server cache VoD on SAN. I use iSCSI to connect my Wowza Engine Server to SSD Storage on SAN.
> 
> Using Caching to save Bandwidth is still efficient, isn’t it?

If caching local to the destination then yes it should be more efficient than fetching it from the source if it lives across the wire.

Jason

---

<div class="post-metadata">

**Author:** ![Manh\_Hung\_Nguyen](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Manh\_Hung\_Nguyen](https://community.wowza.com/u/Manh_Hung_Nguyen)\
**Post date:** [September 16, 2014, 11:24pm UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/4 "2014-09-16T23:24:44Z")

</div>

Hi JasonH,

Does it mean everytime user request for a VoD content, the Wowza Engine Server access to storage to get the content?

Because my Wowza Server cache VoD on SAN. I use iSCSI to connect my Wowza Engine Server to SSD Storage on SAN.

Using Caching to save Bandwidth is still efficient, isn’t it?

Thank you.

---

<div class="post-metadata">

**Author:** ![vspirit777](https://avatars.discourse-cdn.com/v4/letter/v/d9b06d/32.png) [@vspirit777](https://community.wowza.com/u/vspirit777)\
**Post date:** [September 22, 2020, 1:28am UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/5 "2020-09-22T01:28:40Z")

</div>

Hi @Jason_Hilton

> [@Jason\_Hilton](#):
>
> Wowza only hold chunks for HTTP clients in memory for live streams.

Could you tell us why Wowza don’t hold chunks in memory for vod?  
By the way, I’m using Media Cache to connect S3 source. I would like to confirm that Media Cache doesn’t cache chunks in memory, right?  
Is there any way to cache chunks in memory for vod with Wowza?

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [September 22, 2020, 8:49am UTC](https://community.wowza.com/t/how-wowza-engine-server-cache-chunks-on-ram/40958/6 "2020-09-22T08:49:18Z")

</div>

Hi,  
The Wowza Streaming Engine software creates the chunks on the fly using the on-demand content so it doesn’t need to cache the data in memory as it’s already instantly available.

The MediaCache functionality will get the data from the MediaCache Source (in this case S3) in segments which are cached on the machine where the Wowza Streaming Engine software is installed but they’re written to disk and not stored in memory.

The MediaCache functionality allows a large about of files to be available while using fast disk(s) or SSD(s) on the Wowza Streaming Engine side to deliver this content to your viewers without filling them as only the content that’s been recently viewed will be cached.

Regards,  
Jason Hilton  
Technical Support Engineer  
Wowza Media Systems
