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

Stops working after some time, then gets back if queried frequently. #3

Closed
zvukoper opened this issue Aug 18, 2011 · 2 comments
Closed

Comments

@zvukoper
Copy link

Hi Austing, it's Mikhail :)

All is working good, except one tiny issue. I don't even sure it's GameQ issue.

I have TS and Arma2 server queries on one simple page showing player list.

If I reload page with my query some few times during one minute then the queries somehow stop receiving replies. I mean connection is established but nothing else. Then in some 5-10 minutes all get's back and works perfectly. If reloads happen not frequent - works fine. If too fast, seems blocked or someting.

Can you guaess what can be the cause and how to deal with it?

P.s. I have only idea of building cache system and query data once in 5 mins by cron table.

Thanks in advance!

@Austinb
Copy link
Owner

Austinb commented Aug 18, 2011

Hello,

I would highly recommend a caching layer on top of GameQ. Most newer game servers have anti-ddos measures to help prevent servers from being attacked. My guess is that Arma2 has something like this.

I would say 5 minutes is a good expiry time.

Please let me know if you have any other issues.

-Austin

@Austinb Austinb closed this as completed Aug 18, 2011
@zvukoper
Copy link
Author

Thanks, I did exactly what you said and now all is stable.
I'm caching it once in 5 mins.

Here's the implementation (in Russian though :) ) http://ra.velmet.org/arma2/gameq/example.php

@Austinb Austinb mentioned this issue Aug 22, 2012
@devu4 devu4 mentioned this issue Oct 5, 2014
bumbummen99 pushed a commit that referenced this issue May 22, 2022
rostov114 added a commit to rostov114/GameQ that referenced this issue Oct 17, 2023
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