Networking Forums

Networking Forums > Computer Networking > Linux Networking > What is best Cache for http proxy servers

Reply
Thread Tools Display Modes

What is best Cache for http proxy servers

 
 
sandeep
Guest
Posts: n/a

 
      05-26-2006, 02:27 PM
I am working on http proxy servers(in C++)which can handle 5000 client
so what is the best method to use URL based cache

 
Reply With Quote
 
 
 
 
Jacob Bunk Nielsen
Guest
Posts: n/a

 
      05-26-2006, 02:39 PM
"sandeep" <(E-Mail Removed)> writes:

> I am working on http proxy servers(in C++)which can handle 5000 client
> so what is the best method to use URL based cache


I have absolutely no idea, and actually I'm not even sure what you are
asking. Are you asking for a data structure or some sort of algorithm?

Perhaps the people behind Squid has had similar considerations. They
already have a HTTP proxy that can handle a lot of simultaneous
clients. So take a look at their source code.

<http://www.squid-cache.org/>

Also, you might have better luck getting good answers if you ask more
specific questions and reveal what thoughts you have made on the
subject prior to asking your question.

--
Jacob
 
Reply With Quote
 
sandeep
Guest
Posts: n/a

 
      05-27-2006, 12:56 PM
1,Our team is developing proxy server. I have to implement cache part
so when ever a new request com from client I have to check the request
URL is in cache of proxy and send to client, if it is not there then it
have to get data from web server and store in proxy server cache.

2,For every page there is certain life time if that life time expiries
it have to flesh out data and keep new data

So which is the best cache which take less time for searching

 
Reply With Quote
 
IcessLinux
Guest
Posts: n/a

 
      05-27-2006, 08:12 PM
I think you are pretty lost. Why not make a team effort to get the
brilliant stable a world-wide used proxy server, Squid, and compile it
on a nice linux system. It's free so your bosses wont ever have to know
that you didn't write it. Then again, you do have to write the
configuration file. Make a team effort of that to. One can write the
ACLs while the other puts it the http accel part, etc.

Try it.
<http://www.squid-cache.org/>

 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      05-27-2006, 08:21 PM
In comp.os.linux.networking sandeep <(E-Mail Removed)>:
> I am working on http proxy servers(in C++)which can handle 5000 client
> so what is the best method to use URL based cache


No need to write one, the best performing http proxy server can
be freely downloaded including the source (www.squid-cache.org)
it will easily handle 5000 clients. Just make sure to have enough
RAM and 15k SCSI disks for the cache.

BTW
Since you might be new to usenet, this is *NOT* a groups.google
forum, even if it looks like this to you, please quote context:

"Google Groups users please read - Howto reply properly"
http://groups.google.com/support/bin...y?answer=14213

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 23: improperly oriented keyboard
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any http proxy to accelerate http GET method? Trent.Zhou@gmail.com Linux Networking 7 11-23-2007 05:16 AM
IAS Radius Proxy and Cache credential hschlecht Windows Networking 1 06-03-2006 06:31 AM
Newbie Question: NNTP Proxy Or Cache? amuskratt@yahoo.com Linux Networking 1 12-20-2004 03:05 AM
Best place for a proxy/cache fred bloggs Home Networking 8 08-13-2004 03:49 PM
Best place for a proxy/cache fred bloggs Network Routers 1 08-11-2004 04:59 PM



1 2 3 4 5 6 7 8 9 10 11