{"id":19989035,"url":"https://github.com/icemap/tidb-momento-example","last_synced_at":"2026-05-08T23:13:45.738Z","repository":{"id":119433341,"uuid":"589953158","full_name":"Icemap/tidb-momento-example","owner":"Icemap","description":"Example of Integrate TiDB and Momento","archived":false,"fork":false,"pushed_at":"2023-02-08T06:28:22.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T11:49:35.920Z","etag":null,"topics":[],"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/Icemap.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":"2023-01-17T10:28:03.000Z","updated_at":"2023-02-08T17:50:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2342665-01b7-40d3-92be-12ee99a0b32c","html_url":"https://github.com/Icemap/tidb-momento-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-momento-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-momento-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-momento-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Icemap%2Ftidb-momento-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Icemap","download_url":"https://codeload.github.com/Icemap/tidb-momento-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241430299,"owners_count":19961633,"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":[],"created_at":"2024-11-13T04:45:12.876Z","updated_at":"2026-05-08T23:13:40.700Z","avatar_url":"https://github.com/Icemap.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integration Examples for TiDB and Momento\n\nThis repository is an example repository for [TiDB](https://www.pingcap.com/) and [Momento](https://www.gomomento.com/).\n\n## What is TiDB\n\nTiDB (/’taɪdiːbi:/, \"Ti\" stands for Titanium) is an open-source distributed SQL database that supports Hybrid Transactional and Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability. The goal of TiDB is to provide users with a one-stop database solution that covers OLTP (Online Transactional Processing), OLAP (Online Analytical Processing), and HTAP services. TiDB is suitable for various use cases that require high availability and strong consistency with large-scale data.\n\n## What is Momento\n\nMomento Serverless Cache is the world's first truly serverless caching service. It provides instant elasticity, scale-to-zero capability, and blazing-fast performance. Gone are the days where you need to choose, manage, and provision capacity. With Momento Serverless Cache, you grab the SDK, you get an end point, input a few lines into your code, and you're off and running.\n\n## Why We Integrate\n\nIf you are a web developer, you might already use the serverless function to create your own modern service. But, there are two big hills you need to confront:\n\n- How can I deal with the huge number of connections between the database and serverless functions?\n- How can I build a cache for serverless functions?\n\nIf you struggle with these two pieces of stuff, it's your lucky day. Because you can use TiDB and Momento to solve those slappy things radically. TiDB can retain thousands of connections, and Momento can help you to accomplish the cache easily.\n\n## Examples\n\nWe don't want that you have no idea to integrate TiDB and Momento. So, we offer common scenarios and programming language examples for you. We hope those examples can help you. If you have a good idea also, please feel free to give an issue.\n\n- Java:\n\n  - [Read-Aside Cache](/java-read-aside/)\n  - Write-Aside Cache(TODO)\n  - [Java Spring Annotation](/java-spring-annotation/)\n\n- Golang:\n\n  - Read-Aside Cache(TODO)\n  - Write-Aside Cache(TODO)\n\n- Python:\n\n  - Read-Aside Cache(TODO)\n  - Write-Aside Cache(TODO)\n\n- TypeScript:\n\n  - Read-Aside Cache(TODO)\n  - Write-Aside Cache(TODO)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-momento-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficemap%2Ftidb-momento-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficemap%2Ftidb-momento-example/lists"}