-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Issues hit when upgrading my existing Rails app:
-
Protocol::HTTP1::BadRequest
with old VCR cassettes Unexpected Protocol::HTTP1::BadRequest exception protocol-http1#11 - Problematic Hop-by-hop Headers in VCR Consider ignoring Hop-by-hop Headers such as Transfer-Encoding vcr/vcr#850 [discussion created]
- VCR appending to existing cassettes when record none set: Async http adapter: only consider real requests to be real bblimke/webmock#931
Need examples and/or documentation for the proof of concept sample apps in this repo:
- Attempting to use
async-await
but running into trouble: async-await (wip) #3 - Attempting to use
lazy_resolve
but not sure about the semaphore(s) graphql-ruby lazy_resolve, Async::Semaphore #4 - How to enable persistent http connections to multiple hosts, if possible/automatic, do we need
internet.close
(?) - Can we use Ruby 3.0 or 3.1 when available? (IIRC Heroku doesn't support 3.0, so I'm working on 2.7 now)
- Review
rails-async-http-falcon-graphql-batch
-- isSync
the appropriate here? Do we needAsync::Barrier
? - Example to replace Typhoeus#total_time, should use
Async::Clock.measure
or something manual (?) - Example of params in a hash like https://github.com/typhoeus/typhoeus#introduction
- Docs PR re
async/http/internet/instance
Example using async/http/internet/instance async-http#72 - Docs PR re automatic gzip handling Demo using Protocol::HTTP::AcceptEncoding async-http#73 (needs help)
- How to manage preloading (I was able to use the Bundler
group :preload
, don't understandpreload.rb
) - How to configure for Heroku, see
rack-async-http-falcon-graphql-batch
and falcon hosting on heroku using falcon.rb falcon#121 (comment)
Feature requests:
- Merge
wait_all
re: Async::Task#wait_all async#89 if/when acceptable (don't need this, can use barriers) - Automatic support for gzip rack-async-http-falcon-gzip #7 -> Consider
Async::HTTP::Internet
should useProtocol::HTTP::AcceptEncoding
by default. async-http#68 - Consider adding debug logging re automatic gzip handling etc Potentially add verbose logging to
Async::HTTP::Internet
async-http#74 - Monitor Support for non-blocking fibers puma/puma#2601 re:
rack-async-http-puma-graphql
(not expected to work currently?) - Investigate
rack-async-http-falcon-graphql-dataloader
(should work in Ruby 3.1? Can we make it work now?) - Improved handling of connection pools Performance issue with version 0.3.5 of async-pool async-http#67
- Add Redis support to https://github.com/socketry/async-http-cache instead of just in-memory
For the examples/documentation issues, I'd like to work in the open and/or contribute back to the relevant projects' documentation wherever possible. I'm finding the async suite of tools to be lovely, but the documentation sparse, and I'm hoping to contribute back in an effort to increase adoption.
For the issues found while upgrading my existing Rails app, I'll need to keep that source code private, but happy to work in the open wherever possible, as illustrated by the VCR cassette issue: socketry/protocol-http1#11 since obviously most of these concerns can be generalized.
Metadata
Metadata
Assignees
Labels
No labels