index.html 4.5 KB

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