Giter VIP home page Giter VIP logo

saltokvp's Introduction

saltokvp

Description

This project developed as a part of technical interview process for C++ Software Development position in Clay.

As a part of project set of applications and libraries together with their tests and documentation are implemented.

Supported commands (both for kvp_server and kvp_client applications)

SET <key> <value>
GET <key>
DELETE <key>

Build/run instructions

Build and Run kvp_server

./scripts/build_and_run_kvp_server.sh

Build and Run kvp_client

./scripts/build_and_run_kvp_client.sh

Build and Run Tests

./scripts/build_and_run_tests.sh

Generate Doxygen Documentation

./scripts/generate_doc.sh

Watch backing storage (persistent storage file)

./scripts/watch_kvp_storage.sh

Project Structure

  • Following components are implemented
    • Application
      1. kvp_server
      2. kvp_client
    • Library
      1. kvp_app
      2. kvp_store
      3. salto_ipc
    • Tests
      1. src (unit tests for components located in src folder)
      2. lib (unit tests for components located in lib folder)

Applications

kvp_server application

  • Supports following commands:
    1. GET
    2. SET
    3. DELETE
  • Supports 2 different input methods:
    1. IPC messages (from kvp_client app)
    2. stdin

kvp_client application

  • Supports following commands:
    1. GET
    2. SET
    3. DELETE
  • Supports 2 different input methods: 2) stdin
  • Sends json encoded messages to kvp_server by using boost::interprocess::ipc::message_queue

Libraries

kvp_app

  • Provides a generic infrastructure for implementing server/client applications
    • Event registration
    • Event loop support
    • ipc infrastructure (through salto_ipc library)

kvp_store

  • Library for storing key/value pairs with backing storage support as it is described in the project description

salto_ipc

  • IPC infrasture
  • Links to 3rd party libraries
    • boost::interprocess
    • nholmann::json

Tests

  • GoogleTest framework is utilized to implement unit tests.

saltokvp's People

Contributors

emregozek avatar

Watchers

 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.