{"id":20002556,"url":"https://github.com/abhishekkr/timefs","last_synced_at":"2025-05-04T15:34:24.791Z","repository":{"id":64307574,"uuid":"119751275","full_name":"abhishekkr/timefs","owner":"abhishekkr","description":"a timeseries datastore using filesystem as datastore","archived":false,"fork":false,"pushed_at":"2019-02-01T20:19:18.000Z","size":38,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T15:50:30.628Z","etag":null,"topics":["datastore","time-series","timeseries","tsdb"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/abhishekkr.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-01-31T22:23:39.000Z","updated_at":"2023-08-19T00:37:39.000Z","dependencies_parsed_at":"2023-01-15T11:00:52.511Z","dependency_job_id":null,"html_url":"https://github.com/abhishekkr/timefs","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/abhishekkr%2Ftimefs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkr%2Ftimefs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkr%2Ftimefs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhishekkr%2Ftimefs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhishekkr","download_url":"https://codeload.github.com/abhishekkr/timefs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224395309,"owners_count":17304038,"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":["datastore","time-series","timeseries","tsdb"],"created_at":"2024-11-13T05:22:11.674Z","updated_at":"2024-11-13T05:22:12.280Z","avatar_url":"https://github.com/abhishekkr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## timefs\n\n\u003e a file system not for regular files but time series data, so it can juice out real efficiency\n\nhere, we'll see a term `timedot` in use, a `timedot` is every individual value persisted at any individual timestamp\n\n`\n---\n\n### HowTo Use\n\n\u003e can be used with single server, or multiple servers fronted by a request splitter\n\u003e\n\u003e current splitter is really basic and under improvements\n\n* to activate local go path just for your editor or direct running go tools\n\n`. go-tasks`\n\n* to prepare env, source go-tasks and then\n\n`./go-tasks deps`\n\n* start backends at ':8001' and ':8002'\n\n```\n## in one session\nTIMEFS_DIR_ROOT=/tmp/timefs/backend0 TIMEFS_PORT=\":8001\" go run server/tfserver.go\n\n## in other session\nTIMEFS_DIR_ROOT=/tmp/timefs/backend1 TIMEFS_PORT=\":8002\" go run server/tfserver.go\n```\n\n\n* start splitter to manage all backends ':8001,:8002'\n\n```\nTIMEFS_CLIENTBYCHANNEL_COUNT=10 TIMEFS_PROXY_PORT=\":7999\" TIMEFS_BACKENDS=\"127.0.0.1:8001,127.0.0.1:8002\" go run splitter/tfsplitter.go\n```\n\n\n* start client to use backends via splitter\n\n```\ngo run client/tfclient.go --server=\"127.0.0.1:7999\" dummy create\n\ngo run client/tfclient.go --server=\"127.0.0.1:7999\" dummy read\n```\n\n\n\n[here you can check detailed overview on usage options](./docs/usage.md)\n\n---\n\n### Performance Metrics\n\n##### with current splitter\n\nrequests for 48000 timedots, rough estimates\n\n* one backend with `writes:\t0m2.47s` and `reads: 0m0.36s`\n\n* two backends with `writes: 0m2.46s` and `reads: 0m0.18s`\n\n* three backends with `writes: 0m2.45s` and `reads: 0m0.24s`\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekkr%2Ftimefs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhishekkr%2Ftimefs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhishekkr%2Ftimefs/lists"}