{"id":19168572,"url":"https://github.com/xanthous-tech/dgraph-ws-client","last_synced_at":"2025-02-22T23:27:32.756Z","repository":{"id":105880322,"uuid":"266795300","full_name":"xanthous-tech/dgraph-ws-client","owner":"xanthous-tech","description":"dGraph gRPC client wrapped in WebSocket protocol implemented in Rust","archived":false,"fork":false,"pushed_at":"2020-11-12T10:23:18.000Z","size":71,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-03T23:16:43.639Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xanthous-tech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-25T14:07:40.000Z","updated_at":"2020-11-12T10:23:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"8525ade0-9784-4b4f-b092-a9becd8ded5d","html_url":"https://github.com/xanthous-tech/dgraph-ws-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-ws-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-ws-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-ws-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xanthous-tech%2Fdgraph-ws-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xanthous-tech","download_url":"https://codeload.github.com/xanthous-tech/dgraph-ws-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240249491,"owners_count":19771669,"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":[],"created_at":"2024-11-09T09:43:08.018Z","updated_at":"2025-02-22T23:27:32.734Z","avatar_url":"https://github.com/xanthous-tech.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dgraph-ws-client\n\nThis is a dGraph gRPC client wrapped with WebSocket protocol written in Rust.\n\n# Motivation\n\nWe have previously implemented [dgraph-js-native](https://github.com/xanthous-tech/dgraph-js-native) but was not getting enough performance boost due to [not being able to invoke JS method in Rust thread in Neon](https://github.com/neon-bindings/neon/issues/197). The poll-based approach was good but was simply wasting cycles and hurt the performance. I think the only other way to get better performance is to use WebSocket to wrap the gRPC client, and have this live alongside of dGraph Alpha's so the JS side can just use WebSockets to communicate.\n\n# Sponsor\n\n[Treelab](https://www.treelab.com.cn)\n\n# License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fdgraph-ws-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxanthous-tech%2Fdgraph-ws-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxanthous-tech%2Fdgraph-ws-client/lists"}