piyushk
September 3, 2019, 7:58am
1
Has anybody used GunDB with meteor as backend storage layer ?
vlasky
September 3, 2019, 1:34pm
2
I once asked them to add a Meteor integration. The author didn’t understand what I was proposing. I was too busy to follow it up and the author closed the issue.
opened 01:16AM - 01 Mar 17 UTC
closed 06:41PM - 13 Mar 17 UTC
Hiyas,
Gun looks like a perfect fit for the [Meteor full-stack isomorphic fra… mework](https://guide.meteor.com/), which is designed for low-latency, real-time web applications.
Meteor natively uses websockets for client-server communications.
Out of the box, Meteor has a pub/sub model in which full-stack apps run MongoDB on the server-side and minimongo on the client within the browser and these are [automatically kept in sync](https://www.discovermeteor.com/blog/understanding-meteor-publications-and-subscriptions/).
With gun, it would be an instance of gun on the server-side kept in sync with gun on the client-side.
I was interested in attempting to try integrating it myself, but at the moment I don't have a clear idea on the appropriate way to replace/override gun's existing websocket code.