Page MenuHomePhabricator

[tunnelbroker] Create thread-safe wrapper over AMQP connection
ClosedPublic

Authored by bartek on Oct 3 2024, 1:35 PM.
Tags
None
Referenced Files
F3341873: D13601.id44881.diff
Thu, Nov 21, 11:44 PM
F3341504: D13601.id44891.diff
Thu, Nov 21, 11:11 PM
F3340501: D13601.id44899.diff
Thu, Nov 21, 9:54 PM
F3337864: D13601.diff
Thu, Nov 21, 5:14 PM
Unknown Object (File)
Sun, Nov 10, 1:35 PM
Unknown Object (File)
Sun, Nov 10, 12:39 PM
Unknown Object (File)
Fri, Nov 8, 10:37 PM
Unknown Object (File)
Fri, Nov 8, 1:49 PM
Subscribers

Details

Summary

Thread-safe wrapper over lapin connection, along with channel pool.
Now implemented initial connection creation, this functionality is extended in the next diffs

Depends on D13600

Test Plan

Tested together with the rest of the stack. Test plan in D13595

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek published this revision for review.Oct 4 2024, 3:44 AM
bartek added inline comments.
services/tunnelbroker/src/amqp.rs
87 ↗(On Diff #44891)

This is addressed in D13608

services/tunnelbroker/src/constants.rs
10 ↗(On Diff #44891)

RabbitMQ docs say typical application should have "a single digit" of channels

This revision is now accepted and ready to land.Oct 7 2024, 1:42 AM