{"id":18937679,"url":"https://github.com/s-m-i-t-a/memo_memcache","last_synced_at":"2026-03-21T17:30:16.834Z","repository":{"id":57524758,"uuid":"153396142","full_name":"s-m-i-t-a/memo_memcache","owner":"s-m-i-t-a","description":"A memcache storage for memo library","archived":false,"fork":false,"pushed_at":"2018-10-18T12:00:45.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-17T20:51:15.399Z","etag":null,"topics":["elixir","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/s-m-i-t-a.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-17T04:38:09.000Z","updated_at":"2021-10-01T06:45:30.000Z","dependencies_parsed_at":"2022-08-26T03:31:23.670Z","dependency_job_id":null,"html_url":"https://github.com/s-m-i-t-a/memo_memcache","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-m-i-t-a%2Fmemo_memcache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-m-i-t-a%2Fmemo_memcache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-m-i-t-a%2Fmemo_memcache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s-m-i-t-a%2Fmemo_memcache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s-m-i-t-a","download_url":"https://codeload.github.com/s-m-i-t-a/memo_memcache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239937701,"owners_count":19721483,"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","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":["elixir","hacktoberfest"],"created_at":"2024-11-08T12:12:05.483Z","updated_at":"2026-03-21T17:30:16.796Z","avatar_url":"https://github.com/s-m-i-t-a.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MemoMemcache\n\n`MemoMemcache` is the adapter between the [Memo library](https://github.com/s-m-i-t-a/memo)\nand memcached (specifically [Memcachir](https://github.com/peillis/memcachir)).\n\n\n## Installation\n\n```elixir\ndef deps do\n  [\n    {:memo_memcache, \"~\u003e 1.0.0\"}\n  ]\nend\n```\n\n## Use\n\nFor the correct use `Memcachier` must be configured (`config/config.exs` content):\n\n```elixir\nconfig :memcachir,\n  hosts: System.get_env(\"MEMCACHE_SERVERS\") || \"localhost:11211\",\n  ttl: System.get_env(\"MEMCACHE_DEFAULT_TTL\") || 172_800,\n  coder: Memcache.Coder.Erlang,\n  auth: {\n    :plain,\n    System.get_env(\"MEMCACHE_USERNAME\"),\n    System.get_env(\"MEMCACHE_PASSWORD\")\n  }\n```\n\nthen you can use `MemoMemcache` as a cache in the `Memo.memoize`:\n\n```elixir\nMemo.memoize(Kernel, :div, [5, 2], cache: MemoMemcache)\n```\n\n\n## License\n\n[BSD3](https://github.com/s-m-i-t-a/memo_memcache/blob/master/LICENSE)\n\n----\nCreated:  2018-10-17Z\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-m-i-t-a%2Fmemo_memcache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs-m-i-t-a%2Fmemo_memcache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs-m-i-t-a%2Fmemo_memcache/lists"}