Title: feat: Optimize DynamoDB online store for improved latency by ntkathole · Pull Request #5889 · feast-dev/feast · GitHub
Open Graph Title: feat: Optimize DynamoDB online store for improved latency by ntkathole · Pull Request #5889 · feast-dev/feast
X Title: feat: Optimize DynamoDB online store for improved latency by ntkathole · Pull Request #5889 · feast-dev/feast
Description: What this PR does / why we need it: Optimizes the DynamoDB online store implementation to reduce online feature serving latency. O(1) dictionary lookup instead of O(n log n) sorting - _process_batch_get_response now uses dictionary-based lookup for response ordering instead of sorting. Cached TypeDeserializer - Added class-level cached TypeDeserializer instance to avoid per-request object instantiation overhead in async reads. VPC endpoint support for async client - The endpoint_url config is now properly passed to the async aiobotocore client, enabling DynamoDB VPC endpoints for reduced network latency. Improved default configuration values: batch_size: 40 → 100 (max allowed by DynamoDB BatchGetItem) max_pool_connections: 10 → 50 (better concurrency) keepalive_timeout: 12s → 30s (better connection reuse) connect_timeout: 60s → 5s (faster failure detection) read_timeout: 60s → 10s (faster failure detection) total_max_retry_attempts: None → 3 (bounded retries) retry_mode: None → "adaptive" (smart retry with rate limiting) Pre-allocated result lists - Response processing now pre-allocates result lists instead of using append-based growth.
Open Graph Description: What this PR does / why we need it: Optimizes the DynamoDB online store implementation to reduce online feature serving latency. O(1) dictionary lookup instead of O(n log n) sorting - _process_ba...
X Description: What this PR does / why we need it: Optimizes the DynamoDB online store implementation to reduce online feature serving latency. O(1) dictionary lookup instead of O(n log n) sorting - _process_ba...
Opengraph URL: https://github.com/feast-dev/feast/pull/5889
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fb212069-1230-bf10-3595-e7cca9231ab0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9070:23D8A:ED53E4:15DF0DE:6A4E3422 |
| html-safe-nonce | f8aa66992d30d34b33fcc45ac9d0602ab16a0b6cfff9d4cd15610d4527f819e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDcwOjIzRDhBOkVENTNFNDoxNURGMERFOjZBNEUzNDIyIiwidmlzaXRvcl9pZCI6IjM4NzI3NzcxMTA3MTI4OTA0MDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 15cd3f89b8cb71dda76cd18deff6273406f2ce7382d5fed66e5aac35c4f18465 |
| hovercard-subject-tag | pull_request:3198470211 |
| 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/5889/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: Optimizes the DynamoDB online store implementation to reduce online feature serving latency. O(1) dictionary lookup instead of O(n log n) sorting - _process_ba... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| 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 | 42a6d378d7587a44c93aca255096cd66b7c8eb2d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width