| WEB
Programming: Gnutella
search The challenge : Gnutella is a distributed search database with internal communication protocol. There's a software product, written in PHP, implementing CnutellaÒs client and providing Web-interface to fulfill the search. ItÒs needed to modify the existing code to work with multiple Gnutella servers at once. That would increase searching performance. Enviroment :
Solution : After problem analysis and consideration the possible solutions, the decision was made not to modify or partially re-engineer the exiting code by the following reasons:
An option of full implementation of the product in Perl from scratch by our developers was proposed and accepted. Terms of realization:
Task: Implement a multithread Cnutella search client. Implement a Web interface to fulfill search and provide IPC (inter process communication) with Gnutella search client. Enviroment :
Solution: After studying the interchange protocol of Gnutella search sever and client, search client was implemented. The client receives input in form of search request and search timeout. Then it opens several parallel sessions with different Gnutella servers. When search timeout is exceeded, the client closes all sessions and prepares the responses (responses are sorted by servers, duplicate answers are deleted). A Web interface was implemented to pass the search request to client and fulfil formatted output of the responses to html form. Web interface is implemented using "template" technology, that gave the customer the ability of full change of product design without our help.
Terms of realization:
|
|||||||||||||||||||||||||||||||||||||||||||||||