V
V
Vladimir Grabko2016-08-06 07:07:27
go
Vladimir Grabko, 2016-08-06 07:07:27

How does boltDB work?

I have a few questions.
1. Bolt stores data in RAM, and if so, what kind?
2. If there is a change in the data, will they be guaranteed to be saved?
3. With what data size will he be comfortable?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita, 2016-08-06
@VGrabko

Here, I googled it for you - https://github.com/boltdb/bolt , read it.
It's my pleasure.

E
Evgeniy Ivakha, 2016-08-11
@ivahaev

1. Stores data on disk, maps to RAM.
2. If the transaction is completed, the data is on disk.
3. There are restrictions on the size of the key and the size of the value (there are in the dock). The Readme writes that it works in production with a base of several TB. To believe or not is everyone's business. In my projects with databases up to a gigabyte, everything works fine.

A
awesomer, 2018-04-05
@awesomer

from the interesting in the dock it is written that:
I personally like that this is Pure Go, that is, without any compilation problems on any platform.
I considered other DBMSs (including those recommended in the documentation for BoltDB as alternatives more suitable for intensive write operations) - I didn’t like the fact that you have to bother with pieces in C. and this is a potential rake.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question