René's URL Explorer Experiment


Title: Change RedisBackedJobService to use a connection pool by zhilingc · Pull Request #439 · feast-dev/feast · GitHub

Open Graph Title: Change RedisBackedJobService to use a connection pool by zhilingc · Pull Request #439 · feast-dev/feast

X Title: Change RedisBackedJobService to use a connection pool by zhilingc · Pull Request #439 · feast-dev/feast

Description: What this PR does / why we need it: Current implementation of connection to jobs redis is using a client that upon failure does not refresh its connection to the db - so if anything goes awry batch retrieval is unusable until the instance is restarted to manually establish a new connection with redis. This PR changes RedisBackedJobService to use a connection pool instead. Which issue(s) this PR fixes: N/A Does this PR introduce a user-facing change?: NONE

Open Graph Description: What this PR does / why we need it: Current implementation of connection to jobs redis is using a client that upon failure does not refresh its connection to the db - so if anything goes awry batch...

X Description: What this PR does / why we need it: Current implementation of connection to jobs redis is using a client that upon failure does not refresh its connection to the db - so if anything goes awry batch...

Opengraph URL: https://github.com/feast-dev/feast/pull/439

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6b5a2722-55d3-1d74-33b7-d2ddc1800320
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA778:92D06:CB7EF:12076A:697B290F
html-safe-nonce119ffcd0c0978f30d344037339dc0a3a316df180dd61069e012de43ba002b4e0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzc4OjkyRDA2OkNCN0VGOjEyMDc2QTo2OTdCMjkwRiIsInZpc2l0b3JfaWQiOiIzMDkxMzU5MTI3NDYxMTEyMDgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac431bb20a7abc6766d6cc5b082855501e627767c7b59904e3c17c2ab13cf6b45a
hovercard-subject-tagpull_request:365074951
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/feast-dev/feast/pull/439/files
twitter:imagehttps://avatars.githubusercontent.com/u/15104168?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15104168?s=400&v=4
og:image:altWhat this PR does / why we need it: Current implementation of connection to jobs redis is using a client that upon failure does not refresh its connection to the db - so if anything goes awry batch...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None26ee438f0a804360f1b93f477a85a7932f8df33f19cc3cc6231e1782206b194a
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec845ccd48a615635f346dc49a2d3da3f5224a529
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/439/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F439%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F439%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/439/files
Reloadhttps://github.com/feast-dev/feast/pull/439/files
Reloadhttps://github.com/feast-dev/feast/pull/439/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 183 https://github.com/feast-dev/feast/issues
Pull requests 68 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
feast-ci-bothttps://github.com/feast-ci-bot
feast-dev:masterhttps://github.com/feast-dev/feast/tree/master
zhilingc:redis-conn-poolhttps://github.com/zhilingc/feast/tree/redis-conn-pool
Conversation 9 https://github.com/feast-dev/feast/pull/439
Commits 6 https://github.com/feast-dev/feast/pull/439/commits
Checks 0 https://github.com/feast-dev/feast/pull/439/checks
Files changed https://github.com/feast-dev/feast/pull/439/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/439/files
Change RedisBackedJobService to use a connection pool https://github.com/feast-dev/feast/pull/439/files#top
Show all changes 6 commits https://github.com/feast-dev/feast/pull/439/files
8658ccb Change job service connection to use a connection pool Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/8658ccb08a7b46f83e08adc685b38c5049954a18
1dbcdfd Close connection Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/1dbcdfd68c9ef490c70e6b0731d2c6c7ea33a3e6
d2e8112 Remove isConnected condition Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/d2e81123f3da8b143c98e62a83ebf7728983e358
98bf375 Add simple test to test that pool recovers broken connections Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/98bf375f7c2f8b9123eb8d2f4bc9ae84ef5f1bf0
3a8f80e Catch JedisExceptions separately Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/3a8f80e233904792577b5e91967604128768a6e4
b3a2cf5 Catch only JedisConnectionException Jan 21, 2020 https://github.com/feast-dev/feast/pull/439/commits/b3a2cf5ca05740f43ed921bf5d81023dc758aee0
Clear filters https://github.com/feast-dev/feast/pull/439/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/439/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/439/files
pom.xml https://github.com/feast-dev/feast/pull/439/files#diff-fd283355c8742fbc00d5954d600437858ffe80426be20ea75e773da45835a0b5
JobServiceConfig.java https://github.com/feast-dev/feast/pull/439/files#diff-e8f650bbe9af0929599bde5433c1247ee739e85a085f2cfe2b2ff2212eafee55
ServingServiceConfig.java https://github.com/feast-dev/feast/pull/439/files#diff-bcf8f96d70267ff79ce93460a4b6cafc162194efa4927dd380b95caccf6e978b
BigQueryServingService.java https://github.com/feast-dev/feast/pull/439/files#diff-edc614334d11e384580d6e2de3dbb9b88fc7bdb3cf46ee0259ea97b1b9bdfd49
RedisBackedJobService.java https://github.com/feast-dev/feast/pull/439/files#diff-b48e8f9c91a84885d5d53e68ffdc10dadcff6aaa24284ed117aaf278e3881934
BatchRetrievalQueryRunnable.java https://github.com/feast-dev/feast/pull/439/files#diff-3fdac73b21edf4b2b2cd7ca1985b1082165f22e398f83b989d7d03178954f510
application.yml https://github.com/feast-dev/feast/pull/439/files#diff-c19529694d5a7535976243b447af62d9d45541b0215059eb3726c271b9f38a1f
RedisBackedJobServiceTest.java https://github.com/feast-dev/feast/pull/439/files#diff-041cd60ff1b7b00c7b36e4275f14aa12f2dce8f9e84bd5f5861411c4795730fc
serving/pom.xmlhttps://github.com/feast-dev/feast/pull/439/files#diff-fd283355c8742fbc00d5954d600437858ffe80426be20ea75e773da45835a0b5
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-fd283355c8742fbc00d5954d600437858ffe80426be20ea75e773da45835a0b5
https://github.com/feast-dev/feast/pull/439/files#diff-fd283355c8742fbc00d5954d600437858ffe80426be20ea75e773da45835a0b5
serving/src/main/java/feast/serving/configuration/JobServiceConfig.javahttps://github.com/feast-dev/feast/pull/439/files#diff-e8f650bbe9af0929599bde5433c1247ee739e85a085f2cfe2b2ff2212eafee55
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/java/feast/serving/configuration/JobServiceConfig.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-e8f650bbe9af0929599bde5433c1247ee739e85a085f2cfe2b2ff2212eafee55
serving/src/main/java/feast/serving/configuration/ServingServiceConfig.javahttps://github.com/feast-dev/feast/pull/439/files#diff-bcf8f96d70267ff79ce93460a4b6cafc162194efa4927dd380b95caccf6e978b
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/java/feast/serving/configuration/ServingServiceConfig.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-bcf8f96d70267ff79ce93460a4b6cafc162194efa4927dd380b95caccf6e978b
https://github.com/feast-dev/feast/pull/439/files#diff-bcf8f96d70267ff79ce93460a4b6cafc162194efa4927dd380b95caccf6e978b
https://github.com/feast-dev/feast/pull/439/files#diff-bcf8f96d70267ff79ce93460a4b6cafc162194efa4927dd380b95caccf6e978b
serving/src/main/java/feast/serving/service/BigQueryServingService.javahttps://github.com/feast-dev/feast/pull/439/files#diff-edc614334d11e384580d6e2de3dbb9b88fc7bdb3cf46ee0259ea97b1b9bdfd49
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/java/feast/serving/service/BigQueryServingService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-edc614334d11e384580d6e2de3dbb9b88fc7bdb3cf46ee0259ea97b1b9bdfd49
https://github.com/feast-dev/feast/pull/439/files#diff-edc614334d11e384580d6e2de3dbb9b88fc7bdb3cf46ee0259ea97b1b9bdfd49
serving/src/main/java/feast/serving/service/RedisBackedJobService.javahttps://github.com/feast-dev/feast/pull/439/files#diff-b48e8f9c91a84885d5d53e68ffdc10dadcff6aaa24284ed117aaf278e3881934
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/java/feast/serving/service/RedisBackedJobService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-b48e8f9c91a84885d5d53e68ffdc10dadcff6aaa24284ed117aaf278e3881934
https://github.com/feast-dev/feast/pull/439/files#diff-b48e8f9c91a84885d5d53e68ffdc10dadcff6aaa24284ed117aaf278e3881934
Please reload this pagehttps://github.com/feast-dev/feast/pull/439/files
serving/src/main/java/feast/serving/store/bigquery/BatchRetrievalQueryRunnable.javahttps://github.com/feast-dev/feast/pull/439/files#diff-3fdac73b21edf4b2b2cd7ca1985b1082165f22e398f83b989d7d03178954f510
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/java/feast/serving/store/bigquery/BatchRetrievalQueryRunnable.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-3fdac73b21edf4b2b2cd7ca1985b1082165f22e398f83b989d7d03178954f510
serving/src/main/resources/application.ymlhttps://github.com/feast-dev/feast/pull/439/files#diff-c19529694d5a7535976243b447af62d9d45541b0215059eb3726c271b9f38a1f
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/main/resources/application.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/439/files#diff-c19529694d5a7535976243b447af62d9d45541b0215059eb3726c271b9f38a1f
https://github.com/feast-dev/feast/pull/439/files#diff-c19529694d5a7535976243b447af62d9d45541b0215059eb3726c271b9f38a1f
serving/src/test/java/feast/serving/service/RedisBackedJobServiceTest.javahttps://github.com/feast-dev/feast/pull/439/files#diff-041cd60ff1b7b00c7b36e4275f14aa12f2dce8f9e84bd5f5861411c4795730fc
View file https://github.com/zhilingc/feast/blob/b3a2cf5ca05740f43ed921bf5d81023dc758aee0/serving/src/test/java/feast/serving/service/RedisBackedJobServiceTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/439/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.