strategy for stream chunk-splitted stuctures
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- backend
调研方向
首先阅读现有的 DecodeStream 入口点,以及关于解析任意网络流块的相关讨论。定义分割的二进制协议结构应如何进行缓冲和解码,然后记录预期的边界行为,并使用具有代表性的流案例进行验证。
由索引模型根据 Issue 内容生成。
描述
Hello,
When working on network streams, it happens that binary protocol chunks are split randomly by routers or whatever is on the path between the client or the server.
I understand that restructure decoding works via DecodeStream(buffer) and that the buffer needs to match the structure boundaries (maybe my understanding is not correct)
The closest explanation/partial solution to what I mean is described on https://stackoverflow.com/questions/52267098/whats-the-fastest-way-to-parse-node-js-buffer-stream-chunks-binary-data-into-s/52333431
Is there a plan to make DecodeStream work with streams and be aware of boundary issues ?
- 主要语言
- JavaScript
- 星标
- 146
- 派生
- 37
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
foliojs/restructure 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
foliojs/restructure#64 ·
-
难度 3/5 1-2 天 新手友好度 25/100
foliojs/restructure#58 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
foliojs/restructure#55 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
foliojs/restructure#53 · 1 条评论 · 1 个 reaction ·
-
难度 5/5 一周以上 新手友好度 20/100
foliojs/restructure#46 ·
查看 foliojs/restructure 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 84/100
parse-community/parse-server#10871 · 1 条评论 ·
维护者通常 1 天内回复
-
Jump in core size from v2.11.2可能已有人在做 @caolan-tether 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
holepunchto/hyperbee2#126 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
521xueweihan/HelloGitHub#4270 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
-
accessibility bug embed
难度 2/5 1-3 小时 新手友好度 85/100
quarto-dev/quarto-cli#15306 ·
维护者通常 1 天内回复