Skip to content

ntf server: concurrent APNS push via sendRequestDirect#1780

Merged
epoberezkin merged 1 commit into
masterfrom
sh/ntf-streaming
May 18, 2026
Merged

ntf server: concurrent APNS push via sendRequestDirect#1780
epoberezkin merged 1 commit into
masterfrom
sh/ntf-streaming

Conversation

@shumvgolove
Copy link
Copy Markdown
Collaborator

No description provided.

The per-(srvHost, provider) worker shards added in #1779 still funnel
all APNS sends through one HTTP2Client's reqQ, where a single process
thread calls sendRequest serially - one in-flight HTTP/2 stream at a
time, capping APNS throughput at 1/RTT.

sendRequestDirect bypasses the queue and invokes sendReq directly from
the calling worker, so concurrent workers open parallel HTTP/2 streams
on the shared APNS connection and the multiplexing happens on the wire.
@epoberezkin epoberezkin merged commit b6f5510 into master May 18, 2026
4 of 6 checks passed
@epoberezkin epoberezkin deleted the sh/ntf-streaming branch May 18, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants