chavoosh / ndn-mongo-fileserver

An NDN fileserver based on MongoDB
GNU General Public License v3.0
5 stars 2 forks source link

Add session-segments.py script #7

Closed wenkaizheng closed 4 years ago

wenkaizheng commented 4 years ago

This script plots the number of received Data packets by the consumer, during each video session.

chavoosh commented 4 years ago

I would change the title to this: Add session-segment.py script

This script does not exist in the repo, so you cannot talk about a bug in it, yet. First, explain what this script does and that is it. Then in another comment talk about the bug in your code and the way you are trying to solve it.

chavoosh commented 4 years ago

Also, assign this issue to yourself.

wenkaizheng commented 4 years ago

The max segments show from sort command line is 165538. Second max and Third max segment are 156024 and 155081. So this plot may be right? The top 3 sessions from plot are around 160000. Do you think this plot still have problem ?

image

chavoosh commented 4 years ago

Please share the log file and the session ID with the max number of segments.

wenkaizheng commented 4 years ago

Session ID is 355326784144 The name of log file is segment-stats.log, but this file is to big to load in here. I can share this file with you through Slack.

chavoosh commented 4 years ago

I checked the log file and I confirm your observation. Session ID 355326784144 is a long video with too many segments. Do you need to do more tests to validate the implementation?

wenkaizheng commented 4 years ago

I tested it yesterday and also today morning. I think i can push my code today.

wenkaizheng commented 4 years ago

I will take a look at other sessions for testing as well, and i will be able to push my code today.