Skip to content

elpaisa/etspersist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status / link to build job

etspersist

Erlang OTP19 ETS Persistence module

Overview

This module keeps the state of ETS tables and allows to manage data from it.

Please see project definition documentation

Ownership

etspersist is owned by the elpaisa. Feel free to email me."

How to contribute

Always submit issues for discussion before creating any pull requests.

How to report defects

Open github issues

Running locally

For running locally please use.

git clone git@github.com:elpaisa/etspersist.git.git
cd etspersist
make shell

etspersist requires configuration parameters. Copy the sys.config.tmpl as config/sys.config and edit it accordingly:

cp sys.config.tmpl config/sys.config
vim sys.config
%%-*- mode: erlang -*-
[
  {etspersist, [
    {timeout_ms, 5},
    {max_timeout_ms, 1000}
  {sasl, [
    {sasl_error_logger, false}
  ]}
].
% vim:ft=erlang

Once you have filled out the above changes to the sys.config, you can start etspersist:

make shell

Or

./rebar3 shell

Testing

To run the tests, execute:

make test

Unit Tests

To run the unit tests alone, execute:

make eunit

OR

./rebar3 eunit

If there is something unique about the eunit configuration, or the output of the tests or code coverage are sent somewhere different than conventional, describe here how to view those reports.

Common tests

To run the common tests alone, execute:

make ct

About

Erlang OTP 19, ETS persistence module

Resources

License

Stars

Watchers

Forks

Packages

No packages published