{"repo":"neoeinstein/modyne","free":true,"listed":false,"github":"https://github.com/neoeinstein/modyne","clone":"git clone https://github.com/neoeinstein/modyne.git","description":"An opinionated Rust library for interacting with AWS DynamoDB single-table designs.","language":"Rust","stars":66,"topics":["aws-sdk","dynamodb","orm"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Modyne An opinionated library for interacting with AWS DynamoDB single-table designs. [ ][docsrs] [ ][cratesio] Motive Modyne follows the precepts laid out for effective single-table design when working with DynamoDB, as laid out in [ The DynamoDB Book by Alex DeBrie][DDB] and the [DynamoDB Guide companion website][DDG]. Such designs take advantage of the fact that certain access patterns fit very well with the relatively simple architecture of AWS DynamoDB, wherein a partition contains all the items for a given partition key within a BTree structure, sorted by a sort key . Because of this architecture, DynamoDB rewards accessing ranges of items within a single partition through the Query operation. Additional access patterns may be enabled through global secondary indexes , and sparse indexes can be used to enable efficient Scan operations. Leveraging single-table design, multiple different entity types can be mixed into a single DynamoDB table, and multiple entity types may cohabitate within an individual partition. Often the raw attributes of an item are not used as the keys. Instead, synthetic keys are generated from those raw attributes to support the efficient use of partitions and indexes in Query and Scan operations. Concept In modyne , the consumer of the crate will define their various entities in code, providing implementations for Serde serialization and deserialization, as well as providing an implementation for the Entity trait. This trait is the core of modyne ","default_branch":null,"files":null,"tree":[],"storefront":"/r/neoeinstein","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/neoeinstein/modyne/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}