{"id":20084751,"url":"https://github.com/dedpixta/project-redis","last_synced_at":"2026-04-20T19:06:49.339Z","repository":{"id":154996647,"uuid":"585044978","full_name":"DedPixta/project-redis","owner":"DedPixta","description":"Comparison of the efficiency of implementing a caching system Redis","archived":false,"fork":false,"pushed_at":"2023-03-28T16:32:37.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-25T21:03:20.761Z","etag":null,"topics":["cashing","mysql","redis"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DedPixta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-04T07:12:14.000Z","updated_at":"2023-09-13T11:51:09.000Z","dependencies_parsed_at":"2024-07-25T22:00:26.498Z","dependency_job_id":null,"html_url":"https://github.com/DedPixta/project-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DedPixta/project-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedPixta%2Fproject-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedPixta%2Fproject-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedPixta%2Fproject-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedPixta%2Fproject-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DedPixta","download_url":"https://codeload.github.com/DedPixta/project-redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DedPixta%2Fproject-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32061285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cashing","mysql","redis"],"created_at":"2024-11-13T15:53:06.508Z","updated_at":"2026-04-20T19:06:49.324Z","avatar_url":"https://github.com/DedPixta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project-redis \n\nFamiliarity with caching technology and in-memory database Redis\n\n## GOAL\nCompare the speed of getting the same data from MySQL and Redis.\n\n##  Prerequisites\n1. Create docker container with MySQL database\n```\ndocker run --name mysql -d -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root --restart unless-stopped -v mysql:/var/lib/mysql mysql:8 \n```\n* user: **root** \n* password: **root**\n2. Expand dump file to MySQL database from resources folder\n\n3. Create docker container with Redis database\n```\ndocker run -d --name redis -p 6379:6379 redis:latest \n```\n**optionally** if you have installed redis-insight _(redis client to connect to database)_ you can create instead of the previous container:\n```\ndocker run -d --name redis-stack -p 6379:6379 -p 8001:8001 redis/redis-stack:latest \n```\n## To run the project\n1. Clone the project;\n2. Run the project from Runner.class in your IDE from the main method;\n\nYou can manipulate with number of Queries in Runner.class \n```java\npublic static final int NUMBER_OF_QUERIES = 400;\n```\nto see the difference in speed of getting data from MySQL and Redis.\n\n![img.png](src/main/resources/img.png)\n\n## Technologies used\n- MySQL\n- Hibernate\n- Redis\n- Lettuce\n- P6Spy\n- Lombok\n- Logger (Logback, Slf4)\n- Docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedpixta%2Fproject-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdedpixta%2Fproject-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdedpixta%2Fproject-redis/lists"}