Commit Graph

10 Commits (main)

Author SHA1 Message Date
absc 23a32724e8 Corrected missing "ok". 2024-10-12 21:55:28 +00:00
absc 217117a289 Handle the activity/4 return arguments better. 2024-10-12 21:31:52 +00:00
absc cbdbdb6c32 Use the partitioning access functions for mnesia. 2024-10-11 20:25:58 +00:00
absc 140427853e Add delete_set, a function needed to remove a series of records from a bucket. 2024-09-15 20:18:38 +00:00
absc 0e7c173cba Corrected the usage of ERLFLAGS. 2024-08-15 22:48:21 +00:00
absc 73d98ed56f Move the defines in their own file.
At the same time, simplify a bunch of APIs.
2024-08-15 20:27:02 +00:00
absc 59f02f4edf This application will handle the mime types at the web request layer. 2024-08-02 23:05:41 +02:00
absc 60989b17cd Revert "Remove table replica functions."
This reverts commit 529f15c301.

We want to be able to move things around in the end.
2024-07-28 19:26:44 +02:00
absc 529f15c301 Remove table replica functions.
Those were there when this application didn't use fragmented
tables.

Now, all the buckets are fragmented by default and we provide
the grow/1 and shrink/1 functions to expand the tables along
with the fragment properties.
2024-07-28 17:50:04 +02:00
absc 14e6c3cc94 Import the storage application.
This is a small abstraction layer on top of mnesia. It simplifies
table management and addition of replicas and nodes.

Some things to add in the near future:

	* Removing nodes from a mnesia cluster is not supported.
	* Observability and event handling is missing.

While it's possible to perform the aformentioned functions with
the mnesia own APIs, adding some simplifications for day to day
management may be a good idea.

However, the library is already used in another project and it's
good enough for an initial use. It will be extended if and when
required.
2024-07-23 22:09:08 +02:00