Re: Counting Online users, but not using a Session Table in MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How did you created the table? Can you count the Id's only? Wouldn't this just count the entries in the index?

On 28/01/2011 12:57, AmirBehzad Eslami wrote:
Dear list,

The common solution for counting online users is to store sessions in a Table.
I've created a Table in MySQL to acheive the result, but it seems this solution
is a little heavy for such a simple task.

Is there a better alternative? Can I use SqlLite to make COUNT(*) queries based
on a where statement?

Is there any better solution? Do you know any way to store sessions in Memory?

Does Memcache support counting sessions?

I'm looking for a high-performance solution to count online users.
What do you think?


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux