Giter Site home page Giter Site logo

lsinf2345-project's Introduction

LSINF2345-project

Authors : Alexandre Carlier & Bastien Gillon

Date : 09/05/2018

Course : LSINF2345

FOLDERS and FILES

  • src/ : erlang source files
  • tests/ : text files containing transactions
  • bin/ : compiled object codes of erlang source files
  • Makefile : makefile to clean and build the erlang code
  • README : this file
  • doc/datastore.pdf: the pdf instructions file
  • launch.sh : script to launch live nodes of transactional manager and datastore
  • parser.sh : script to launch the parser function on an input file
  • report.pdf : pdf file containing our report

MAKEFILE

  • clean : remove all compiled object files from bin/
  • all : compile all *.erl files found in src/ to bin/
  • service : compile only the erlang files from src/ to bin/ that are needed by the distributed storage service

Execute/Run

  • Use <./parser.sh INPUTFILE OUTPUTFILE> to launch a distributed storage system localy, send the commands (INPUTFILE) to it, store the result in a file (OUTPUTFILE) and stop the system
  • Use <./launch.sh > to see the explaination and arguments required for launching live nodes
  • use only the 'start' functions when starting modules from a erlang shell

Erlang Modules

  • app : module that can do update, snapshot_read and gc on a database when a transaction manager is provided
  • parser : module that can read and execute transactions from an input file and output the result in a file
  • tmanager : module containing the code for the transaction manager
  • datastore : module containing the code for the datastore
  • performance : module containing the code for testing and finding the performance of our system

lsinf2345-project's People

Contributors

alex2308 avatar

Watchers

 avatar  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.