Oasis Parcel integration #542
Replies: 6 comments 5 replies
-
Before proposing anything, I need to get this right. Please @HarleyAppleChoi correct the following reasoning if it's wrong in any part. What How
Existing problem What I don't get is the following: should posts be associated with a user profile? Can't these be put inside Oracle from DJuno itself? Why do we need to associated them with a user on Oracle? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@RiccardoM I've studied a little bit the Parcels' docs and this is what I've understood, briefly summarised here:
So I guess that the DApp need to requests users some information when they first start it and those information are later used by the DApp to create the document. A sequence about this should be like: I'm sorry for the quality of this Sequence but I hope I've cleared a little bit more the situation:
About the posts, I think there's no need to store them based on users, but maybe they can be stored all together based on subspaces, then filtered based on each users interests. Oh btw, about location...how do we get it? Should we update the post structure for it? |
Beta Was this translation helpful? Give feedback.
-
@bragaz User's interests need to be uploaded inside parcel by the user itself using user identity. The I am thinking if that the user front end(dApp, like Mooncake but not the Desmos chain) can directly save the user interest (user activities) inside parcel though Tank Parser.
Do you mean we group the users by subspace and filter them base on user interest? But how do we group the user by subspace?
User interest information are not supposed to save on Desmos. That is sake of user privacy. What I want is to get Post_ID returned to dApp(Mooncake etc) so that front end dApp can save user interest on tank. Therefore, to save location we can get location directly from the frontend app and parse it to the parser Do that work? |
Beta Was this translation helpful? Give feedback.
-
To me, this system seems very complicated and filled with gaps that can make it useless. Let me explain why. Considering all you have written:
Now, even without considering the other things (i.e. how posts are stored and then retrieved), I think there is a big flaw here: what if there is not a single DApp that uploads the user interests inside the user profile? The whole system would be useless because the other DApps would not have the opportunity to read the interests. Unless there is someone doing this job (which is why I put Google as a third party in my scheme), other DApps would have each one to
This seems the worst UX that can be imagined. Why would I, as Mooncake, want to upload the user interests on Oasis instead of handling them directly? I would want to use them if they are already there, but not upload them by my own. If this is the case, I think it's better to either:
All in all, Desmos-based DApps should not even care about the user data to get meaningful information to target them with specific posts. We can extrapolate useful information even without knowing the identity of each person, simply based on their behavior in the platform |
Beta Was this translation helpful? Give feedback.
-
Do that mean user do not want any user interest stored in the system, extends to prefer not having any recommendation?
What is the point to have third party like Google to collect the data without user having control of which data should be collected. The real problem here is tackling the current issue of Google or other data collection service that the end user do not have access or control of what data is stored.
Post, comment and reaction are user behaviour right? They are already here. All the thing are handled by DApp. Users won't notice anything. What user need to do is clicking the like button and the DApp would send the message directly to Parcel without putting that on Desmos chain. We would not want the personal behaviour data to exposed on Desmos which is not encrypted. If people just clicked but not doing reaction on the posts there is no way to tell and do any recommendation. Maybe I label it wrong on my graph, my bad. The "end user" should be "DApp", like Mooncake but not real human end user. |
Beta Was this translation helpful? Give feedback.
-
Integration with Oasis Parcel and Desmos
Oasis Parcel is used to collect users' sensitive data (eg. location of the post, metadata of user's interest, etc).
The data should be accessed using the user identity present inside the Oasis account, which cannot be associated with Desmos. Oasis identity should only exist on the user end when the user logs into the Oasis account.
In order to get a production standard, we should consider scalability, capacity, and elasticity of the project. Clearly the approach of the prototype, which saves the whole post into the Parcel database, is a heuristic approach and not smart enough for production. The best approach is using the value of
PostID
as a key and store different parameter as a value for each user.The user interest file should allow to save different interests individually per each user. When a recommendation is required, Parcel Computing will take all the files that are authorized by the Tank server and do collaborative filtering and other content based filtering. Then, Parcel Computing can act as a recommender to get the recommended post ids, and return them to the Tank server. Then Tank can get the post from DJuno and return them to the end user.
In conclusion,
PostID
and User Identity pairs are essential for the system to store the information successfully. However, the Desmos chain implementation is not optimized for the workflow:PostID
is not returned, and there is no way for the user to know such id immediately;Here is the proposed workflow using the location service as example. The red part highlights the feature that can be improved on Desmos:
The quick solution is to implement the ability for MsgCreatePostResponse to return the generated
PostID
value.Beta Was this translation helpful? Give feedback.
All reactions