Unix socket support


(Fantastitech) #1

I’m working on a project. The plan is for a Vuejs front-end communicating with a server powered by Dgraph. Naturally I can’t directly expose Dgraph to Vue as I need authentication and such. Since I need to implement my own API on top of Dgraph is would be great if I could cut out the TCP overhead and have my API server communicate with Dgraph over a Unix socket. Unix sockets, in some workloads, can over double the throughput of a TCP socket.

Is this currently possible? Searching is turning up nothing. If not, it would be nice to see it implemented since running Dgraph locally to an API layer seems like a very common config.


(system) closed #2

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.