async-append-only-log | A new append-only-log for SSB purposes

 by   ssb-ngi-pointer JavaScript Version: 4.3.7 License: No License

kandi X-RAY | async-append-only-log Summary

kandi X-RAY | async-append-only-log Summary

async-append-only-log is a JavaScript library. async-append-only-log has no bugs, it has no vulnerabilities and it has low support. You can install using 'npm i async-append-only-log' or download it from GitHub, npm.

This module is heavily inspired by flumelog-aligned-offset. It is an attempt to implement the same concept but in a simpler fashion, making it easier to reason about the code. A log is the lowest part of the SSB stack, so it should extremly stable while still maintaining good performance. A log consists of a number of blocks, that contain a number of records. A record is simply it's length, as a 16-bit unsigned integer, followed by the data bytes. A record must be in one and only one block, which means there probably will be some empty space at the end of a block. Blocks are always written in full. In contrast to flumelog-aligned-offset there is no additional length after the data in a record and no pointer at the end of a block. These were there to be able to iterate over the log in reverse, but I have never seen the need for that. Writing to the log is always async. Note this is different from flumelog-offset and flumelog-aligned-offset. The since observable will be updated once the data is written. The onDrain callback can be used to know when data has been written if needed. Streaming will only emit values that have been written to storage. This is to ensure that a view will never get ahead of the main log and thus end up in a bad state if the system crashes before data is written. get will return values that have not been written to disk yet. This module is not compatible with flume without a wrapper around stream as it uses the same terminology as JITDB and ssb-db2 of using offset for the byte position of a record instead of seq.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              async-append-only-log has a low active ecosystem.
              It has 12 star(s) with 5 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 8 have been closed. On average issues are closed in 6 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of async-append-only-log is 4.3.7

            kandi-Quality Quality

              async-append-only-log has no bugs reported.

            kandi-Security Security

              async-append-only-log has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              async-append-only-log does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              async-append-only-log releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of async-append-only-log
            Get all kandi verified functions for this library.

            async-append-only-log Key Features

            No Key Features are available at this moment for async-append-only-log.

            async-append-only-log Examples and Code Snippets

            No Code Snippets are available at this moment for async-append-only-log.

            Community Discussions

            No Community Discussions are available at this moment for async-append-only-log.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install async-append-only-log

            You can install using 'npm i async-append-only-log' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i async-append-only-log

          • CLONE
          • HTTPS

            https://github.com/ssb-ngi-pointer/async-append-only-log.git

          • CLI

            gh repo clone ssb-ngi-pointer/async-append-only-log

          • sshUrl

            git@github.com:ssb-ngi-pointer/async-append-only-log.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular JavaScript Libraries

            freeCodeCamp

            by freeCodeCamp

            vue

            by vuejs

            react

            by facebook

            bootstrap

            by twbs

            Try Top Libraries by ssb-ngi-pointer

            go-ssb-room

            by ssb-ngi-pointerGo

            jitdb

            by ssb-ngi-pointerJavaScript

            ssb-db2

            by ssb-ngi-pointerJavaScript

            rooms2

            by ssb-ngi-pointerHTML

            netsim

            by ssb-ngi-pointerGo