Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The aim of this project is to make benchmarking on different platforms and Java Collections for reading and inserting data. Data Set: Create 1.000.000 unique

image text in transcribed

The aim of this project is to make benchmarking on different platforms and Java Collections for reading and inserting data. Data Set: Create 1.000.000 unique random character sequence (key) with 6 chars each. ie: A45TYW, Wer33Z, .... Insert those 1.000.000 key and their MD5 Hash value to the following platforms with key and value pairs. For instance if the key is "A45TYW", than its value will be "ab8390ad87f90a62f01828d0bab753d8". Task 1. Download and install MySQL and REDIS separately to your local computer write a simple program to insert those 1.000.000 key and their values to MySQL and REDIS. You may use batch inserti for mysql. Note the duration, required to insert those key \& values to MySQL and Redis separately. Use Mysql Memory table for faster operations. Task 2. Use 3 collections like HashMap, ArrayList and Vector to insert the key values. Note the duration, required to insert those key \& values to those collections separately. For ArrayList (and for Vector) you may use two instance; one for key and one for value. Task 3. Search for any key value and show the corresponding MD5 value. Note the duration required for all 5 platforms. Task 4. Remove all items from the platforms and note the duration required

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions