GithubHelp home page GithubHelp logo

pangolin's People

Contributors

dylanlott avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pangolin's Issues

Serve up a GUI

The database should serve a simple GUI with some simple metrics displayed about the database's health, users, collections, anything relevant to the operation of it.

Authentication system

On startup, the database should create an Admin user if none exists, and set the password for it, if no PANGOLIN_ROOT_PASSWORD environment variable is set.

The database should have a separate User's collection that is not exposed to the rest of the database and that manages connections to the database.

It should integrate with the server component.

Authentication should be enabled by default, none of this optional nonsense like Mongo.

Add indexing and searching to collections

Collections should have fast searches (ideally, O(log)n complexity at worst) so we should implement a tree in each collection that gets added to and updated on CRUD operations for that Collection.

AVL trees are probably the best way to achieve this. https://github.com/ancientlore/go-avltree would be a good start.

Ideally, the query wrapper would work with the avl tree service for Find's

Fill out hashtable interface

pkg/indexes/hashtable.go holds the interfaces for hashtables.

These are necessary for creating indexes in the database.

They should use mmaped files as their persistence layer.

Create the server component

  • For bonus points, implement a gRPC server instead of http
  • Should handle all CRUD related operations
  • Should allow for / include authentication by default
  • create it in pkg/server

Wire up command line utility to server

Related to #3

Use cobra to create a simple CLI for starting and interacting with the database

start, stop, get and insert commands might be cool for user-testing the database.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.