View Single Post
Old 03-17-2022, 12:33 AM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by phil-flash View Post
I am thinking something like this can only track one domain at a time, each free site needs it's own database and copy of the script. Is this correct?
No, you can run the traffic all to one mysql table as long as it's indexed correctly. If you want to 'shard' it, you can do a separate table per site but when you start doing that any changes to the traffic table as you build out your script you've gotta do X times instead of once.

I would start it as one table and if it becomes a bottleneck look into ways of splitting it up.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote