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)
Wed, Dec 18, 11:25 AM
Unknown Object (File)
Wed, Dec 18, 11:25 AM
Unknown Object (File)
Wed, Dec 18, 11:25 AM
Unknown Object (File)
Wed, Dec 18, 11:24 AM
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
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