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
Unknown Object (File)
Sat, Nov 23, 3:47 AM
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Fri, Nov 22, 4:48 PM
Unknown Object (File)
Thu, Nov 21, 11:44 PM
Unknown Object (File)
Thu, Nov 21, 11:11 PM
Unknown Object (File)
Thu, Nov 21, 9:54 PM
Unknown Object (File)
Thu, Nov 21, 5:14 PM
Unknown Object (File)
Sun, Nov 10, 1:35 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