[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mutating existing persistent data
From: |
Lars Ingebrigtsen |
Subject: |
Re: Mutating existing persistent data |
Date: |
Tue, 07 Dec 2021 06:41:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes:
> I think the fallback mechanism should also store data to disk, perhaps
> by serializing a hash table with `print' and writing it to a file.
That would mean writing a lots of itsy bitsy files (i.e., using the file
system as the DB) if this is going to have any kind of meaningful
concurrency. Otherwise Emacsen will just be overwriting each other's
data aggressively.
And it'll be dog slow.
So I don't see the use case. Virtually all systems have sqlite, and if
the users have chosen to not build Emacs with it, they don't get the
persistence feature. That's no different from when they choose to build
without libxml -- they don't get to read web pages in Emacs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: sqlite3, (continued)
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Re: sqlite3, John Yates, 2021/12/06
- Re: sqlite3, Qiantan Hong, 2021/12/06
- Mutating existing persistent data (was: sqlite3), Stefan Monnier, 2021/12/06
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/06
- Re: Mutating existing persistent data, Po Lu, 2021/12/06
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Po Lu, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Po Lu, 2021/12/07
- Re: Mutating existing persistent data,
Lars Ingebrigtsen <=
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Po Lu, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Po Lu, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Lars Ingebrigtsen, 2021/12/07
- Re: Mutating existing persistent data, Qiantan Hong, 2021/12/07
- Re: Mutating existing persistent data, tomas, 2021/12/07
- Re: Mutating existing persistent data, Andreas Schwab, 2021/12/07