{"id":27381443,"url":"https://github.com/vshuraeff/pydivider","last_synced_at":"2025-04-13T14:56:46.519Z","repository":{"id":255046389,"uuid":"142079592","full_name":"vshuraeff/pydivider","owner":"vshuraeff","description":"Simple, threadless, lockless and asynchronous HTTP interface which reply with result of division of A by B","archived":false,"fork":false,"pushed_at":"2018-07-24T22:50:52.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T14:56:46.171Z","etag":null,"topics":["japronto","uvloop"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/vshuraeff.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":"2018-07-23T23:24:29.000Z","updated_at":"2018-07-24T22:51:20.000Z","dependencies_parsed_at":"2024-08-27T18:33:42.631Z","dependency_job_id":null,"html_url":"https://github.com/vshuraeff/pydivider","commit_stats":null,"previous_names":["vshuraeff/pydivider"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshuraeff%2Fpydivider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshuraeff%2Fpydivider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshuraeff%2Fpydivider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vshuraeff%2Fpydivider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vshuraeff","download_url":"https://codeload.github.com/vshuraeff/pydivider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248732485,"owners_count":21152851,"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":["japronto","uvloop"],"created_at":"2025-04-13T14:56:45.278Z","updated_at":"2025-04-13T14:56:46.510Z","avatar_url":"https://github.com/vshuraeff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pydivider\n\nDoing same as [godivider](https://github.com/webislife/godivider)\n\nUses `japronto` and `uvloop`\n\n- threadless\n- lockless\n- asynchronous\n\n### install environment and requirements:\n`virtualenv --python=python3.6 --download env \u0026\u0026 source env/bin/activate \u0026\u0026 pip install -r requirements.txt`\n\n### Run:\n`source env/bin/activate \u0026\u0026 python pydivider.py` \n\n### Output:\n```\nAccepting connections on http://0.0.0.0:9099\n```\n__(Press CTRL+C to quit)__\n\n### Test it:\n`watch -n .1 'curl -s http://localhost:9099/?a=$RANDOM\\\u0026b=$RANDOM'`\n\n### Benchmark\n`wrk -t24 -c500 -d30s http://127.0.0.1:9099/?a=$RANDOM\\\u0026b=$RANDOM`\n```\nRunning 30s test @ http://127.0.0.1:9099/?a=15296\u0026b=29370\n  24 threads and 500 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    15.51ms    5.76ms  38.48ms   59.97%\n    Req/Sec     1.22k   263.99     8.37k    91.09%\n  875014 requests in 30.08s, 81.78MB read\n  Socket errors: connect 0, read 533, write 0, timeout 0\nRequests/sec:  29088.45\nTransfer/sec:      2.72MB\n```\n\n### Deactivate env:\n`deactivate`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshuraeff%2Fpydivider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvshuraeff%2Fpydivider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvshuraeff%2Fpydivider/lists"}