CouchApps and user authentication

CouchDB has released a simple authentication api but has no in built authentication mechanisms as of yet. The simplest and easiest way to do this is to use an http proxy for authentication. However this has limitations on how much you can restrict access on a per document basis. When CouchDB gets some more support … Read more

Sorting CouchDB Views By Value

It is true that there is no dead-simple answer. There are several patterns however. http://wiki.apache.org/couchdb/View_Snippets#Retrieve_the_top_N_tags. I do not personally like this because they acknowledge that it is a brittle solution, and the code is not relaxing-looking. Avi’s answer, which is to sort in-memory in your application. couchdb-lucene which it seems everybody finds themselves needing eventually! … Read more

CouchDB a real world example

The upcoming book by O’Reilly is free to read online: http://books.couchdb.org/relax/ Just install and play around – you can do straight http requests using curl on the command line, or use the built-in web interface called futon. Storing and retrieving data is really easy, the hardest part is thinking in terms of map/reduce-views instead of … Read more

Redis, CouchDB or Cassandra? [closed]

The strengths and weaknesses of the NoSQL databases (and also SQL databases) is highly dependent on your use case. For very large projects, performance is king; but for brand new projects, or projects where time and money are limited, simplicity and time-to-market are probably the most important. For teaching yourself (broadening your perspective, becoming a … Read more

Choosing MongoDb/CouchDb/RavenDb – performance and scalability advice [closed]

if “20,000 concurrent writes” means inserts then I would go for CouchDB and use “_changes” api for triggers. But with 20.000 writes you would need a stable sharding aswell. Then you would better take a look at bigcouch And if “20.000” concurrent writes consist “mostly” updates I would go for MongoDB for sure, since Its … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)