Vaccine Monitor app implemented in C with system Programming techniques.Projects implemented as part of the course Syspro K24
Vaccine Monitor app created using data structures in C, like bloom filter, linear probing hashtable, linked lists,skip lists etc.
bash testFile.sh info/virusesFile.txt info/countriesFile.txt input_dir x y
where ,x=0|1 ,0 doesn't allow duplicates while 1 does. y is the numer of records you wish to create eg.:1000
make all DUP_FLG=x RECORDS=y
where ,x and y are used as described above
make
make clean
valgrind --leak-check=full ./vaccineMonitor -c input_dir/inputFile.txt -b bloomsize
Based on the 1st project we go one step further and we implement the app using signal handlers and named pipes
bash ./create_infiles.sh input_dir/inputFile.txt input_dir2 numfiles
where numfiles equals to the number of files per country dir
make script NUM_FILES_PER_DIR=x
where numfiles equals to the number of files per country dir
make
make clean
valgrind --leak-check=full --show-leak-kinds=all --trace-children=yes -s ./travelMonitor -m 3 -b 100 -s 1000 -i input_dir
Last version of the Vaccine Monitor app.Based on the structure of the 1st project, the app is now implemented based on the concept of "one client - multiple servers " using sockets and threads
bash ./create_infiles.sh input_dir/inputFile.txt input_dir2 numfiles
where numfiles equals to the number of files per country dir
make script NUM_FILES_PER_DIR=x
where numfiles equals to the number of files per country dir
make
make clean
valgrind --leak-check=full --show-leak-kinds=all --trace-children=yes ./travelMonitorClient -m 3 -b 100 -c 2 -s 1000 -i input_dir -t 3 < instructions.txt