Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a question regarding the possibility of streaming video using an Apache web server configured as a reverse proxy.
Suppose I have a local web server and areverse proxy that is abroad. I want users that are nearer the reverse proxy to be served by it and not my local web server. I know in general how to configure this and there is a lot of documentation. But can it be configured to support video file streaming without saving all the media content in the reverse proxy disk?
I think what you're describing as a load balancer is what I am trying to describe. Suppose the local server is, e.g. in Cyprus and all local requests should be served by this server, and the reverse proxy is in UK, which should serve all the other requests. My question is if the reverse proxy can stream video files of size, let's say >50mb. Would this work or the files should be located to the proxy server too, due to the size of the files?
Mmmhh, that's interesting - I'm not sure if the reverse proxy wants to first receive the whole file before forwarding it to its final destination, or if it forwards to the target immediately each packet that it gets from the source.
So, in the end, this means the following: I don't know.
But before that we start trying out things: if "no" caching is done by the reverse proxy in the UK, what would then be the difference compared to serving the files directly from the server in Cyprus? In the end the UK-server will always have to first get the file from Cyprus and forward it to the UK-user => this would mean that the server in Cyprus will in the end always get ALL the requests coming from planet Earth, and that ALL UK-requests will always have to be sent first to the UK-server before getting to the UK-user => this will make things a bit slower as compared to a direct UK-user=>Cyprus-server connection.
Variant 1: Cyprus => UK-server => UK-user
Variant 2: Cyprus => UK-user
If no caching is used, Variant 2 will be faster as it has less components.
What do you think?
Last edited by Pearlseattle; 06-21-2011 at 10:46 AM.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
just my 2 cents, for what it's worth, somewhere I read that apache wasn't as good a reverse proxy as squid, maybe you'll have better luck reading up on squid?
just a thought, i have used squid as a reverse proxy before with web servers, not sure how it would work with video streaming, but it wasn't that much of a hassle to configure.