{"id":18760829,"url":"https://github.com/sarakhild/product-visitors","last_synced_at":"2026-05-18T02:05:44.549Z","repository":{"id":242871573,"uuid":"810783804","full_name":"SaraKhild/product-visitors","owner":"SaraKhild","description":"This project for see top 3 products that visited by customer and updated every 3 seconds ","archived":false,"fork":false,"pushed_at":"2024-07-15T10:52:28.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T00:26:06.683Z","etag":null,"topics":["cache","r2dbc-mysql","redis","redisson","spring-webflux"],"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/SaraKhild.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,"zenodo":null}},"created_at":"2024-06-05T10:52:24.000Z","updated_at":"2024-07-15T10:52:31.000Z","dependencies_parsed_at":"2025-05-20T17:38:59.142Z","dependency_job_id":"9e60ed7b-c4c3-4029-aad0-5754a5d6082d","html_url":"https://github.com/SaraKhild/product-visitors","commit_stats":null,"previous_names":["sarakhild/product-visitors"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SaraKhild/product-visitors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraKhild%2Fproduct-visitors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraKhild%2Fproduct-visitors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraKhild%2Fproduct-visitors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraKhild%2Fproduct-visitors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SaraKhild","download_url":"https://codeload.github.com/SaraKhild/product-visitors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SaraKhild%2Fproduct-visitors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cache","r2dbc-mysql","redis","redisson","spring-webflux"],"created_at":"2024-11-07T18:14:00.321Z","updated_at":"2026-05-18T02:05:44.507Z","avatar_url":"https://github.com/SaraKhild.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visit Products\n\n\u003cbr\u003e\n\n## Overview\nIn this project, we will see how to \u003cmark\u003ereturn the top 3 products visited by customers and update the list every 3 seconds.\u003c/mark\u003e To achieve this, we use \u003cstrong\u003eRScoredSortedSetReactive\u003c/strong\u003e for efficiently managing and accessing products based on their visit scores. Additionally, we utilize \u003cstrong\u003eSinks.Many\u003c/strong\u003e to enable real-time updates, ensuring that the top products are refreshed and delivered to users seamlessly.\n \n \u003cbr\u003e\n \n## Usages\n- Spring WebFlux\n- Redisson \"Redis\"\n- Spring Data R2DBC\n- Lombok\n    \n\u003cbr\u003e \n\n## Architecture of the Project\n\n ### 1-src folder\n   - Configration\n   - Controller\n   - Model\n   - Repository\n   - Service\n   \n### 2-Maven pom.xml\n\u003cbr\u003e \n    \n```\n\u003cdependencies\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003espring-boot-starter-data-r2dbc\u003c/artifactId\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eio.asyncer\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003er2dbc-mysql\u003c/artifactId\u003e\n\t\t\t\u003cscope\u003eruntime\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003espring-boot-starter-webflux\u003c/artifactId\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.redisson\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003eredisson-spring-boot-starter\u003c/artifactId\u003e\n\t\t\t\u003cversion\u003e3.16.6\u003c/version\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003ecom.mysql\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003emysql-connector-j\u003c/artifactId\u003e\n\t\t\t\u003cscope\u003eruntime\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.projectlombok\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003elombok\u003c/artifactId\u003e\n\t\t\t\u003coptional\u003etrue\u003c/optional\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003espring-boot-starter-test\u003c/artifactId\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n\t\t\u003cdependency\u003e\n\t\t\t\u003cgroupId\u003eio.projectreactor\u003c/groupId\u003e\n\t\t\t\u003cartifactId\u003ereactor-test\u003c/artifactId\u003e\n\t\t\t\u003cscope\u003etest\u003c/scope\u003e\n\t\t\u003c/dependency\u003e\n\t\u003c/dependencies\u003e\n ```\n\n\u003cbr\u003e\n\n###### Output :star_struck:\n\nhttps://github.com/SaraKhild/product-visitors/assets/67427643/8720166f-3341-455c-a8f2-a5b3f3bd325c\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarakhild%2Fproduct-visitors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarakhild%2Fproduct-visitors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarakhild%2Fproduct-visitors/lists"}