-
Notifications
You must be signed in to change notification settings - Fork 8
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
This commit addresses multiple problems in the broker part of AMS #9
Conversation
- we are not sending input/output as encoded string anymore, we send binary blobs - base64 has been removed - a bug has been fixed with (very) old libevent version (<= 2.0.21-stable) - offloading inputs/outputs to the thread managing RMQ is now much faster Signed-off-by: Loic Pottier <pottier1@llnl.gov>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lpottier The PR look really good. Good job. I went through and commented mainly style changes. I will go deeper tomorrow and follow the architecture and the underlying logic. The PR will benefit if you add a high level description of the process. Briefly introducing the RMQ concept to a new developer. Thanks!
…rt pointers. Signed-off-by: Loic Pottier <pottier1@llnl.gov>
Signed-off-by: Loic Pottier <pottier1@llnl.gov>
…code. Signed-off-by: Loic Pottier <pottier1@llnl.gov>
… ResourceManager::copy Signed-off-by: Loic Pottier <pottier1@llnl.gov>
5efbc01
to
d9c2bed
Compare
* This commit addresses multiple problems in the broker part of AMS - we are not sending input/output as encoded string anymore, we send binary blobs - base64 has been removed - a bug has been fixed with (very) old libevent version (<= 2.0.21-stable) - offloading inputs/outputs to the thread managing RMQ is now much faster * Moved to ResourceManager, created AMSMessage structures, moved to smart pointers. * Complete re-design of the RabbitMQ backend * Removed EventBuffer, removed pthread and signals. Big cleanup of the code. * Added documentation and new AMSMsgHeader class + moved from memcpy to ResourceManager::copy
* This commit addresses multiple problems in the broker part of AMS - we are not sending input/output as encoded string anymore, we send binary blobs - base64 has been removed - a bug has been fixed with (very) old libevent version (<= 2.0.21-stable) - offloading inputs/outputs to the thread managing RMQ is now much faster * Moved to ResourceManager, created AMSMessage structures, moved to smart pointers. * Complete re-design of the RabbitMQ backend * Removed EventBuffer, removed pthread and signals. Big cleanup of the code. * Added documentation and new AMSMsgHeader class + moved from memcpy to ResourceManager::copy
* This commit addresses multiple problems in the broker part of AMS - we are not sending input/output as encoded string anymore, we send binary blobs - base64 has been removed - a bug has been fixed with (very) old libevent version (<= 2.0.21-stable) - offloading inputs/outputs to the thread managing RMQ is now much faster * Moved to ResourceManager, created AMSMessage structures, moved to smart pointers. * Complete re-design of the RabbitMQ backend * Removed EventBuffer, removed pthread and signals. Big cleanup of the code. * Added documentation and new AMSMsgHeader class + moved from memcpy to ResourceManager::copy
Pthreads
The structure of the binary messages that we send is documentation in the code.