3. What is Grid Computing? Grid computing solution is a program which can make your work easy by utilizing the power of other computers.
4.
5. MPI(message passing interface) : MPI is another category where some network instructions are embedded into the program, it is an efficient method but requires an external file sharing server or a similar service and both the server side and client side source code requires altogether reprogramming to insert mpi specific code into it.
6. The biggest problem!!!! Most of the pvm or mpi libraries are designed to perform some specific kind of functions. Like some are designed to perform mathematical calculations, some to encode or decode videos. But very few are customizable enough to perform different kind of jobs like running a crawler for a search engine etc.
7. NeweraHPC Search Engine We are using this library primarily for running a search engine's crawler. An address is chosen which has not been indexed yet and send to the client. The client processes the web address and passes through our algorithm and returns the result to the server.
8. NeweraHPC Search Engine Another major application of this library is a new database system that we will be managing on heterogeneous systems. When the client submits the processed data it goes to a uniform buffer where the grid collects information and stores data on some portion of the grid. Thus uniformly dividing data.
18. Comm_instruction_set struct comm_instruction_set{ int function; int data_type; int argument_count; void *values; int (*func)(comm_instruction_set *); int sockfd; int status; char *result_char; pthread_t c_thread; FILE *data_file_primary; FILE *required_exec; };
19. Comm_instruction_set int function; alias for custom client function int data_type; alias for custom or pre defineddata type int argument_count; number of arguments to be passed void *values; arguments in any data type FILE *data_file_primary; any file required by the client FILE *required_exec; any executable/dynamic library for client Rest all is done by the library int (*func)(comm_instruction_set *);##done by the lib int sockfd; int status; char *result_char; pthread_t c_thread;
20. For server side example look into test.cpp in the root directory of the program.
21. For the test program We will be using arctan algorithm for calculating pi value.