Community discussions

MikroTik App
 
tikromik
newbie
Topic Author
Posts: 35
Joined: Mon Jul 20, 2009 8:15 pm

PCC load balance with separate proxy - interesting situation

Mon Feb 08, 2010 4:33 pm

I have an existing PCC load balancing setup that works perfectly, but in a "modified" way.

I have 5x RB433AH routers, wireless connected to different sites.

From them I have their ether 1's connected to a ROuterOS machine with 6x LAN's. (doing PCC load balancing)
Cables run to a switch and then to the load balancing LAN interface.
From them I have their ether2's connected directly on Cisco ADSL routers. 5x Cisco routers

On the RouterOS machine that does the load balancing I have connected the same CISCO routers for load balancing.
On the RB433AH's I send the port 80 traffic to the load balancer, and the rest goes directly through the ADSL routers.
This configuration works perfectly, and speeds up the overall internet speed to the users.
Banking and HTTPS sites works perfect, due to running straight through the ADSL routers.
Fail over also work nice if one CISCO or line fails.
I want to set up a transparent Proxy server for the HTTP traffic.
I have 5 PC's available for this.
Is it a good idea to put a proxy on each ADSL router?
Or should I put a proxy infront of the Load balance routerOS

I want to be able to cache youtube content and updates from antivirus sites ect...
Dont know where to start, and what would be the best practice.
About 600GB of internet data goes through this load balance router per month.
Thank you!
 
lukkes
Member Candidate
Member Candidate
Posts: 177
Joined: Mon Jun 16, 2008 2:12 am
Location: Venezuela
Contact:

Re: PCC load balance with separate proxy - interesting situa

Wed Jun 02, 2010 4:20 pm

use just only one proxy server, more requests done, more requests saved.. more cache use.. more users happy
 
Zapnologica
Long time Member
Long time Member
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:09 pm

So does mikrotik web proxy cache any type of file or content that passes through?

Is there a way to eliminate corrupt cache. Because i have setup a proxy on my network. If i go on a website and it bombs out or loads incorectlly. Then all users on my network cant access that website as it loads the "corrupt cache"

So i still cant decide if i should use proxy on a ISP because it could give your users allot of trouble.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:18 pm

This doesn't happen. I'm not sure what causes your "corrupt pages" but it's not the proxy
 
Zapnologica
Long time Member
Long time Member
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:27 pm

Im pretty sure it is the proxy?

Last night on my pc i was trying to download a 2mb pdf file from the net. and IE froze and it was like half done.
So i rebooted and tried again. wouldnt download. So i cleared the web cache on my pc and tried again and it didnt work.
So i then deleted the proxy cache from mikrotik and it then worked?

Please prove me wrong!!!
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:30 pm

I have never ever heard about anything like that :)
 
Zapnologica
Long time Member
Long time Member
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:36 pm

Well im glad to hear that.

Cause i like proxies and what they can do. But ii used to run IPCOP and it has proxy and it cause MAJOUR problems. I couldnt use facebook, all anti virus updates never worked and every thing was out of date.

How much cache would you recomend for about 40 internet users? I will give it a try and see if i get any problems.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 3:40 pm

Read the manual: http://wiki.mikrotik.com/wiki/Manual:IP/Proxy

What you say is impossible, because proxy sees the recommended storage time for each object it caches (web server administrators set that), and old objects are not used. If something changed on that page, you will get it fresh.

More importantly, PHP files and dynamic content can't be cached, so half of the web won't be cached anyway (like Facebook!). The things that do get cached are images and static objects that don't change often.
 
Zapnologica
Long time Member
Long time Member
Posts: 594
Joined: Fri Sep 25, 2009 8:15 pm
Location: South frica

Re: PCC load balance with separate proxy - interesting situa

Thu Jul 22, 2010 6:01 pm

Oh


Well thats good. So it wont effect websites. Only like files like .pdf and .doc files.

Well im very glad to hear that. Thanks for telling me that.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26822
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: PCC load balance with separate proxy - interesting situa

Fri Jul 23, 2010 10:44 am

some pages are static (use html files), they will be cached too. many pages use dynamic content from databases, those pages will not be cached so much (only images and files).

Who is online

Users browsing this forum: Google [Bot] and 8 guests