{"id":21453391,"url":"https://github.com/amal/tkvs-kt-playground","last_synced_at":"2025-03-17T03:13:02.960Z","repository":{"id":219355106,"uuid":"748844423","full_name":"amal/tkvs-kt-playground","owner":"amal","description":"Kotlin playground based on idea of \"transactional key-value storage\"","archived":false,"fork":false,"pushed_at":"2024-01-31T20:28:23.000Z","size":1736,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T12:46:31.835Z","etag":null,"topics":["cli","key-value","key-value-store","kotlin","kotlin-cli"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/amal.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":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-26T21:30:22.000Z","updated_at":"2025-01-13T10:55:43.000Z","dependencies_parsed_at":"2025-01-23T12:43:34.293Z","dependency_job_id":"60b15390-0428-4963-858a-5d7f9960220d","html_url":"https://github.com/amal/tkvs-kt-playground","commit_stats":null,"previous_names":["amal/tkvs-kt-playground"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amal%2Ftkvs-kt-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amal%2Ftkvs-kt-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amal%2Ftkvs-kt-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amal%2Ftkvs-kt-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amal","download_url":"https://codeload.github.com/amal/tkvs-kt-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965782,"owners_count":20375918,"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":["cli","key-value","key-value-store","kotlin","kotlin-cli"],"created_at":"2024-11-23T04:39:28.939Z","updated_at":"2025-03-17T03:13:02.939Z","avatar_url":"https://github.com/amal.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Simple in-memory transactional key-value store.**\n\n* Supports `get`, `set`, `delete`, `count`, `begin`, `rollback`, `commit` operations.\n* Supports nested transactions.\n* Commit/rollback operations apply changes from the last transaction.\n* Parallel/concurrent transactions are not supported.\n* Not thread-safe!\n\nHas 2 implementations:\n1. [TkvsSingleMap.kt](src/main/kotlin/TkvsSingleMap.kt)\u003cbr\u003e\n   Implementation with single map, change logs, and value counters cache for *O(1)* computational complexity of count operation.\n2. [TkvsStackOfMaps.kt](src/main/kotlin/TkvsStackOfMaps.kt)\u003cbr\u003e\n   Implementation based on stack of maps.\n\nUnit tests: [TransactionalKeyValueStoreTestBase.kt](src/test/kotlin/TransactionalKeyValueStoreTestBase.kt)\n\nA built jar is available in [bin/tkvs.jar](../../raw/main/bin/tkvs.jar).\u003cbr\u003e\nRun it with `java -jar bin/tkvs.jar` for an interactive console (uses \"single map\" implementation).\u003cbr\u003e\nIn the console, type `h` or `help` to see available commands.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famal%2Ftkvs-kt-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famal%2Ftkvs-kt-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famal%2Ftkvs-kt-playground/lists"}