{"id":29905495,"url":"https://github.com/project-tsurugi/tateyama","last_synced_at":"2025-08-01T19:14:15.195Z","repository":{"id":198154701,"uuid":"403491602","full_name":"project-tsurugi/tateyama","owner":"project-tsurugi","description":"Application Infrastructure for Tsurugi","archived":false,"fork":false,"pushed_at":"2025-07-31T05:48:51.000Z","size":2752,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-31T08:38:14.121Z","etag":null,"topics":["database","task-manager","tsurugidb"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-tsurugi.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-06T05:04:28.000Z","updated_at":"2025-07-30T02:25:56.000Z","dependencies_parsed_at":"2023-10-12T17:06:48.699Z","dependency_job_id":"8d65e168-9420-4172-97b5-74273cd25c20","html_url":"https://github.com/project-tsurugi/tateyama","commit_stats":null,"previous_names":["project-tsurugi/tateyama"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/project-tsurugi/tateyama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftateyama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftateyama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftateyama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftateyama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-tsurugi","download_url":"https://codeload.github.com/project-tsurugi/tateyama/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-tsurugi%2Ftateyama/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268282397,"owners_count":24225164,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["database","task-manager","tsurugidb"],"created_at":"2025-08-01T19:14:07.659Z","updated_at":"2025-08-01T19:14:15.140Z","avatar_url":"https://github.com/project-tsurugi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tateyama - Application Infrastructure for Tsurugi\n\n## Requirements\n\n* CMake `\u003e= 3.16`\n* C++ Compiler `\u003e= C++17`\n* and see *Dockerfile* section\n\n```sh\n# retrieve third party modules\ngit submodule update --init --recursive\n```\n\n### Dockerfile\n\n```dockerfile\nFROM ubuntu:22.04\n\nRUN apt update -y \u0026\u0026 apt install -y git build-essential cmake ninja-build libboost-filesystem-dev libboost-system-dev libboost-container-dev libboost-thread-dev libboost-stacktrace-dev libgoogle-glog-dev libgflags-dev doxygen libtbb-dev libnuma-dev libssl-dev libjwt-dev\n```\n\noptional packages:\n\n* `doxygen`\n* `graphviz`\n* `clang-tidy-14`\n\n### Install modules\n\n#### tsurugidb modules\n\nThis requires below [tsurugidb](https://github.com/project-tsurugi/tsurugidb) modules to be installed.\n\n* [takatori](https://github.com/project-tsurugi/takatori)  (for takatori::util functionalities)\n* [sharksfin](https://github.com/project-tsurugi/sharksfin)\n\n#### moodycamel::ConcurrentQueue\n\n```sh\nmkdir -p build-third_party/concurrentqueue\ncd build-third_party/concurrentqueue\ncmake -G Ninja -DCMAKE_INSTALL_PREFIX=[/path/to/install-prefix] ../../third_party/concurrentqueue\ncmake --build . --target install\n```\n\nsee https://github.com/cameron314/concurrentqueue\n\n## How to build\n\n```sh\nmkdir -p build\ncd build\ncmake -G Ninja -DCMAKE_BUILD_TYPE=Release ..\ncmake --build .\n```\n\navailable options:\n* `-DCMAKE_INSTALL_PREFIX=\u003cinstallation directory\u003e` - change install location\n* `-DCMAKE_PREFIX_PATH=\u003cinstallation directory\u003e` - indicate prerequisite installation directory\n* `-DCMAKE_IGNORE_PATH=\"/usr/local/include;/usr/local/lib/\"` - specify the libraries search paths to ignore. This is convenient if the environment has conflicting version installed on system default search paths. (e.g. gflags in /usr/local)\n* `-DBUILD_SHARED_LIBS=OFF` - create static libraries instead of shared libraries\n* `-DBUILD_TESTS=OFF` - don't build test programs\n* `-DBUILD_EXAMPLES=OFF` - don't build example programs\n* `-DBUILD_BENCHMARK=OFF` - don't build benchmark programs\n* `-DBUILD_DOCUMENTS=OFF` - don't build documents by doxygen\n* `-DBUILD_STRICT=OFF` - don't treat compile warnings as build errors\n* `-DINSTALL_EXAMPLES=ON` - install example applications\n* `-DSHARKSFIN_IMPLEMENTATION=\u003cimplementation name\u003e` - switch sharksfin implementation. Available options are `memory` and `shirakami` (default: `shirakami`)\n* `-DENABLE_ALTIMETER=ON` - turn on the `altimeter logging`.\n* `-DMC_QUEUE=ON` - use moody camel queue instead of tbb queue to store tasks in tateyama task scheduler.\n* `-DENABLE_DEBUG_SERVICE=OFF` - turn off the `debug service`.\n* for debugging only\n  * `-DENABLE_SANITIZER=OFF` - disable sanitizers (requires `-DCMAKE_BUILD_TYPE=Debug`)\n  * `-DENABLE_UB_SANITIZER=ON` - enable undefined behavior sanitizer (requires `-DENABLE_SANITIZER=ON`)\n  * `-DENABLE_COVERAGE=ON` - enable code coverage analysis (requires `-DCMAKE_BUILD_TYPE=Debug`)\n  * `-DTRACY_ENABLE=ON` - enable tracy profiler for multi-thread debugging. See section below.\n* for developper only\n  * `-DBUILD_MOCK=ON` - build a mock server\n\n### install\n\n```sh\ncmake --build . --target install\n```\n\n### run tests\n\nExecute the test as below:\n```sh\nctest -V\n```\n\n### generate documents\n\n```sh\ncmake --build . --target doxygen\n```\n\n### Customize logging setting\nYou can customize logging in the same way as sharksfin. See sharksfin [README.md](https://github.com/project-tsurugi/sharksfin/blob/master/README.md#customize-logging-setting) for more details.\n\n```sh\nGLOG_minloglevel=0 ./group-cli --minimum\n```\n\n### Multi-thread debugging/profiling with Tracy\n\nYou can use [Tracy Profiler](https://github.com/wolfpld/tracy) to graphically display the threads operations and improve printf debug by printing messages on the tooltips on the Tracy profiler UI.\nBy setting cmake build option `-DTRACY_ENABLE=ON`, TracyClient.cpp file is added to the build and tracing macros are enabled.\n\nPrerequirement:\n\n1. ensure tracy code is located under `third_party/tracy` directory.\n```\ngit submodule update --init third_party/tracy\n```\n\n2. include common.h at the top of files that requires tracing.\n```\n#include \u003ctateyama/common.h\u003e\n```\n\n3. Put `trace_scope` at the beginning of the scope to trace, or use other tracing functions defined in common.h.\n\n## License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-tsurugi%2Ftateyama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-tsurugi%2Ftateyama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-tsurugi%2Ftateyama/lists"}