{"id":23338385,"url":"https://github.com/abhirockzz/fn-redis-example","last_synced_at":"2026-04-14T00:02:27.388Z","repository":{"id":79124982,"uuid":"139741044","full_name":"abhirockzz/fn-redis-example","owner":"abhirockzz","description":"Go and Java Fn functions talking to Redis","archived":false,"fork":false,"pushed_at":"2018-07-14T15:33:43.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-02T17:27:13.225Z","etag":null,"topics":["docker","faas","golang","java","serverless"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhirockzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-04T15:46:12.000Z","updated_at":"2018-08-14T12:47:10.000Z","dependencies_parsed_at":"2023-03-12T06:43:19.739Z","dependency_job_id":null,"html_url":"https://github.com/abhirockzz/fn-redis-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/abhirockzz/fn-redis-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Ffn-redis-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Ffn-redis-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Ffn-redis-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Ffn-redis-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhirockzz","download_url":"https://codeload.github.com/abhirockzz/fn-redis-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhirockzz%2Ffn-redis-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270671199,"owners_count":24625726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","faas","golang","java","serverless"],"created_at":"2024-12-21T03:13:45.736Z","updated_at":"2026-04-14T00:02:25.338Z","avatar_url":"https://github.com/abhirockzz.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"- `fn start`\r\n- `export FN_API_URL=http://localhost:8080` //if you're using Docker Tools on Windows, this might be `http://192.168.99.100:8080`\r\n- start Redis `docker run -it --rm --name redis -p 6379:6379 redis`\r\n- update `config` section in `func.yaml` for `create` and `read` apps to specify Redis host and port e.g. `192.168.99.100:6379`\r\n- `cd fn-redis-example`\r\n- `fn deploy create --local --app fnredis`\r\n- `fn deploy read --local --app fnredis`\r\n- set key in Redis `curl -d '{\"key\":\"foo\", \"val\":\"bar\"}' http://localhost:8080/r/fnredis/create`\r\n\t- you'll see an output similar to `Redis SET result - OK. Jedis object hash code - 2025269734` (notice the `Jedis` hash code - it will be the same across different invocations, thanks to `hot functions`)\r\n- get value (above key) from Redis - `curl -d 'foo' http://localhost:8080/r/fnredis/read`\r\n\t- you'll see an output similar to `value for key foo is bar[Wed Jul 10 15:26:32 UTC 2018]` (the content between `[]` is the time when the key was added)\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Ffn-redis-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhirockzz%2Ffn-redis-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhirockzz%2Ffn-redis-example/lists"}