Hello! I have a task to divide the main database on Foundationdb into two parts - the main database and the archive database.
I have a question: how can I limit the write access to the archive database and set it to ReadOnly mode using the standard Foundationdb tools?
FDB focuses on providing the A, I, & D of ACID (atomicity, isolation, and durability). Consistency (ensuring data adheres to specific structures & access patterns) is managed by the clients. If want a part of your DB to be read-only, simply write clients which only read. You can use read transactions to ensure this on the transaction level.
If you don’t trust the clients accessing the DB, you’ll need to develop a proxy layer in front of FDB which ensure clients can only read.