Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 745 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 745 Bytes

dgraph-ws-client

This is a dGraph gRPC client wrapped with WebSocket protocol written in Rust.

Motivation

We have previously implemented dgraph-js-native but was not getting enough performance boost due to not being able to invoke JS method in Rust thread in Neon. 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.

Sponsor

Treelab

License

MIT