Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm a bit unclear how the the RAM is used in this particular instance, so I'm wondering if when a user watches a video on my server, does it go from the filesystem, "out through the pipes" and onto my users screen, or does it go: filesystem>RAM>"pipes">User? If the video is loaded completely into RAM it will probably crash the server so knowing how this works is important to me.

I don't think it will go into the RAM though but I have to be absolutely sure because it's vital the videos can be watched by a number of people.

-- Forgot to detail what I'm using: my host is http://www.webfaction.com/ using nginx http server.

share|improve this question
    
I think we need more information here. What program are you using to share it with the internet at large? Apache? –  trent Feb 8 '13 at 14:09
    
@trent ups, forgot, I've added the information to the post. –  Gautama Dude Feb 8 '13 at 14:18
    
Server Fault is for Professional System Administrator (et al) only. Your question reflects a substantial lack of knowledge regarding the workings of computers; you don't have the baseline knowledge to understand a reasonably complete answer. The short answer is: No –  Chris S Feb 8 '13 at 14:19
    
@ChrisS are you referring to "what the RAM is used for"? I meant to say "I don't know how the RAM is used in this particular instance", and I suspect it's not used allot here but need to be absolutely sure, I do know that data is fed into the RAM so it can be accessed faster when needed since virtual memory is faster then reading from a hard drive for example. –  Gautama Dude Feb 8 '13 at 14:26
    
Yeah, you're still getting it wrong. Virtual memory is read from the hard drive (not from RAM), to that point. –  HopelessN00b Feb 8 '13 at 14:36
show 6 more comments

closed as off topic by Hubert Kario, Jacob, Chris S Feb 8 '13 at 14:17

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

up vote 2 down vote accepted

Most sane programs will read only parts of the file into the RAM and then stream it to users, discard it and read the next part.

There might programs which don't do and read the whole file that but I guess they aren't very popular...

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.