Title: feat: Add HTTP connection pooling for remote online store client by ntkathole · Pull Request #5895 · feast-dev/feast · GitHub
Open Graph Title: feat: Add HTTP connection pooling for remote online store client by ntkathole · Pull Request #5895 · feast-dev/feast
X Title: feat: Add HTTP connection pooling for remote online store client by ntkathole · Pull Request #5895 · feast-dev/feast
Description: What this PR does / why we need it: Implement HTTP connection pooling for the remote online store client to improve latency by reusing TCP/TLS connections across requests Add configurable connection pool settings via feature_store.yaml: connection_pool_size, connection_idle_timeout, and connection_retries Add automatic idle timeout to close stale sessions and release resources Add thread-safe session management via HttpSessionManager class Misc New Features Connection Pooling: HTTP sessions are now cached and reused, eliminating TCP/TLS handshake overhead (~40-130ms) on subsequent requests Configurable Settings: Users can customize pool size, idle timeout, and retry behavior in feature_store.yaml Automatic Idle Timeout: Sessions are automatically closed after configurable idle period (default: 5 minutes) Retry with Backoff: Built-in exponential backoff retry logic for transient failures Configuration Options online_store: type: remote path: http://feast-feature-server:80 connection_pool_size: 50 # Max connections in pool (default: 50) connection_idle_timeout: 300 # Idle timeout in seconds (default: 300, 0 to disable) connection_retries: 3 # Retry count with backoff (default: 3)
Open Graph Description: What this PR does / why we need it: Implement HTTP connection pooling for the remote online store client to improve latency by reusing TCP/TLS connections across requests Add configurable connecti...
X Description: What this PR does / why we need it: Implement HTTP connection pooling for the remote online store client to improve latency by reusing TCP/TLS connections across requests Add configurable connecti...
Opengraph URL: https://github.com/feast-dev/feast/pull/5895
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ffdcccad-1e0b-e291-2a8d-c0c8fc94024c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EDBC:1A12B5:3DA40B3:5616AA1:6A4F5BF5 |
| html-safe-nonce | 768a20f4e6189669d701668b78d1e0b371c4eacb0c4cae5f27324aeb40b2b8c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREJDOjFBMTJCNTozREE0MEIzOjU2MTZBQTE6NkE0RjVCRjUiLCJ2aXNpdG9yX2lkIjoiMzc3NzA2MDUzOTAwMTE2NjgzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7ff945018692e7c11292ed02696b1fd8d3fdb880a3275e7ee32d6df9de517319 |
| hovercard-subject-tag | pull_request:3202656413 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/5895/files |
| twitter:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/16951913?s=400&v=4 |
| og:image:alt | What this PR does / why we need it: Implement HTTP connection pooling for the remote online store client to improve latency by reusing TCP/TLS connections across requests Add configurable connecti... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width