Replies: 9 comments
-
Good idea! Would a Similar to MVDS metadata |
Beta Was this translation helpful? Give feedback.
-
Also cc @staheri14 fyi |
Beta Was this translation helpful? Give feedback.
-
@oskarth yes, precisely that would work, thanks! |
Beta Was this translation helpful? Give feedback.
-
Another option, it could be a bit more generic, say to allow a StoreTTL, after which point messages are not sent to users from mailservers, so you can still pull them if you just arrived online, and cover both cases.
In this case it covers the case outlined above and also avoids the scenario of a user coming back online and just missing a useful message. |
Beta Was this translation helpful? Give feedback.
-
@oskarth |
Beta Was this translation helpful? Give feedback.
-
@cammellos |
Beta Was this translation helpful? Give feedback.
-
@staheri14 sorry, my bad, I didn't apply the reasoning to the current specs. Looking at the store docs, I noticed there's a feature that we are missing (maybe though is there and I missed it :) ) https://rfc.vac.dev/spec/13/ Basically when querying store, we want also to specify a range. The way we currently do is using two parameters, From and To (on top of cursor, which works mostly as in the waku 2 specs). In a few scenarios we want to query for a time range, for example:
In the first case, we send a query: From: The other case is similar: From: Also we combine cursor with
I could not find a way to do that in the current specs, hope I am looking at the right place. Long story short, RequestTimeFrom is the same as This feature I can't see in the docs. Also we actually construct the cursor, though that's not the cleanest choice as it's a bit of an implementation detail, other APIs have separat |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the clarification @cammellos! I think what you want is a time-based history query which is covered in the following specs i.e., Waku FT-store. The FT-Store protocol also supports fetching the gap in the history (and the initial idea was exactly to allow healing the history gaps for offline nodes). There is also the Also regarding the cursor, we do have pagination in the store protocol: I think the only missing feature is the |
Beta Was this translation helpful? Give feedback.
-
Any further action needed on this @cammellos? Moving to backlog for now. |
Beta Was this translation helpful? Give feedback.
-
Sometimes the application might produce messages that don't need to be stored, an example would be a ping to show that you are online, or for example messages that are time sensitive (say a push notification, through our current push notification system, which would be ignored if retrieved at a later date).
In those cases it would be useful to mark them as "don't store", so that they are not stored by store nodes. This would improve bandwidth performance of the overall network and of the clients, at the cost of some metadata leaking (though can be optional).
Not a crucial feature, but there would be a few use cases for us.
Beta Was this translation helpful? Give feedback.
All reactions