{"id":15745416,"url":"https://github.com/jimver/s-query-examples","last_synced_at":"2025-03-31T05:45:33.156Z","repository":{"id":104840522,"uuid":"328453620","full_name":"Jimver/S-Query-examples","owner":"Jimver","description":"This repo hosts some example jet jobs that allow querying the internal state of jet transforms","archived":false,"fork":false,"pushed_at":"2021-11-01T22:07:02.000Z","size":382,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-06T10:19:08.022Z","etag":null,"topics":["hazelcast","hazelcast-jet","query","state"],"latest_commit_sha":null,"homepage":"","language":"Java","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/Jimver.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}},"created_at":"2021-01-10T18:40:24.000Z","updated_at":"2021-11-01T22:07:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0d2a7f4-de9b-4dd3-98d1-4cb12ca5c7c1","html_url":"https://github.com/Jimver/S-Query-examples","commit_stats":{"total_commits":83,"total_committers":1,"mean_commits":83.0,"dds":0.0,"last_synced_commit":"84ab0bad809acd70b94603f5aa27461ddcccd087"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2FS-Query-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2FS-Query-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2FS-Query-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jimver%2FS-Query-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jimver","download_url":"https://codeload.github.com/Jimver/S-Query-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423706,"owners_count":20774819,"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":["hazelcast","hazelcast-jet","query","state"],"created_at":"2024-10-04T04:03:32.990Z","updated_at":"2025-03-31T05:45:33.136Z","avatar_url":"https://github.com/Jimver.png","language":"Java","readme":"# S-Query-examples\nThis repo hosts some examples that query the internal state of stateful operators in S-Query. (Based on Hazelcast Jet)\n\nS-Query is an adaptation of Hazelcast Jet which supports querying the internal state.\n\n## Structure\nThe most important are the `dh`, `benchmark-getter-job` and `generic-query`/`generic-inc-query` modules.\n\nThe `dh` module contains the Jet jobs for the Delivery Hero order tracking application in the S-Query paper.\n\nSubmodules:\n- `dh-job` Job which contains the stateful operations happening on the stream and measures the time it takes to go from source to sink.\n- `dh-direct-query` Job that queries the state of a given stateful operator using the direct object interface.\n- `dh-queries` Job which queries the state with one of 4 complex SQL queries\n- `dh-query-benchmark` Job which queries one of 4 complex SQL queries continuously and measures the latencies.\n\nThe `benchmark-getter-job` is a Jet job which gets the 2PC times of S-Query/Jet. Internally (in S-Query) the time it takes to complete a 2 phase commit is measured and put to a List.\nThis job gets that list and prints the latencies to the console (in ns). Both phase 1 and phase 2 are individually measured.\n\n`generic-query` Is a helper job which can query any table with any type of query with the latest snapshot ID.\n\n`generic-inc-query` Is similar to `generic-query` except it will query incremental snapshots, again with the latest snapshot id.\n\nThe `scripts` folder contains several scripts for transferring the jars to a remote machine/multiple remote machines.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimver%2Fs-query-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimver%2Fs-query-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimver%2Fs-query-examples/lists"}