Page MenuHomePhabricator

[tunnelbroker] Create thread-safe wrapper over AMQP connection
Needs ReviewPublic

Authored by bartek on Thu, Oct 3, 1:35 PM.
Tags
None
Referenced Files
F2890828: D13601.vs44891.id44899.diff
Fri, Oct 4, 8:36 AM
F2890770: D13601/new/.diff
Fri, Oct 4, 8:34 AM
F2888822: D13601.id44891.diff
Fri, Oct 4, 5:47 AM
F2888821: D13601.id44881.diff
Fri, Oct 4, 5:47 AM
F2888789: D13601.id.diff
Fri, Oct 4, 5:46 AM
F2888766: D13601.diff
Fri, Oct 4, 5:46 AM
F2887944: D13601.diff
Fri, Oct 4, 3:44 AM
Unknown Object (File)
Thu, Oct 3, 5:26 PM
Subscribers

Details

Reviewers
kamil
varun
will
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.Fri, Oct 4, 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