Community Forums Today's Posts     Member List     Archive    
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2012
    Posts
    10

    better performance for ServerQuery

    TeamSpeak3::factory() takes 1 second and I need a very fast way to test if the server is online. Is there a faster alternative? I checked the mysql database and there's nothing in there to indicate if the server is online. I also checked the teamspeak root directory and there's nothing in there either.

    Thank you.

  2. #2
    Join Date
    Jul 2006
    Posts
    1,573
    You can use php's fsockopen() and stream functions (fgets, fputs) directly.

    Or a loop which checks, say, every 10 seconds for online status and saves the current state to have it "cached" on the next call.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. requirements and performance
    By a*nonymous in forum Linux / FreeBSD
    Replies: 2
    Last Post: 11-02-2010, 12:55
  2. Performance
    By remopini in forum Linux / FreeBSD
    Replies: 3
    Last Post: 22-12-2009, 19:44
  3. TS2 & UT2003 performance
    By Lunatic in forum [TeamSpeak 2] Client Support
    Replies: 1
    Last Post: 17-12-2002, 01:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •