Detecting language by location
I was recently exploring the new skype manager system while on a trip in Germany. I was logged in with my account which is set to English. I had accessed the site via the International English URL and...
View ArticleInternational IDEA site gets top grades
IPSAportal, the portal of the International Political Science Association has just released this year's top Political Science websites and IDEA's site has again got top scores. See International IDEA's...
View ArticleMongodb group and reduce
I have some data like this:{id: 1, text: "This is a sentence about dogs", indices: ["sentence", "dogs"]} {id: 2, text: "This sentence is about cats and dogs", indices: ["sentence", "cats", "dogs"]}...
View ArticleMongo tip: Avoid DBRef at all costs
We use Morphia for making life easy when persisting Java objects to a MongoDB datastore. This library does most of the work of marshalling objects and preparing queries. Unfortunately when referencing...
View ArticleMongo tip: Disable table scans for development
Just like in any relational database, table scans in Mongo are very slow. In the mongod.conf configuration file you can disable table scans with:notablescan = trueNow when you try to make a query that...
View ArticleMySQL building interface to Memcache
Mario beck writes:Why not use memcached directly?Why that plugin to MySQL? Memcache is a memory caching but not a persistent datastore. The memcached plugin for MySQL stores the data in an InnoDB...
View ArticleStop Varnish caching timed-out pages
We've been working with a client who runs a very overloaded ColdFusion web server and have been setting up Varnish cache on Amazon AWS to alleviate some of the load and significantly increase page...
View ArticleVarnish caching in memory
We've been experimenting with Varnish for the last week or so and have been very satisfied with the results. Initially we allocated 1GB for cache storage, but have found that to be insufficient. Our...
View ArticleFuzzy matching with MongoDB
We have been migrating lots of data from MySQL and MongoDB primarily because of the later's ability to process large amount of data with map/reduce. One collection of data we process are aligned...
View Article
More Pages to Explore .....