We recently deployed a demo of our platform, using Slash as the Dgraph host. We managed to successfully connect our server to the remote DB hosted in Slash.
We use Typescript and
dgraph-js to manage all our backend operations. However, we didn’t find any release available to support Slash connections in
dgraph-js, since the last release was made in April:
This forced us to dig a little bit more and find out that a very recent commit in the “quickstart example of using
Had changes that enable the support of the Slash connection using typescript in
dgraph-js. Since there is not yet a release for this feature, we only implemented the code in our backend, and it worked.
Until we started having some occasional glitches:
- “Transaction has been aborted. Please retry.”
- Error while dialing dial tcp: lookup dgraph-alpha-service on 172.20.0.10:53: no such host.
We would love to know if this is something to do with our Slash connection implementation, or it is something else rather than the Slash connection, maybe some bad previous implementation that might be affecting our performance.
Thanks a lot in advance for the feedback.
Also, I would like to say that requests take longer than expected, if we compare the times taken by a request done with Slash and a request done in a local environment, there is a lot of difference in the performance.