Skip to content

Q: Waline 统计文章阅读数时如果并发高时PV计数不准确 || Q: When Waline counts the number of article reads, if the concurrency is high, the PV count will be inaccurate. #2486

Closed Answered by lizheming
longluo asked this question in Q&A
Discussion options

You must be logged in to vote

这块的实现比较简单,是数据库字段的+1处理,也没有事务,在高并发下是会有问题的。


The implementation of this part is relatively simple. It is +1 processing of database fields and there are no transactions. There will be problems under high concurrency.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lizheming
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants