dynamodb

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package dynamodb implements a dynamodb backed ingestion.Committer.

The storage structure uses a key-value mapping for each chain ingestor to the latest commit. For example:

| ingestor | latest |
|----------|--------|
|   kin2   |   v    |
|   kin3   |   v    |
|   kin4   |   v    |

The commit function uses an atomic compare-and-swap to ensure that the parent matches the stored latest, and that the new latest is 'older' than the previous latest.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL