{"id":13832016,"url":"https://github.com/UWSysLab/tapir","last_synced_at":"2025-07-09T15:34:31.339Z","repository":{"id":73252728,"uuid":"49466294","full_name":"UWSysLab/tapir","owner":"UWSysLab","description":"TAPIR distributed transactional storage system","archived":false,"fork":false,"pushed_at":"2020-10-13T00:57:09.000Z","size":740,"stargazers_count":420,"open_issues_count":8,"forks_count":54,"subscribers_count":21,"default_branch":"master","last_synced_at":"2024-08-05T10:19:48.357Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/UWSysLab.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-01-12T01:30:43.000Z","updated_at":"2024-05-27T08:50:54.000Z","dependencies_parsed_at":"2023-05-02T17:32:43.208Z","dependency_job_id":null,"html_url":"https://github.com/UWSysLab/tapir","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/UWSysLab%2Ftapir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UWSysLab%2Ftapir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UWSysLab%2Ftapir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UWSysLab%2Ftapir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UWSysLab","download_url":"https://codeload.github.com/UWSysLab/tapir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225565966,"owners_count":17489290,"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-08-04T10:01:47.804Z","updated_at":"2024-11-20T13:32:23.414Z","avatar_url":"https://github.com/UWSysLab.png","language":"Java","funding_links":[],"categories":["数据库开发","Java"],"sub_categories":[],"readme":"# TAPIR\n\nThis repository includes code implementing TAPIR -- the Transaction\nApplication Protocol for Inconsistent Replication. This code was used\nfor the SOSP 2015 paper, [\"Building Consistent Transactions with\nInconsistent Replication.\"](http://dl.acm.org/authorize?N93281)\n\nTAPIR is a new protocol for linearizable distributed transactions\nbuilt using replication with no consistency guarantees. By enforcing\nconsistency only at the transaction layer, TAPIR eliminates\ncoordination at the replication layer, enabling TAPIR to provide the\nsame transaction model and consistency guarantees as existing systems,\nlike Spanner, with better latency and throughput.\n\nIn addition to TAPIR, this repo includes several other useful\nimplementations of distributed systems, including:\n\n1. An implementation of a lock server designed to work with\n   inconsistent replication (IR), our high-performance, unordered\n   replication protocol.\n\n2. An implementation of Viewstamped Replication (VR), detailed in this\n   [older paper](http://dl.acm.org/citation.cfm?id=62549) and this\n   [more recent paper](http://18.7.29.232/handle/1721.1/71763).\n\n3. An implementation of a scalable, distributed storage system\n   designed to work with VR that uses two-phase commit to support\n   distributed transactions and supports both optimistic concurrency\n   control and strict two-phase locking.\n\nThe repo is structured as follows:\n\n- /lib - the transport library for communication between nodes. This\n  includes UDP based network communcation as well as the ability to\n  simulate network conditions on a local machine, including packet\n  delays and reorderings.\n\n- /replication - replication library for the distributed stores\n  - /vr - implementation of viewstamped replication protocol\n  - /ir - implementation of inconsistent replication protocol\n\n- /store - partitioned/sharded distributed store\n  - /common - common data structures, backing stores and interfaces for all of stores\n  - /tapirstore - implementation of TAPIR designed to work with IR\n  - /strongstore - implementation of both an OCC-based and locking-based 2PC transactional\n  storage system, designed to work with VR\n  - /weakstore - implementation of an eventually consistent storage\n    system, using quorum writes for replication\n\n- /lockserver - a lock server designed to be used with IR\n\n## Compiling \u0026 Running\nYou can compile all of the TAPIR executables by running make in the root directory\n\nTAPIR depends on protobufs, libevent and openssl, so you will need the following development libraries:\n- libprotobuf-dev\n- libevent-openssl\n- libevent-pthreads\n- libevent-dev\n- libssl-dev\n- protobuf-compiler\n\n## Contact and Questions\nPlease email Irene at iyzhang@cs.washington.edu, Dan at drkp@cs.washington.edu and Naveen at naveenks@cs.washington.edu\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUWSysLab%2Ftapir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUWSysLab%2Ftapir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUWSysLab%2Ftapir/lists"}