index.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <!DOCTYPE html><html><head><meta charset="utf-8" />
  2. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  3. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  4. <meta name="description" content="" /><meta name="author" content="Maxim Sokhatsky" />
  5. <title>KVS</title>
  6. <link rel="stylesheet" href="https://n2o.dev/blank.css" />
  7. <link rel="stylesheet" href="https://n2o.dev/zima.css" />
  8. </head><body><nav>
  9. <a href="https://n2o.dev">DEV</a>
  10. <a href="https://kvs.n2o.space" style="background:#ededed;">KVS</a>
  11. <a href="https://n2o.dev/deps/kvs/man/ua/index.html">UA</a>
  12. <a href="index.html" style="background:#ededed;">EN</a>
  13. </nav><header>
  14. <a href="https://github.com/synrc/kvs"><img src="https://synrc.space/images/Synrc Neo.svg?v=1" /></a>
  15. <h1>KVS</h1>
  16. </header><aside>
  17. <article>
  18. <section>
  19. <h3>SYNOPSIS</h3>
  20. <div>KVS is the light version of client interface on top of BTREE database
  21. abstractions strive to support the basic features: </div>
  22. <div>
  23. <ul><li>Polymorphic tuples aka extensible records;</li><li>Basic schema for chain storage;</li><li>Backends: MNESIA, FS, ROCKS;</li><li>Extremely compact and battle-tested: 500 LOC.</li></ul>
  24. </div>
  25. <div>This is an essence and fruit of KVS; the abstract term interface
  26. with naive yet productive stream implementation. Useful for simple
  27. blockchains, messaging, storage, processing systems, and banking industry.
  28. KVS is used in BPE and BANK applications.</div><br/>
  29. <figure>
  30. <code> $ mad get kvs &#38;&#38; cd kvs
  31. $ mad com pla rep
  32. > kvs:join().</code>
  33. </figure>
  34. </section>
  35. <section>
  36. <h3>MODULES</h3>
  37. <div><ul><li><a href="man/kvs.htm">KVS</a></li><li><a href="man/kvs_stream.htm">STREAM</a></li><li><a href="man/kvs_fs.htm">FS</a></li><li><a href="man/kvs_mnesia.htm">MNESIA</a></li><li><a href="man/kvs_rocks.htm">ROCKS</a></li><li><a href="man/kvs_st.htm">ST</a></li></ul></div>
  38. <br />
  39. <div>
  40. APR 2019 © <a href="https://github.com/5HT">5HT</a> ISC<br />
  41. VER 6.6 6.5 6.4
  42. </div>
  43. </section>
  44. <section>
  45. </section>
  46. </article>
  47. </aside><main>
  48. <section>
  49. <h3>SESSION</h3>
  50. <figure><code>
  51. > kvs:join().
  52. ok
  53. > kvs:check().
  54. ok
  55. > kvs:all(reader).
  56. [{reader,1555175169121817000,0,[],[],
  57. {list,1555175169120161000},
  58. 0},
  59. {reader,1555175169121249000,0,[],[],
  60. {list,1555175169120161000},
  61. 0}]
  62. > rr(kvs).
  63. [emails,id_seq,iter,kvs,reader,schema,table,writer]
  64. > kvs:save(kvs:reader({list,1555175169120161000})).
  65. #reader{id = 1555175244188986000,pos = 0,
  66. cache = {emails,1555175169122304000},
  67. args = [],
  68. feed = {list,1555175169120161000},
  69. dir = 0}
  70. > kvs:take(kvs:bot((kvs:load_reader(1555175244188986000))#reader{args=-1})).
  71. #reader{id = 1555175244188986000,pos = 5,
  72. cache = {emails,1555175169127279000},
  73. args = [#emails{id = 1555175169127279000,next = [],
  74. prev = 1555175169126314000,email = []},
  75. #emails{id = 1555175169126314000,next = 1555175169127279000,
  76. prev = 1555175169125227000,email = []},
  77. #emails{id = 1555175169125227000,next = 1555175169126314000,
  78. prev = 1555175169123405000,email = []},
  79. #emails{id = 1555175169123405000,next = 1555175169125227000,
  80. prev = 1555175169122304000,email = []},
  81. #emails{id = 1555175169122304000,next = 1555175169123405000,
  82. prev = [],email = []}],
  83. feed = {list,1555175169120161000},
  84. dir = 0}
  85. </code></figure>
  86. </section>
  87. <section>
  88. <a name="plugin"></a><h3>CONTRIBUTORS</h3>
  89. <div>
  90. <ul><li><a href="https://github.com/5HT">5HT</a> — Namdak Tonpa</li><li><a href="https://github.com/proger">proger</a> — Vlad Ki</li><li><a href="https://github.com/doxtop">doxtop</a> — Andrii Zadorozhnii</li><li><a href="https://github.com/cryoflamer">cryoflamer</a> — Yuri Maslovsky</li><li><a href="https://github.com/qomputer">qomputer</a> — Igor Kharin</li></ul></div>
  91. <br /><br />
  92. </section>
  93. </main><footer>
  94. Made with <span class="heart">❤</span> to N2O
  95. </footer></body></html>