in Education by
Which checksum algorithm can you recommend in the following use case? I want to generate checksums of small JPEG files (~8 kB each) to check if the content changed. Using the filesystem's date modified is unfortunately not an option. The checksum need not be cryptographically strong but it should robustly indicate changes of any size. The second criterion is speed since it should be possible to process at least hundreds of images per second (on a modern CPU). The calculation will be done on a server with several clients. The clients send the images over Gigabit TCP to the server. So there's no disk I/O as bottleneck. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
If you have many small files, your bottleneck is going to be file I/O and probably not a checksum algorithm. A list of hash functions (which can be thought of as a checksum) can be found here. Is there any reason you can't use the filesystem's date modified to determine if a file has changed? That would probably be faster.

Related questions

0 votes
    Which checksum algorithm can you recommend in the following use case? I want to generate checksums of small ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 21, 2022 in Education by JackTerrance
0 votes
    ____________ adds robust security practices and strategies to traditional DevOps practices. DevSecOps Rugged DevOps...
asked Oct 27, 2020 in Technology by JackTerrance
0 votes
    Between Grunt and Gulp, which is relatively fast? A. Both are of same speed B. Neither of the same C. Grunt D. Gulp...
asked Jan 31, 2023 in Technology by JackTerrance
0 votes
    Efficient Utilization and Fast Deployment represents which pattern? A. Service Instance per Container B. Multiple Services per Host pattern C. Service Instance per Host...
asked Jan 10, 2023 in Technology by JackTerrance
0 votes
    Give one example of Not Equals assignment operator.plz tell fast and correct Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    function add() and operator + gives the same result true Or f plzzzz give me answer fast……. dud Select the correct answer from above options...
asked Dec 31, 2021 in Education by JackTerrance
0 votes
    Which port provides high speed video performance typically required in games and other multimedia?? Pelaseeeeee answer fast. Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    Which port provides high speed video performance typically required in games and other multimedia?? Pelaseeeeee answer fast. Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
0 votes
    Difference between Floor division and Division operator? please tell fast and correct Select the correct answer from above options...
asked Dec 24, 2021 in Education by JackTerrance
0 votes
    difference between Next( )and NextInt( ) fast plz… 2 points. only. Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    ___ and ___ functions used to find the minimum and maximum value in a range. 1. Min , Max 2. Fast , Slow 3. ... , Filter 4. Less , More Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    Which of the following service is used for fast and reliable application updates and bug fixes? Select ... AWS Interview Questions and Answers Agile Interview Questions Answers...
asked Jul 21, 2021 in Technology by Editorial Staff
0 votes
    A watch which gains uniformly is 2 minutes low at noon on Monday and is 4 min. 48 sec fast at 2 p.m. on the following Monday ... Wednesday C) 3 p.m. on Thursday D) 1 p.m. on Friday...
asked Feb 13, 2021 in Education by JackTerrance
0 votes
    Between Grunt and Gulp, which is relatively fast? a) Both are of same speed b) Neither of the ... Answers 🔗Source: Continuous Integration Interview Questions and Answers...
asked Dec 20, 2020 in Technology by Editorial Staff
...