Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Comments: puffin_http: use async local task #89

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
88e927e
use flume instead of crossbeam-channel
gwen-lg Oct 20, 2022
9990504
split client connection and frame send management
gwen-lg Aug 12, 2022
1af94fc
rename 'puffin server impl' into 'puffin server send'
gwen-lg Aug 12, 2022
d1f2714
add async with async-std
gwen-lg Aug 12, 2022
5d82cb1
split puffin-server thread into tasks
gwen-lg Aug 12, 2022
f0b5533
use task instead of thread for Client
gwen-lg Aug 12, 2022
99c1326
add run into Server and use thread to process it
gwen-lg Aug 12, 2022
10d8388
use async Arc and RwLock instead of sync
gwen-lg Aug 12, 2022
49d8a10
use net::SocketAddr from async-std instead of std
gwen-lg Aug 12, 2022
097f5ec
move tcp_listener creation into async task ps-connect
gwen-lg Aug 12, 2022
cf30d37
remove use of retain in PuffinServerSend::send
gwen-lg Aug 12, 2022
f8c8242
use dedicated LocalExecutor for puffin_http server
gwen-lg Aug 12, 2022
6c9e3ba
Add log for error in client loop
gwen-lg Aug 12, 2022
5e4619f
add some profile scope and function markers
gwen-lg Aug 12, 2022
a27c8a3
Clean: change unneeded Arc into simple RC
gwen-lg Nov 24, 2022
ad2e850
remove useless atomic to client variable
gwen-lg Nov 24, 2022
d8e4482
dont borrow_mut cliens during send_to_client calls
gwen-lg Dec 11, 2022
44670d4
wip: test dep only needed async crates
gwen-lg Dec 21, 2024
64b74c2
style: move meta_serialized creation juste before use
gwen-lg Dec 22, 2024
cb6d409
refactor(server_http): replace FrameView by ScopeCollection
gwen-lg Dec 22, 2024
70bce96
perf!: remove manual seq length serialization
gwen-lg Dec 22, 2024
360b6ff
perf: avoid vector cloning for scope_delta during serialization
gwen-lg Dec 22, 2024
21b34fc
wip: rework scope_collection send ony once
gwen-lg Dec 21, 2024
70956fd
wip: improve frames (de)serialization
gwen-lg Dec 22, 2024
ddb6d45
wip: use async unsend::RwLock for clients list
gwen-lg Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
220 changes: 208 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading