travyo
travyo

Reputation: 493

Recommendations for a noSQL database for use with Python

I'm writing a small Python CGI script that captures the User-Agent, parses the OS, browser name and version, maps it to a database, and returns a device grade (integer). Since this is only one table, it's a pretty simple operation, but I will likely have substantial traffic (10,000+ hits a day, potentially scaling much higher in the near and far future).

Which noSQL database would you recommend for this sort of application? I would also like to build an admin interface which allows for manual input and is searchable. I'm fairly new to Python and completely new to noSQL, and I'm having trouble finding any good info or libraries. Any suggestions?

Upvotes: 2

Views: 864

Answers (3)

Zhehao Mao
Zhehao Mao

Reputation: 1789

It depends on your use-case. Are you planning on caching the records temporarily or do you want the records to persist? If the former, Redis would be the best choice because of its speed. If the latter, it would be better to choose either CouchDB or MongoDB because they can handle large datasets.

Upvotes: 2

lysdexia
lysdexia

Reputation: 1806

I've had great luck with CouchDB. The couchdb-python module is pretty easy to use and is under very active development.

Upvotes: 1

alienhard
alienhard

Reputation: 14692

I suggest Redis. It probably fits well for what you want to do. And it is fast but still simple to set up and use.

Upvotes: 3

Related Questions