Nitrite/Java: Distributed application #32
Answered
by
anidotnet
flatlanderer
asked this question in
Q&A
|
I'd like to ask how can we use Nitrite for a distributed application? This would mean
|
Answered by
anidotnet
Mar 11, 2021
Replies: 0 comments 1 reply
|
Nitrite is an embedded database, only a single process at a time can access the database file for read and write operation. Once the database file in opened in a process, other process cannot open the file. But in a single process the database can be accessed by multiple threads. Nitrite is not like traditional server side database system, it does not comes with a database server. Here the idea is that the database system is embedded in your application as a library. It is ideal for mobile application or desktop application or small server side application where only one instance is accessing the database. |
0 replies
Answer selected by
anidotnet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nitrite is an embedded database, only a single process at a time can access the database file for read and write operation. Once the database file in opened in a process, other process cannot open the file. But in a single process the database can be accessed by multiple threads.
Nitrite is not like traditional server side database system, it does not comes with a database server. Here the idea is that the database system is embedded in your application as a library. It is ideal for mobile application or desktop application or small server side application where only one instance is accessing the database.