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)
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
Unknown Object (File)
Thu, Oct 31, 7:29 PM
Unknown Object (File)
Thu, Oct 31, 12:43 AM
Unknown Object (File)
Wed, Oct 30, 3:57 PM
Unknown Object (File)
Tue, Oct 29, 1:27 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
Lint Not Applicable
Unit
Tests Not Applicable

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