Jump to content


xylex

Member Since 25 Jul 2007
Offline Last Active Feb 27 2014 04:25 PM

Posts I've Made

In Topic: Geo-targeting suggestions

14 February 2014 - 06:44 PM

You're looking for setting up "Geo DNS" - Google that and it will have the info you're looking for.  My preference is to use AWS's Route53 for this, good tutorial at http://www.cyberciti...eodns-tutorial/


In Topic: Laptop Suggestions

18 April 2013 - 05:50 PM

Just graduating college and going into the software field?  If so, I'd go sleek and slim for your personal laptop.  You're likely to end up with a big bulky powerhouse from work, always nice to have something more portable too.


In Topic: Will mysql connection functions really disappear from PHP?

25 February 2013 - 01:01 AM

Earthenware- that error is related to too many local sockets being opened up in the same port range. If this is something you're seeing normally under your traffic patterns, you might want to consider using persistent connections so that you're not constantly spinning up new sockets.

http://www.php.net/m...ersistconns.php

In Topic: most eficient way to do a dictionary search

12 February 2013 - 04:02 PM

Yeah, MongoDB would work for this. Reason I'm suggesting it is that you're basically trying to do that with the earlier suggestions - get everything that looks like it could be a match (Map) - and then filter out just the ones that you want (Reduce). Doing it with just MySQL and PHP means that this process in single threaded/single instance orientated and won't scale well to huge datasets - might not be an issue in this specific use case, but if it's a learning project, might as well go big.

Mongo runs a single thread per instance in its map/reduce handling, hence the idea to shard it across multiple instances.

In Topic: most eficient way to do a dictionary search

12 February 2013 - 03:07 AM

This sounds like a problem for map-reduce across a few shards. Any reason you're picking MySQL?

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com