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

Added tower-http layers to improve client-side experience #13

Conversation

ezrasingh
Copy link
Owner

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

Key Changes

  • Response Compression: Added support for compressing server responses using towerhttp's compression-full feature.
  • Request Decompression: Implemented decompression of incoming requests with towerhttp's decompression-full feature.
  • Timeout Management: Configured request and response timeouts using towerhttp's timeout feature to handle long-running operations.
  • Tracing: Integrated tracing capabilities with towerhttp's trace feature to monitor and log request and response lifecycle for better debugging and performance analysis.

Related Tickets & Documents

  • Related Issue # (provide the issue number if applicable)
  • Closes # (provide the issue number if applicable)

QA Instructions, Screenshots, Recordings

  • To test the changes, run the server and verify that:
    • Responses are compressed and decompressed as expected.
    • Requests are properly decompressed.
    • Timeouts are correctly applied and handled.
    • Tracing logs provide detailed information about request and response lifecycle.
  • Tested on [list any devices or environments if applicable].

Added/updated tests?

  • Yes
  • No, and this is why: The functionality is verified through end-to-end tests and tracing, which cover these new features comprehensively.
  • I need help with writing tests

@ezrasingh ezrasingh self-assigned this Aug 12, 2024
@ezrasingh ezrasingh added enhancement New feature or request good first issue Good for newcomers labels Aug 12, 2024
@ezrasingh ezrasingh added this to the v1.0.0 milestone Aug 12, 2024
@ezrasingh ezrasingh merged commit d47e4d5 into main Aug 12, 2024
6 checks passed
@ezrasingh ezrasingh deleted the 12-support-for-response-compression-request-decompression-and-enhanced-timeouttracing branch August 12, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support for Response Compression, Request Decompression, and Enhanced Timeout/Tracing
1 participant