Hi guys first of all my english is pretty basic so sorry if some sentences are not fully correctly formulated.
This post is derived from my stackoverflow question:
Searching acrross the web for a data sharing and syncing protocol p2p i’ve come across IPFS and libp2p.
What i want to build is similar to this project GitHub - jsmouret/grpc-over-webrtc: gRPC over WebRTC the idea is replace http with webrtc. And ( this is when IPFS could be used ) make use of connected clients as read replicas of the latest data ie: list of products and price, etc. The server would sign that data with his key and the clients will verify that data with the server public key.
This would be useful for offline webapps where not all the data is highly dynamic
For what i understood i would need a IPFS Cluster that replicates data between network nodes and only autorized ones with read only permissions, the server in this case the Grpc WebService would be the only one allowed to write “pin i think the action is called”.
If the data is signed by the server i wouldn’t need a private IPFS network right?
I’m i in the correct path for formulating the intended scheme?
I’m missing something?
If i want to add data syncing how much time could pass between the webservice pinning for example new product stock and clients to have the new data ?
Thanks in advance
Would https…://…github.com/libp2p/js-libp2p-webrtc-direct be a better fit than star for this use case?