What is best searching algorithm for URL
- From: "sandeep" <sandeep.k@xxxxxxxxx>
- Date: 5 Jun 2006 03:07:01 -0700
Our team is developing proxy server(in VC++)which can handle 5000
clients. I have to implement cache part so when ever a new request com
from client I have to check the request URL content is in cache of
proxy and send to client if it is cache, if it is not there then it
have to get data from web server and store in proxy server cache.
so i am thinking to use binary tree search(or AVL tree) to search
request URL content in cache if it is not there to insert in it
is it a good idea so that insertion and searching is faster
I also used hash table and key I has chosen according to first
character in URL
So now in that bucket it contain double linked list now I have search
in it, for that I am thinking to use binary tree
.
- Follow-Ups:
- Re: What is best searching algorithm for URL
- From: CTips
- Re: What is best searching algorithm for URL
- From: ArkGunSlinger
- Re: What is best searching algorithm for URL
- From: Joe Seigh
- Re: What is best searching algorithm for URL
- From: Burton Samograd
- Re: What is best searching algorithm for URL
- From: CBFalconer
- Re: What is best searching algorithm for URL
- From: Joe Seigh
- Re: What is best searching algorithm for URL
- From: Phlip
- Re: What is best searching algorithm for URL
- Prev by Date: linux to windows porting help
- Next by Date: Re: What is best searching algorithm for URL
- Previous by thread: linux to windows porting help
- Next by thread: Re: What is best searching algorithm for URL
- Index(es):
Relevant Pages
|