GithubHelp home page GithubHelp logo

bitacora's Introduction

#Práctica 2 del laboratorio de Sistemas distribuidos

Aplicación con arquitectura cliente-servidor de una bitácora que agrega un nombre y la fecha en la que fue agregado a un archivo de texto, y busca en dicho archivo de texto el número de veces que aparece dicho nombre.

Esta aplicación fue hecha utiizando el framework RPCGen.

Para compilarlo, en una terminal se utiliza

$ make -f ./Makefile.bitacora

Para correr el server, se utiliza el comando

$ sudo ./bitacora_server

Finalmente, en una nueva terminal (que será el cliente), se pueden utilizar dos comandos, dependiendo si se desea agregar un nombre o si se quiere buscar un nombre:

-Para agregar un nombre:

$ ./bitacora_client localhost add <nombre>

-Para buscar un nombre:

$ ./bitacora_client localhost search <nombre>

EL archivo de texto generado se llama 'file.txt'.

bitacora's People

Contributors

ricardomayosa avatar

Watchers

Jose Alonso 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.