GUN's query gaps constrain developers who need built-in structured querying, and GUN offers no out-of-the-box querying. Path traversal can return results, as can map functions.
GUN's schema gaps also constrain developers who need enforced document validation: its documents carry no enforced shape, no schema validation, no required fields, and no migration tooling, while RxDB validates documents against JSON Schema.
2Risk Factors
GUN pushes access control and account recovery down to application-level designs, creating implementation risk for applications that need those safeguards built in; it ships without access-control lists, though developers can add ACLs on their own.
GUN's peer-to-peer design keeps user passwords off any server, so recovering a lost password requires some additional design. A separate server is one recovery option, which the GUN FAQ calls a bad design for peer-to-peer systems.
3Product Overview
GUN provides an open-source decentralized database service for building peer-to-peer applications that work while users are offline.
It retains offline changes locally and merges them back into the database when users reconnect, while offering real-time updates with eventual consistency.