{"id":18726630,"url":"https://github.com/neeky/seqence-server","last_synced_at":"2025-11-11T21:30:15.906Z","repository":{"id":57465707,"uuid":"450377399","full_name":"Neeky/seqence-server","owner":"Neeky","description":"protobuf-es 使用样板代码","archived":false,"fork":false,"pushed_at":"2022-01-21T09:15:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T00:21:15.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Neeky.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}},"created_at":"2022-01-21T06:21:32.000Z","updated_at":"2022-01-21T09:14:49.000Z","dependencies_parsed_at":"2022-09-17T18:01:05.217Z","dependency_job_id":null,"html_url":"https://github.com/Neeky/seqence-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neeky%2Fseqence-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neeky%2Fseqence-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neeky%2Fseqence-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neeky%2Fseqence-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neeky","download_url":"https://codeload.github.com/Neeky/seqence-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239592971,"owners_count":19664855,"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":[],"created_at":"2024-11-07T14:14:58.960Z","updated_at":"2025-11-11T21:30:15.863Z","avatar_url":"https://github.com/Neeky.png","language":"Python","readme":"## 背景\n\n就 protobuf 而言是一个语言无关的负载描述语言，由于其是面向二进制的所以相比 json 这样的自描述的格式来讲在性能上要好一些。 现在要解决的问题是在底层通信协议是 tcp、 websocket 的时候代码要怎么写的问题。\n\n\n需求：实现一个序列号发生器\n\n---\n\n## 服务端\n```bash\nsequence-server run \n\n2022-01-20 23:51:47,683 - root - MainThread - INFO - 50 - sequence-server start listen on 127.0.0.1:10352 .\n2022-01-20 23:51:47,690 - root - MainThread - INFO - 55 - seqense-server started .\n2022-01-20 23:52:14,834 - root - ThreadPoolExecutor-0_0 - INFO - 34 - revice request from ipv4:127.0.0.1:56801 offset = 0 .\n2022-01-20 23:52:14,834 - root - ThreadPoolExecutor-0_0 - INFO - 35 - current = 0 .\n```\n\n---\n\n## 客户端\n```bash\nsequence-client\n1\n\nsequence-client\n2\n```\n\n---\n\n## 编译安装\n```bash\npython3 setup.py sdist\n\npip3 install dist/seqence-server-demo-0.0.1.tar.gz\n```\n\n---","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeky%2Fseqence-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneeky%2Fseqence-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeky%2Fseqence-server/lists"}