请问为什么每一秒都要算一个新的session?

请问为什么每一秒都要算一个新的session? 不能1个人的1个ride, 15 min都用一个session吗?

谢谢。

这里计算的是在任意时刻平均有多少个 Session。没有说要每秒一个 Session。

“这里计算的是在任意时刻平均有多少个 Session”
Sorry, I still didn’t quite understand why multiplying by 15 * 60?

Under the assumption:
1M DAU, every user call 5 times/month uber service, each time 15 minutes,
shouldn’t the average QPS be 1M * 5 assuming one session during the whole 15 minutes?

To me, unless during the 15 minutes, every second there is a new session, then
QPS = 1M *5 * 15 * 60 where 15 * 60 represents how many seconds in 15 minutes, i.e., one ride

Thanks,

不是这样的,这里不是计算 QPS,QPS 单位是 per second,而 # of session 是没有单位的,并不是每秒一个 session。打个比方,你有5个苹果,那么你每时每刻都有五个苹果。跟每秒给你5个苹果是两回事。