heartbeats - Very efficiently manage time-based events and objects.

  •        14

A simple module to very efficiently manage time-based objects and events. This library uses a much more efficient (lower resolution) method of testing system level event times as relativistic time differentials (vs. universal time differentials). Think larger chunked time measures (interval counts) instead of actual milliseconds. It's also great at managing the execution of events that require precise in-system synchronization.




Related Projects

gorb - IPVS on steroids – REST API, heartbeats, service discovery and more

  •    Go

This daemon is an IPVS frontend with a REST API interface. You can use it to control local IPVS instance in the Kernel to dynamically register virtual services and backends. It also supports basic TCP and HTTP health checks (called Gorb Pulse). Backends which fail to pass the health check will have weights set to zero to inhibit any traffic from being routed into their direction. When a backend comes back online, GORB won't immediately set its weight to the previous value, but instead gradually restore it based on backend's accumulated health statistics.

Schedule - Schedule timing task in Swift using a fluent API. (A friendly alternative to Timer)

  •    Swift

Schedule is a timing tasks scheduler written in Swift. It allows you run timing tasks with elegant and intuitive syntax. The running mechanism of Schedule is based on Plan, and Plan is actually a sequence of Interval.

node-continuation-local-storage - implementation of https://github.com/joyent/node/issues/5243

  •    Javascript

Continuation-local storage works like thread-local storage in threaded programming, but is based on chains of Node-style callbacks instead of threads. The standard Node convention of functions calling functions is very similar to something called "continuation-passing style" in functional programming, and the name comes from the way this module allows you to set and get values that are scoped to the lifetime of these chains of function calls. When you set values in continuation-local storage, those values are accessible until all functions called from the original function – synchronously or asynchronously – have finished executing. This includes callbacks passed to process.nextTick and the timer functions (setImmediate, setTimeout, and setInterval), as well as callbacks passed to asynchronous functions that call native functions (such as those exported from the fs, dns, zlib and crypto modules).

jquery-dotimeout - jQuery doTimeout: Like setTimeout, but better!

  •    Javascript

jQuery doTimeout takes the work out of delayed code execution, including interval and timeout management, polling loops and debouncing. In addition, it's fully jQuery chainable, with a very simple, yet powerful API. These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.

userapp-angular - AngularJS module that adds user authentication to your app with UserApp.

  •    Javascript

AngularJS module that adds user authentication to your app with UserApp. It supports protected/public routes, rerouting on login/logout, heartbeats for status checks, stores the session token in a cookie, directives for signup/login/logout, OAuth, etc.UserApp is a user management API for web & mobile apps with the purpose to relieve developers from having to program logic for user authentication, sign-up, invoicing, feature/property/permission management, and more.

heartleech - Demonstrates the "heartbleed" problem using full OpenSSL stack

  •    C

This is tricky. The Makefile is likely to fail. This project uses the ssl3_write_bytes() function in order to send heartbeats encrypted after the SSL handshake is complete. This function is sometimes exported in OpenSSL libraries, and sometimes not.

jquery-timer - Basically setTimeout with more options.

  •    Javascript

Basically setTimeout with more options. action A Function to be called by the timer.

SharePoint Event Receiver Manager (2007 & 2010)


The SharePoint Event Receiver Manager tool draws upon the needs I've had as a SharePoint developer and the ideas of several other tools that just covered part of what I needed them to do but just didn't go quite far enough to make the easy to use and painless. Written in C#.

message-io - Fast and easy-to-use event-driven network library.

  •    Rust

message-io is a fast and easy-to-use event-driven network library. The library handles the OS socket internally and offers a simple event message API to the user. It also allows you to make an adapter for your own transport protocol following some rules, delegating the tedious asynchrony and thread management to the library. Managing sockets is hard because you need to fight with threads, concurrency, full duplex, encoding, IO errors that come from the OS (which are really difficult to understand in some situations), etc. If you make use of non-blocking sockets, it adds a new layer of complexity: synchronize the events that come asynchronously from the Operating System.

marky - High-resolution JavaScript timer based on performance.mark/measure (461 bytes min+gz)

  •    Javascript

JavaScript timer based on performance.mark() and performance.measure(), providing high-resolution timings as well as nice Dev Tools visualizations. For browsers that don't support performance.mark(), it falls back to performance.now() or Date.now(). In Node, it uses process.hrtime().

Typist - Swift UIKit keyboard manager for iOS apps.

  •    Swift

Typist is a small, drop-in Swift UIKit keyboard manager for iOS apps. It helps you manage keyboard's screen presence and behavior without notification center and Objective-C. Declare what should happen on what event and start() listening to keyboard events. That's it.

chronic - Half profiler, half timer, 100% fun.

  •    Python

Chronic is halfway between a simple timer and a profiler. Add decorators or wrap code in with statements to get the execution time. Chronic keeps track of the call hierarchy to tell you what timed blocks executed within other timed blocks. Attach an event listener to log your timings however you want. To time a block of code, you can use either the @time decorator or the Timer context manager.

Windows Event Log Manager


Windows Event Log Manager is a tool for creating, editing, and viewing windows event logs.

Toastmaster Timer


This timing tool is for Toastmaster speech. It runs in cell phone acting as an automatic timer. It follows the Toastmaster timing rules.

EinsteinPy - Making Einstein possible in Python

  •    Python

EinsteinPy is an open source pure Python package dedicated to problems arising in General Relativity and relativistic physics, such as geodesics calculation for vacuum solutions for Einstein's field equations, calculation of various quantities in these geometries like Schwarzschild Radius and the event horizon. The library also has functions for Symbolic calculations in GR like Christoffel Symbols and much more is planned.

react-event-components - 🛰 A set of React components designed to handle global events (interval, keyboard, touch, mouse, etc)

  •    Javascript

A set of components designed as an idiomatic way of working with global, raw input (keyboard, mouse, touch, etc) in React. Call the handler everytime a key event happen.

SwiftTimer - Simple and Elegant Timer

  •    Swift

The closure will be called after interval you specified. It is invalid to call again in the interval. The closure will be called after interval you specified. Calling again in the interval cancels the previous call.

vive-diy-position-sensor - Code & schematics for position tracking sensor using HTC Vive's Lighthouse system and a Teensy board

  •    C++

Lighthouse position tracking system consists of:   – two stationary infrared-emitting base stations (we'll use existing HTC Vive setup),   – IR receiving sensor and processing module (this is what we'll create).The base stations are usually placed high in the room corners and "overlook" the room. Each station has an IR LED array and two rotating laser planes, horizontal and vertical. Each cycle, after LED array flash (sync pulse), laser planes sweep the room horizontally/vertically with constant rotation speed. This means that the time between the sync pulse and the laser plane "touching" sensor is proportional to horizontal/vertical angle from base station's center direction. Using this timing information, we can calculate 3d lines from each base station to sensor, the crossing of which yields 3d coordinates of our sensor (see calculation details). Great thing about this approach is that it doesn't depend on light intensity and can be made very precise with cheap hardware.

godot - Godot is a streaming real-time event processor based on Riemann written in Node.js

  •    Javascript

Here is a simple example of a Reactor server that will send an email to user@host.com if the Producer server for app.server fails to send a heartbeat after 60 seconds.Reactors in Godot are readable and writable Stream instances which consume Events and produce actions or aggregate data flow.

vm2 - Advanced vm/sandbox for Node.js

  •    Javascript

IMPORTANT: Requires Node.js 6 or newer. VM is a simple sandbox, without require feature, to synchronously run an untrusted code. Only JavaScript built-in objects + Buffer are available. Scheduling functions (setInterval, setTimeout and setImmediate) are not available by default.

We have large collection of open source products. Follow the tags from Tag Cloud >>

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.