• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 6 years ago
  • Updated 9 months ago

Reviews

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

Repository Details

Simple document db made for infinitely scalable globally distributed reads.

NearDB is a simple database that leverages cloud infrastructure like document storage and CDN to deliver an inexpensive unbelievably scalable document database optimized for reads and perfect for edge applications.

Codacy Badge Build Status Coverage Status

Motivation

While working on building edge applications for higher performance and lower latency there is a need store persistent data also on edge.

Distributed database solutions but they are very involved and costly while having a lower global footprint than a CDN.

Leverage ubiquitous and mature infrastructure like cloud storage and CDNs to deliver a persistent, performance, and inexpensive db solution from the edge.

Use with Edge Apps/Functions

Works with the following for database storage

Client-side compatibility

Keep in mind while using this for client-side that ACL is done on the bucket/CDN level. It was designed for edge server use so client implementation can be a bit tricky. Open an issue with your specific case, I would love to hear how you plan on using it.

  • Browser
  • React Native

Who is this for

This is perfect for persistent data that is read frequently and needs to be avaialble on the edge application to deliver dynamic data while keeping the costs low. Some examples of the best uses are:

  • Key-value
  • Configuration
  • Cached data

Probably not for you if

  • You plan on using this as your primary database for an app that has complex data needs.
  • You need transactions. (I have some ideas on how to accomplish this, but its currently not implemented.)
  • Do many writes/sec in the same document. Reads are incredibly efficient, fast and inexpensive; however, writes are always at the origin.

Documentation & Guides

See NearDB.org

TypeDoc

See the documentation generated from TypeDoc.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

More Repositories

1

fvm

Flutter Version Management: A simple CLI to manage Flutter SDK versions.
Dart
4,534
star
2

sidekick

A simple app to make Flutter development more delightful
Dart
621
star
3

pub_api_client

The most complete & unofficial API Client for Dart Pub.dev
Dart
93
star
4

superdeck

Presentation slides for Flutter with Flutter
Dart
86
star
5

use-state-persist

Simple React Hook to persist/cache the useState locally. Easily load stale state for better ux.
TypeScript
52
star
6

vizor

A Sci-Fi/Cyberpunk UI Kit for Flutter.
Dart
47
star
7

optr

One Password to Rule - A Flutter Deterministic password manager.
Dart
46
star
8

flutter.space

Flutter & Dart Unofficial Flat Data API
Dart
21
star
9

pkg

Enhanced pub package commands.
Dart
14
star
10

palm_api_dart

A Dart client for interacting with the PaLM API, allowing developers to build generative AI applications.
Dart
14
star
11

zeit-integration-inspect

Quickly inspect values during Zeit Now Integrations development.
JavaScript
7
star
12

homebrew-fvm

Homebrew formula for fvm
Ruby
7
star
13

cli_notify

Check pub.dev for updates for your Dart CLI and prints update information.
Dart
4
star
14

ti.checkaccess

Small utility to check iOS and Android API permissions, access and display UI within for titanium
JavaScript
3
star
15

dart-libvips

Dart bindings for libvips
Dart
2
star
16

bitrise-dart-client

Bitrise.io API Client for Dart
Dart
2
star
17

alexa-trivia-game

A trivia game using Alexa, AWS Lambda & Firebase.
JavaScript
1
star
18

flash_cards

Dart
1
star
19

go-newsapi

A NewsAPI client for Go
Go
1
star
20

squash

Dart package for effortless image compression
1
star