roundware / roundware-ios-framework-v2

Roundware framework, updated for api v2 and re-built in Swift (as much as possible)
MIT License
1 stars 8 forks source link

Throttle PATCH streams/ requests in Listen filter screen #30

Open hburgund opened 7 years ago

hburgund commented 7 years ago

Currently, each time a tag is selected or unselected, a PATCH streams/ request is sent to the server with the new list of tag filters. This leaves open the possibility of a user rapidly tapping items on and off which would potentially cause overloading issues or odd behavior on the server. The client should prevent this behavior.

Two possible fixes are:

I am fine with either method at this point. If they require equal effort, the latter is probably more sensible overall, but there are arguments for both.