Advantages of sqlite3 vs CouchDB for an application, for example, for a personal reader?

Let's say I wanted to create a feed reader that downloads RSS and Atom feeds to your local computer and allows you to view them locally. What are the advantages and disadvantages of using CouchDB or sqlite3 as the data store for such an application?

+3
source share
2 answers

Good resume from rsp. Without knowing more about your requirements, it's hard to say which one is best for your use case. One of the clear benefits SQLite provides is its simplified installation and administration. As a library, it is associated with your application and is installed with your application. There is no separate database to install and configure. This is one of the features that makes database libraries such as SQLite and Berkeley DB very attractive, and perhaps preferable to database servers.

, Berkeley DB Berkeley DB Java Edition - , . Berkeley DB ( C) API- - , API-, POJO, SQLite- SQL API. Berkeley DB Java Edition (100% Java) Java API -, Java POJO- . Berkeley DB SQLite, , , .

: Berkeley DB, .: -)

+4

SQLite CouchDB, , , , , .

SQLite - SQL, ().

CouchDB - NoSQL, JSON ( ).

SQLite .

CouchDB .

SQLite - , C API.

CouchDB - - RESTful, API - HTTP JSON.

SQLite .

CouchDB - -.

SQLite C.

CouchDB Erlang.

? .;) .

+16

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


All Articles