GithubHelp home page GithubHelp logo

nosql-database-atypon-final's Introduction

NoSQL-Database-Atypon-Final

Final Project Build a document DB that fulfills that following requirements:

  • Reads are the majority of transactions (from any node in a cluster)
  • Writes are done only rarely (only through a connection to the database controller/connection manager).
  • Has to have fast reads (e.g. caching in memory).
  • Document based database (json objects).
  • Each document type has a json object schema and each object schema should belong to a database schema.
  • A document has an ID which should be unique and indexed in an efficient manner.
  • Create indexes on a single json property.
  • (Optionally) support multi-property indexes (static indexes).
  • Data and Schema changes including Index initiation and creation will be done on the controller but Data and schema and indexes will be replicated to nodes so that searches for reads are done locally in a node.
  • Has the ability to scale the cluster horizontally (data should replicate to new nodes up to 3 nodes or more), the client will ask the database controller/connection manager for a connection (to a specific database schema) and this should connect it to one of the load balancing nodes for the duration of the client connection (e.g. docker network or different ports for the nodes or virtual machines).
  • Allow for database schema to be exported and imported (from controller).
  • Default administrator to use Controller to manage roles of users and administrators (login name, password and role as user or administrator), default administrator has to change his password the first time.
  • Don’t use indexing libraries such as Apache solr.
  • Controller is a bottleneck and single point of failure, typically it should be redundant but this is not required at this stage.
  • create a demo application that is either a command line application or a web application that utilizes the database using its own schema (e.g. email application, catalog application...etc). Hints: when the schema/data/indexes are being updated by the controller, and there are multiple readers reading at the same time , they should be using the older version of the schema/data until it is updated. The race conditions have to be managed in the most efficient way. Write a report that includes:
  • How you implemented the DB,
  • The data structures used,
  • Multithreading the locks,
  • Scalability/ Consistency issues in the DB
  • Security issues in the DB
  • The protocol you implemented between the client and the server.
  • Defending your code against the Clean Code principles (Uncle Bob).
  • Defending your code against “Effective Java” Items (Jushua Bloch)
  • Defending your code against the SOLID principles
  • Design Patterns
  • DevOps practices

nosql-database-atypon-final's People

Contributors

farahjamal avatar

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.