...
Info |
---|
|
...
Once the view ends, the progress can be updated either synchronously or asynchronously
Progress Update: Sync
...
Pros:
There will no lag between viewer read and viewer summary.
No need of a separate sync process
Cons:
Updating multiple cassandra tables might have impact on performance with huge load
Progress Update: Async
...
Pros:
Can expect better performance as we update only
user_content_consumption
Cons:
Expect a lag between viewer read and viewer summary responses.
Need a separate sync process on failure of the progress updates.
Content View Lifecycle:
When the user view the content in context of a collection and batch, for the first time its start, progress update and end triggers are processed. Revisit (2nd - nth view) of the content will be ignored to process and update the DB.
...