Last post Jun 18, 2015 12:48 PM by kashyapa
Jun 09, 2015 09:54 AM|skliz4rel|LINK
I have developed a search directory that has ecommerce shops plugged into it for my clients.
But I was doing a research on some exsisting local search system like Foursquare.
I discovered that they used Nosql db. especially when they are doing intuitive based on location and others. So I have been doing research on Nosql dbs.
I what my asp.net app to store my merchants in mysql db and a nosql db.
So when a user wants to do a search the app would talk to a nosql db. But my question now is which Nosql db should I use.
1. One of my key requirement is speed of search, users dont want to wait for long to get search result even at a low data plan.
2. Intelligence and power of search.
I am researching on Redis Nosql db and Mongo db.
I have seen that Redis is incredibly fast but I dont know if Mongo db is better for this job. Foursquare used Mongo db.
Please what is the best for my architecture.
Jun 16, 2015 11:22 AM|deepalgorithm|LINK
Redis and MongoDB are very different.
Redis is an “advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.” It’s designed for all in memory work and is very fast. It offers
persistence (to disk), master-slave asynchronous replication, Pub/Sub, transactions, automatic fail-over, and a few other good features.
MongoDB is a cross-platform document oriented database and it is considered a document-store. It comes with all the necessary plumbing to handle sharding across multiple nodes, replication with automatic failover (replica sets), and a rich high-level query
I would use MongoDB for data that will exist forever and Redis for transient data.
You can use both in conjunction.
Jun 18, 2015 12:48 PM|kashyapa|LINK
Microsoft Azure has a NoSQL offering called DocumentDB. whats cool about DocumentDB is that it automatically indexes each property you store in your record. it provides a SQL dialiect to read data. it has .NET SDK as well as JS sdk i think.
i would say take a look at DocumentDB as your backend store. MSN.com internally uses DocumentDB for storing data.