{"id":17660951,"url":"https://github.com/soulteary/nginx-qrcode-server","last_synced_at":"2025-05-07T18:09:07.518Z","repository":{"id":148701622,"uuid":"327246217","full_name":"soulteary/nginx-qrcode-server","owner":"soulteary","description":"High Performance QR Code Server with Nginx, Close to the size of the official Nginx Docker Image (~ 55MB).","archived":false,"fork":false,"pushed_at":"2023-05-07T04:05:25.000Z","size":67,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-07T18:02:11.524Z","etag":null,"topics":["docker","docker-nginx","nginx","nginx-module","nginx-server","qrcode","qrcode-encoder","qrcode-generator","serverless"],"latest_commit_sha":null,"homepage":"https://www.zhihu.com/question/21483073/answer/2647942304","language":"Dockerfile","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/soulteary.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-01-06T08:21:47.000Z","updated_at":"2024-12-15T10:07:37.000Z","dependencies_parsed_at":"2023-05-28T17:00:25.902Z","dependency_job_id":null,"html_url":"https://github.com/soulteary/nginx-qrcode-server","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fnginx-qrcode-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fnginx-qrcode-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fnginx-qrcode-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulteary%2Fnginx-qrcode-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soulteary","download_url":"https://codeload.github.com/soulteary/nginx-qrcode-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931503,"owners_count":21827111,"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","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":["docker","docker-nginx","nginx","nginx-module","nginx-server","qrcode","qrcode-encoder","qrcode-generator","serverless"],"created_at":"2024-10-23T17:09:48.381Z","updated_at":"2025-05-07T18:09:07.101Z","avatar_url":"https://github.com/soulteary.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# High Performance Nginx Qrcode Server\n\nHigh Performance QR Code Server with Nginx, Close to the size of the official Nginx Docker Image (~ 55MB).\n\n![](./assets/dockerhub.png)\n\n## Quick Start\n\n```bash\ndocker run --rm -it -p 8080:80 soulteary/nginx-qrcode-server\n```\n\nopen browser, visit `localhost:8080`\n\n## Docker Images\n\nDocker images that can be used:\n\n- soulteary/nginx-qrcode-server\n- soulteary/nginx-qrcode-server:memcached\n- soulteary/nginx-qrcode-server:2022.08.22\n- soulteary/nginx-qrcode-server:2022.08.22-memcached\n\n## Docker Compose\n\nIf you have `compose` locally, you can also use the `docker compose` or `docker-compose` command to quickly start the service:\n\n\nSimplify startup commands with compose:\n\n```bash\ndocker compose up -d\n```\n\nStart the service with memcached for higher performance:\n\n```bash\ndocker compose -f docker-compose.memcached.yml up -d\n```\n\n## Benchmark\n\nTested with a AMD Zen2 laptop (R7-4750u)\n\n## Standalone\n\nsingle core: (limit nginx with `worker_processes 1`)\n\n```bash\nRunning 30s test @ http://10.11.12.240:8080\n  16 threads and 100 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency   196.91ms   28.21ms 288.56ms   78.55%\n    Req/Sec    30.43     12.31    60.00     74.05%\n  14589 requests in 30.10s, 10.11MB read\nRequests/sec:    484.61\nTransfer/sec:    344.05KB\n```\n\n8 cores 16 threads: (limit nginx with `worker_processes auto`)\n\n```bash\nRunning 30s test @ http://10.11.12.240:8080\n  16 threads and 100 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    32.29ms   22.70ms 156.43ms   83.76%\n    Req/Sec   204.13     74.04   390.00     64.94%\n  97811 requests in 30.10s, 67.81MB read\nRequests/sec:   3249.91\nTransfer/sec:      2.25MB\n```\n\n## With Memcached\n\n8 cores 16 threads: (limit nginx with `worker_processes auto`)\n\n```\nRunning 30s test @ http://10.11.12.240:8080\n  16 threads and 100 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency     3.78ms   20.19ms 324.35ms   98.46%\n    Req/Sec     4.02k   529.70     7.22k    82.11%\n  1903410 requests in 30.10s, 1.29GB read\nRequests/sec:  63237.09\nTransfer/sec:     43.84MB\n```\n\n## Resources\n\n- ngx_http_qrcode_module\n  - [Docker Pre-built \u0026 Nginx 1.23+](https://github.com/soulteary/ngx_http_qrcode_module)\n- libqrencode\n  - [A fast and compact QR Code encoding library](https://github.com/fukuchi/libqrencode)\n- nginx-docker-playground\n  - [Docker Nginx Dev Env](https://github.com/nginx-with-docker/nginx-docker-playground)\n- openresty/srcache-nginx-module\n  - [Docker Pre-built \u0026 Nginx 1.23+](https://github.com/nginx-with-docker/ngx_http_srcache_filter_module)\n- openresty/memc-nginx-module\n  - [Docker Pre-built \u0026 Nginx 1.23+](https://github.com/nginx-with-docker/ngx_http_memc_module)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulteary%2Fnginx-qrcode-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoulteary%2Fnginx-qrcode-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulteary%2Fnginx-qrcode-server/lists"}