3 ms·
Is it all written in ColdFusion or something? http://gigaom.com/2010/06/08/how-zynga-survived-farmville/ http://gigaom.com/2010/06/08/how-zynga-survived-farmvi
by zalew 16y ago
Is it all written in ColdFusion or something?
http://gigaom.com/2010/06/08/how-zynga-survived-farmville/ http://gigaom.com/2010/06/08/how-zynga-survived-farmville/
Zynga uses Apache PHP on the front end, memcached for active user play and MySQL on the back end. It uses memcached to store key value pairs to deal with active user play during sessions and then later writes it to disk.
- brown9-2 16y agoI'm obviously asking the wrong person, but if they use memcached as a temporary datastore until another process can come along later and write the data to disk, what do they do if a memcache node fails? Or would a node fail rare enough for the data loss to not matter much?
- zalew 16y agoI imagine they have other memcached nodes for failover. Have no idea how it's all managed though.