{"id":20605117,"url":"https://github.com/arnab-developer/redisvsdb","last_synced_at":"2025-10-12T03:31:51.910Z","repository":{"id":68915409,"uuid":"356855170","full_name":"Arnab-Developer/RedisVsDb","owner":"Arnab-Developer","description":"Comparison between Redis and SQL Server","archived":false,"fork":false,"pushed_at":"2024-01-18T03:06:50.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-06T16:54:19.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arnab-Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-04-11T11:58:29.000Z","updated_at":"2022-11-09T04:48:38.000Z","dependencies_parsed_at":"2024-11-16T09:37:06.680Z","dependency_job_id":null,"html_url":"https://github.com/Arnab-Developer/RedisVsDb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arnab-Developer/RedisVsDb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FRedisVsDb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FRedisVsDb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FRedisVsDb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FRedisVsDb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arnab-Developer","download_url":"https://codeload.github.com/Arnab-Developer/RedisVsDb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FRedisVsDb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010148,"owners_count":26084692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-11-16T09:26:35.189Z","updated_at":"2025-10-12T03:31:51.876Z","avatar_url":"https://github.com/Arnab-Developer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Redis vs SQL Server\n\nThis is a demo app to show the comparison between Redis and SQL Server\nin terms of performance. I have used \n[BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) to benchmark\nthe performance. I have used Redis and SQL Server created in Azure in the \nsame region. Created this app and executed in my local machine which connects\nboth of them.\n\n``` ini\n\nBenchmarkDotNet=v0.12.1, OS=Windows 10.0.14393.4283 (1607/AnniversaryUpdate/Redstone1)\nIntel Xeon CPU E5-2660 v3 2.60GHz, 1 CPU, 2 logical and 2 physical cores\nFrequency=14318180 Hz, Resolution=69.8413 ns, Timer=HPET\n.NET Core SDK=5.0.201\n  [Host]     : .NET Core 5.0.4 (CoreCLR 5.0.421.11614, CoreFX 5.0.421.11614), X64 RyuJIT\n  DefaultJob : .NET Core 5.0.4 (CoreCLR 5.0.421.11614, CoreFX 5.0.421.11614), X64 RyuJIT\n\n\n```\n|        Method |     Mean |    Error |   StdDev |\n|-------------- |---------:|---------:|---------:|\n|    TestDbPerf |  1.736 s | 0.0071 s | 0.0060 s |\n| TestRedisPerf | 10.724 s | 0.2113 s | 0.2595 s |\n\nAs per the benchmark SQL Server is faster but the point is, speed is not the only \nreason to use Redis cache over SQL Server database but another reason is Redis \ncache reduces good amount of load from the database.\n\nThere is a \n[StackOverflow thread](https://stackoverflow.com/questions/62881953/redis-vs-sql-server-performance) \nregarding this one.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fredisvsdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnab-developer%2Fredisvsdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Fredisvsdb/lists"}