-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor gateway proxy factories #132
refactor gateway proxy factories #132
Conversation
61ff601
to
ce7d508
Compare
packages/Ecotone/src/Messaging/Handler/Gateway/Proxy/ProxyWithDirectReference.php
Outdated
Show resolved
Hide resolved
packages/Ecotone/src/Messaging/Handler/Gateway/GatewayProxyBuilder.php
Outdated
Show resolved
Hide resolved
packages/Ecotone/tests/Messaging/Fixture/Handler/DumbGatewayBuilder.php
Outdated
Show resolved
Hide resolved
804fe16
to
aedf5e4
Compare
I think we lost some performance along the way for the scenario where Ecotone is executed. Running Ecotone on Master Branch I think what happens right now is I would love this PR to be merged as it simplifies the code and lower the barrier for understanding what actually happens. PS. Your benchmarks are doing the job ;) |
You may take a look on how |
This is actually my final goal, this PR was just for understanding the From my actual understanding,
I should have looked at it ! I missed something with this lazy boot. |
@dgafka , the performance is the same on my machine:
The problem with benchmarks on CI is that you cannot trust the hardware the benchmark is running on (it may be shared computing power, or even different cpus). Speaking of this PR, my understanding was that all gateways were currently built on boot. The final goal discussed in #133 is to lazy build everything. And this PR is just cleaning before moving on. Or maybe you prefer a single big PR ? |
Ah true, really good point :)
MessagingSystem is actually connected messaging system. That's why when you say you would love to see more optimalization in place, I am leaving the space for you to explore. |
Simplify gateways building during messaging system build phase.
This PR is linked to #133