Giter VIP home page Giter VIP logo

awesome-low-latency's Introduction

Awesome Low Latency

Low latency programming is increasingly important across a variety of use cases. Still, many of the tips and tricks of low latency are only part of developer folklore. This document attempts to codify that knowledge for people to (re)discover the art of low-latency programming.

Patterns

  • Colocate compute and data.
  • Avoid dynamic memory management.
  • Avoid context switching.
  • Use wait-free data synchronization.
  • Partition data to avoid sharing (and therefore synchronization).
  • Make shared data structures read-only (when possible).
  • Use busy-polling instead of wakeups.
  • Use non-blocking I/O.
  • Use kernel-bypass networking such as DPDK or XDP.
  • Use hardware offload with accelerators and FPGA.
  • Avoid coordinated omission when measuring latency.
  • Configure your system (for example, use preemptible kernel, watch out for bad device drivers).

Blogs

Publications

Conferences

awesome-low-latency's People

Contributors

penberg avatar

Watchers

James Cloos 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.