• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 12 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

local hosted, inmemory Amazon DynamoDB emulator.

FakeDynamo Build Status

local hosted, inmemory Amazon DynamoDB emulator.

Status

This project is no longer maintained. Checkout Amazon DynamoDB Local if you are looking for implementation of latest version.

Versions

Amazon DynamoDB API version FakeDynamo gem version
2012-08-10 0.2.5
2011-12-05 0.1.3

Caveats

  • ConsumedCapacityUnits value will be 1 always.

Usage

requires ruby >= 1.9

gem install fake_dynamo --version 0.2.5

fake_dynamo --port 4567

send a DELETE request to reset the database. eg

curl -X DELETE http://localhost:4567

Clients

AWS.config(:use_ssl => false,
           :dynamo_db_endpoint => 'localhost',
           :dynamo_db_port => 4567,
           :access_key_id => "xxx",
           :secret_access_key => "xxx")
 AWS.config.update({apiVersion:      "2012-08-10",
                    sslEnabled:      false,
                    endpoint:        "localhost:4567",
                    accessKeyId:     "xxx",
                    secretAccessKey: "xxx",
                    region:          "xxx"});
AWSCredentials credentials = new BasicAWSCredentials("xxx", "xxx");
AmazonDynamoDB client = new AmazonDynamoDBClient(credentials);
client.setEndpoint("http://localhost:4567");

please open a pull request with your configuration if you are using fake_dynamo with clients other than the ones mentioned above.

Storage

fake_dynamo stores the write operations (request that changes the data) in /usr/local/var/fake_dynamo/db.fdb and replays it before starting the server. Because of the way fake_dynamo stores the data, file size tend to grow by time. so fake_dynamo will compact the database during start up if the file size is greater than 100mb. you can manually compact it by passing --compact flag.

More Repositories

1

paisa

Paisa – Personal Finance Manager. https://paisa.fyi demo: https://demo.paisa.fyi
TypeScript
1,679
star
2

tide

Tide - TypeScript Interactive Development Environment for Emacs
Emacs Lisp
1,450
star
3

webify

webfont generator - converts ttf to woff, eot and svg
Haskell
434
star
4

u

μ is a JavaScript library for encoding/decoding state (JavaScript object) in URL
JavaScript
169
star
5

monky

Magit for Hg
Emacs Lisp
154
star
6

jquery-doc.el

jQuery api documentation interface for emacs
Emacs Lisp
56
star
7

fdb

FoundationDB client for Elixir
Elixir
50
star
8

zstream

An elixir library to write and read ZIP file in a streaming fashion
Elixir
46
star
9

tree-sitter-elixir

C
43
star
10

barlix

Barcode generator for Elixir
Elixir
41
star
11

memcachex

Memcached client for Elixir
Elixir
37
star
12

exunit.el

Emacs ExUnit test runner
Emacs Lisp
36
star
13

ex_unit_span

An ExUnit formatter to visualize test execution and find bottlenecks in your test suite.
Elixir
27
star
14

randex

An Elixir library to generate random strings that match the given Regex
Elixir
17
star
15

neato

NES emulator
Go
15
star
16

exq_limit

Exq Rate Limiter
Elixir
10
star
17

rails-log-mode

Emacs Major mode for viewing Rails log files
Emacs Lisp
9
star
18

ananthakumaran.github.com

My Blog
JavaScript
8
star
19

toxiproxy-elixir

elixir client for Toxiproxy
Elixir
7
star
20

xlsx_stream

Streaming XLSX builder
Elixir
6
star
21

eopl

eopl using clojure
Clojure
6
star
22

imagebundler-wicket

imagebundler for Apache Wicket
Ruby
6
star
23

socialsite

A social network for students
Java
5
star
24

redix_sentinel

Redix with sentinel support
Elixir
5
star
25

exq_batch

Batch plugin for Exq library
Elixir
5
star
26

logstash-filter-elasticsearchslowlog

Elasticsearch Slowlog Logstash Plugin
Ruby
4
star
27

euler

solutions for problems in project euler
Scala
3
star
28

fdb_layer

Elixir
3
star
29

visualization

JavaScript
3
star
30

SICP

my solutions to the exercises in SICP
Scheme
3
star
31

jade-mode

Emacs major mode for editing Jade files
Emacs Lisp
3
star
32

avro_utils

Elixir Utility library to convert term to BigQuery compatible json based on avro schema
Elixir
2
star
33

xkeysnail

Python
2
star
34

FileOsculator

A desktop application used to chat and share files with the other users on the LAN
Java
2
star
35

erbot

IRC bot
Elixir
1
star
36

opentelemetry_exq

Elixir
1
star
37

ecto_yaml

Elixir
1
star
38

gate

Erlang bindings for git natural language date parser
C
1
star
39

hopfli

Haskell bindings for Zopfli Compression Algorithm
Haskell
1
star
40

scala-mode

mirror of scala-mode
Emacs Lisp
1
star
41

record

JavaScript
1
star
42

pan

Elixir
1
star
43

advent-of-code

Prolog
1
star
44

assistant

Gitlab merge bot
Elixir
1
star