PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Sep 18, 2019 10:09 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Sat Jan 03, 2015 10:09 am 
Offline
Forum Contributor

Joined: Fri Jul 18, 2014 1:54 pm
Posts: 179


Top
 Profile  
 
PostPosted: Sat Jan 03, 2015 10:48 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada

_________________


Top
 Profile  
 
PostPosted: Sat Jan 03, 2015 11:33 am 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13592
Location: New York, NY, US
There are are pretty standard architectures for this with cache servers on the front edge, backed by load balancers that distribute requests to multiple application servers backed by multiple database servers.

The fact that you mention reading files rather than using a database and looping through those files raises a red flag.

I would recommend building a well coded application and worrying about scaling when it becomes an actual problem.

Actually, I think the Worse is Better approach may be the way to go. Just build something as quickly a possible that does what you want and see if the world actually loves it. If they do, then hire pros with all the money you are making. If they don't then you have lost the minimum amount of time and can move on to your next great idea. PHP excels at this e.g., Facebook, Wikipedia, WordPress, etc., etc., etc.

_________________
(#10850)


Top
 Profile  
 
PostPosted: Sun Jan 04, 2015 11:43 pm 
Offline
Moderator
User avatar

Joined: Mon Nov 03, 2003 7:13 pm
Posts: 5978
Location: Odessa, Ukraine
Apart from good points above I need to point that timezones (roughly) correlate to longitude, not latitude:
ezgif.com-resize (1).gif
ezgif.com-resize (1).gif [ 1.01 MiB | Viewed 8203 times ]


Top
 Profile  
 
PostPosted: Fri Jan 09, 2015 10:55 am 
Offline
Forum Contributor

Joined: Fri Jul 18, 2014 1:54 pm
Posts: 179


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group