Giter VIP home page Giter VIP logo

latencytest's Introduction

LatencyTest

This is a C++ test task by Deltix Inc.

Rationale

Having a high-end multicore x86-64 machine actively running nothing but your application, You need to find the most efficient way (from the latency minimization perspective) to transfer simple data items (unsigned 32-bit integers) from one thread to another.

Content

This repository consists of three main parts:

  • AbstractTransport - abstract class for a component capable to transfer data between two threads. We also provide a simple default implementation DefaultTransport.
  • AbstractProfiler - abstract class for a component capable to measure latency of different transport implementations.
  • Application - a simple benchmark runner, that performs data transmissions via AbstractTransport and calculates statistics using AbstractProfiler.

Your Task

  1. Develop latency testing metodology and write it to YourProfiler implementation of AbstractProfiler class.
  2. Write YourTransport implementation of AbstractTransport. Your class must outperform our simple implementation DefaultTransport at least on measurements made by YourProfiler.
  3. Send us a link to a GitHub repository with your implementations.

Acceptance Criteria

  1. You should not use any kind of message broker framework or profiling toolkit, instead you should implement this logic by yourself.
  2. Your are allowed but not obligated to use synchronization primitives, collections and utility classes from any commonly used C++ libraries (STL, POSIX Threads, Qt, Boost).
  3. From the other hand, we should be able to build your solution out-of-the-box using Make and Clang on CentOS 7 machine with nothing but compiler and standard headers installed.

latencytest's People

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.