Which nosql database is ideal for storing code / snippets?

I want to save the code, similar to how the jsfiddlecode stores. I am currently using Postgresfor my main database, but I am wondering if it is better to use a NoSQL database?

The code snippets will now have only one author, but in the future there may be several authors, and I also want the opportunity to return.

I know that there are key / value databases and document-oriented databases. Which specific noSQL dll will meet my needs? Or should I still stick with my Postgres db?

FYI:

  • I am using django
  • Users will be persistent in postgres (I use openID)
+3
source share
3

, , .

, , . , .

, , PostgreSQL. (, , , ..) . GIST .

Apache Solr, , .

+1

NoSQL, , , XML ( concurrency), , Paradox, dBase, FoxProx Access. .

, , NoSQL . .

  • . ? (SQL Server, Interbase, Firebird)

  • Concurrency. ? 10 ? (PostGres, MySql, Interbase, Firebird)

  • . ?

  • . ? . ( , Paradox, dBase, FoxPro, Access, Interbase, Firebird SQLite)

  • . Mac, Linux, Windows. (SQLite)

+1

, NoSQL .

, PostgreSQL, . SQL, NoSQL , (, , - " " ) .

What do you get for this problem? You want to manage versions. CouchDB will give you version control, but it is doubtful whether this should be used for version control at the UI level (for example, since database compaction will result in the loss of older versions).

+1
source

Source: https://habr.com/ru/post/1767266/


All Articles