Skip to content
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

Stabilize RPC server components. #5

Merged
merged 95 commits into from
Dec 23, 2022
Merged

Stabilize RPC server components. #5

merged 95 commits into from
Dec 23, 2022

Conversation

arindas
Copy link
Owner

@arindas arindas commented Dec 23, 2022

  • Migrated copy-on-write pointers to generic byte containers to avoid hidden clones.
  • Formalized the server RPC API for single node deployments
  • Designed and implemented the execution model for processing requests in our RPC server:
    • Formalized abstract generic interfaces that can be implemented for different async runtimes
    • Provided a concrete implementation for glommio runtime.
  • Added crucial documentation on the internals of laminarmq

- Made server::glommio_impl::hyper_compat::HyperExecutor spawn futures
  on task queues.
- Add utiltity constructuors for tasks and processors under
  glommio_impl.
Overhaul documentation in different modules
Added necessary pieces of RPC Server implementation
@codecov-commenter
Copy link

codecov-commenter commented Dec 23, 2022

Codecov Report

Base: 80.85% // Head: 68.89% // Decreases project coverage by -11.96% ⚠️

Coverage data is based on head (ea107ca) compared to base (ca0f228).
Patch coverage: 68.65% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #5       +/-   ##
===========================================
- Coverage   80.85%   68.89%   -11.97%     
===========================================
  Files           6       21       +15     
  Lines         700      942      +242     
===========================================
+ Hits          566      649       +83     
- Misses        134      293      +159     
Impacted Files Coverage Δ
src/lib.rs 0.00% <ø> (ø)
src/server/glommio_impl/hyper_compat.rs 0.00% <0.00%> (ø)
src/server/router.rs 0.00% <0.00%> (ø)
src/server/tokio_compat.rs 0.00% <0.00%> (ø)
src/server/worker.rs 47.36% <47.36%> (ø)
src/server/partition/single_node/commit_log.rs 58.82% <58.82%> (ø)
...erver/glommio_impl/processor/partition_consumer.rs 61.36% <61.36%> (ø)
src/common/mod.rs 61.90% <61.90%> (ø)
src/commit_log/mod.rs 75.00% <70.00%> (+2.90%) ⬆️
...c/commit_log/glommio_impl/segmented_log/segment.rs 72.72% <72.72%> (ø)
... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@arindas arindas merged commit dfc2cfa into main Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants