The client call api to query the list of products that were sorted by the number of pageview in descending order. Sometimes it happens trouble case: The client A send a request => server response the list of top 5 articles has the most pageview on page one
- Article A
- Article B
- Article C
- Article D
- Article E
Right after response page one, the article G increased the pageview dramatically and take the 5th rank. As the result, the article E will down rank and moved to page two. If page two still response the article E, totally it has been appeared two times in the client side.
What's best solution either on user experiense or on api design?