Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag issue #15

Open
jakesabathia2 opened this issue Jun 26, 2020 · 4 comments
Open

Lag issue #15

jakesabathia2 opened this issue Jun 26, 2020 · 4 comments

Comments

@jakesabathia2
Copy link

Not sure if I'm the only one suffering from the delay in the quick match mode,
it is pretty hard to even control the ball,
and it's almost impossible to spike in this case.
Don't know if this issue can be solved or not tho ...

@gorisanson
Copy link
Owner

gorisanson commented Jun 26, 2020

@jakesabathia2
Maybe the physical distance between you and the peer connected with you would be the reason. Maybe you live in Seattle, USA. But, currently, most users in the quick match mode live in South Korea. I'm considering to divide users by their location. But, the number of users outside South Korea are very few, so, I think users outside South Korea would not find a peer near them in the quick match mode if they are divided by their location. So, currently, I'm sorry about that, but, I think you can play the game without lag only with one of your friends who live near you.

@jakesabathia2
Copy link
Author

jakesabathia2 commented Jun 30, 2020

@gorisanson
Thanks for replying.
But I found that when the game begin (by inviting people to my room), it goes pretty smooth on both sides, even though I'm at the US and my friend is in Taiwan
However, I observed that after the middle of the game (says 7 points),
it becomes super lag on my side.
So I'm wondering if it is a bug?

@jakesabathia2 jakesabathia2 changed the title Pretty lag for quick match mode Lag issue Jun 30, 2020
@gorisanson
Copy link
Owner

gorisanson commented Jul 1, 2020

@jakesabathia2

Thank you for detailed explanation!

How high is the average ping value displayed before the game starts when you play with your friend in Taiwan? About half of the value would be input lag. And had you and your friend connected to the internet via Ethernet, or via WiFi? (As you will probably be aware, Ethernet is more reliable for constant packet deliveries than WiFi. Since WiFi is more susceptible to interference.)

Speaking of my experience, when I played the game with one of my friends in US (I live in South Korea), the average ping value was about 180ms. There's some input lag (maybe about 90ms) and it feels quite laggy, but the game itself was playable. It's when I connected to the internet via Ethernet, and my friend WiFi.

And when both I and my friend had connected to the internet via WiFi, the ping value had been higher than 180ms, and the game was almost impossible to be played maybe since jitter — the rate at which ping changes over a period of time: the more inconsistent the packet delivery times, the higher the jitter — was high.

You can see the ping value list logged in console in developer tool (you can open it by pressing F12 in Chrome) like below:

Screen Shot 2020-07-01 at 11 22 46 AM

(On the image above, the pings are 9, 7, 7, 7, 6 on five measurements, so the average is 7.2 ms.)

Could you capture an image like this when you play with your friend? Then, we can see how much the jitter is.

@gorisanson
Copy link
Owner

gorisanson commented Jul 1, 2020

However, I observed that after the middle of the game (says 7 points),
it becomes super lag on my side.
So I'm wondering if it is a bug?

I can't figure out the exact reason, but sometimes the p2p connection can become unstable in the middle of playing the game. Does every game you play become laggy in the middle of playing? Or, just some of the games becomes laggy? And could you tell me what kind of lag you talk about? Is it input lag?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants