{"id":20054590,"url":"https://github.com/crane-cloud/ocas","last_synced_at":"2025-10-12T02:03:59.670Z","repository":{"id":225757154,"uuid":"665857268","full_name":"crane-cloud/ocas","owner":"crane-cloud","description":"Crane Cloud OCAS - Placement for low resource settings based on Docker Swarm","archived":false,"fork":false,"pushed_at":"2025-02-11T09:12:08.000Z","size":19106,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-12T02:03:42.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/crane-cloud.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-07-13T06:51:03.000Z","updated_at":"2025-02-11T09:12:12.000Z","dependencies_parsed_at":"2024-12-04T13:35:49.038Z","dependency_job_id":"d44613ab-4da4-447d-b6ba-04fdf61f56a2","html_url":"https://github.com/crane-cloud/ocas","commit_stats":null,"previous_names":["crane-cloud/ocas"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crane-cloud/ocas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Focas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Focas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Focas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Focas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crane-cloud","download_url":"https://codeload.github.com/crane-cloud/ocas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crane-cloud%2Focas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009913,"owners_count":26084665,"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-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-11-13T12:41:36.853Z","updated_at":"2025-10-12T02:03:59.636Z","avatar_url":"https://github.com/crane-cloud.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ocas\nCrane Cloud OCAS - Placement for low resource settings based on Docker Swarm\n\n\n## Installation of the hotelreservation application\nTo install the hotelreservation application (the assumption is that you are working from the home directory):\n\n```docker stack deploy --compose-file hotelreservation.yml hotelreservation```\n\nYou should check the status of the services and ensure that replication is correctly being done and the numbers running as expected:\n\n```docker stack ls```\n\n```docker service ls```\n\nInstallation of supporting packages:\n\n```sudo apt install luarocks libssl-dev zlib-dev```\n\n```sudo luarocks install luasocket```\n\nInstallation of the benchmarking tool\n\n```cd /tmp```\n\n```git clone https://github.com/giltene/wrk2.git```\n\n```cd wrk2```\n\n```make```\n\n```cp wrk ~/ocas/```\n\n```cd /tmp```\n\n```git clone https://github.com/delimitrou/DeathStarBench.git```\n\n```cd ~/ocas/```\n\n```cp -r /tmp/DeathStarBench/hotelReservation/wrk2/scripts .```\n\nRun a sample benchmark\n\n```./wrk -t 10 -c 100 -d 10 -s ./scripts/hotel-reservation/mixed-workload_type_1.lua http://cr-dar.cranecloud.africa:5000 -R 2000 -L```\n\n\n\n\n\n\nOther tests\n\n```curl 'http://cr-dar.cranecloud.africa:5000/reservation?inDate=2015-04-19\u0026outDate=2015-04-24\u0026lat=nil\u0026lon=nil\u0026hotelId=9\u0026customerName=Cornell_1\u0026username=Cornell_1\u0026password=1111111111\u0026number=1'```\n\n\n```user@client0:~$ curl 'http://cr-dar.cranecloud.africa:5000/user?username=Cornell_1\u0026password=1111111111'```\n\n\nTo build the jaeger-mongodb library compatible with Alpine Linux - used by Jaeger\n\n```GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build ./cmd/jaeger-mongodb```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-cloud%2Focas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrane-cloud%2Focas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrane-cloud%2Focas/lists"}