Coder Social home page Coder Social logo

aibarbetta / database Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 249 KB

Trabajo Práctico 2 - 75.59 Técnicas de Programación Concurrente I (FIUBA)

License: GNU General Public License v3.0

CMake 3.15% Shell 0.11% C++ 96.74%
system-v c-plus-plus catch travis-ci concurrency message-queue

database's Introduction

DataBase Build Status

Trabajo Práctico 2 - 75.59 Técnicas de Programación Concurrente I (FIUBA)

Build

To build the project you can use the script

$ ./build.sh

This will create a build directory with the server and client executables.

Command line arguments

Server

  • DB file
    Database persistence file.

Client

The client takes no arguments

Execution examples

Server

$ ./build/server build/db.txt

Client

$ ./build/client

Usage

Make a query (insert <name,address,phone>, select <name,address,phone>) or just exit.
> insert Sherlock Holmes,Baker Street 221B,58859989
Success
> select sherlock holmes,,
1 results.
Sherlock Holmes,Baker Street 221B,58859989
>
> exit

License

GNU General Public License v3.0

database's People

Contributors

aibarbetta avatar miporto avatar

Watchers

 avatar  avatar

database's Issues

Test insert method

Remember to check case where a duplicated register is inserted (it should fail)

Refactor struct Query

The Query should support both messages to the Server and to the Client. So it should be named Message (and modified accordingly) as it is more appropriate.

It should also be refactored as it's shown in the attached image.
image

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.