node-simpleflake - Distributed id generation for the lazy.

  •        68

Distributed id generation for the lazy. Inspired by this article. Generates ids consisting of a 41 bit time (millisecond precision with custom epoch) followed 23 random bits. Result is a Buffer with an added feature of base58 and base10 conversions for producing compact and readable strings.

https://github.com/simonratner/node-simpleflake

Dependencies:

bignum : ^0.12.5

Tags
Implementation
License
Platform

   




Related Projects

flake - A decentralized, k-ordered id generation service in Erlang

  •    Erlang

Flake produces 128-bit, k-ordered ids (read time-ordered lexically). Run one on each node in your infrastructure and they will generate conflict-free ids on-demand without coordination.Read the original post on the Boundary blog.

snowflake - Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees

  •    Scala

We have retired the initial release of Snowflake and working on open sourcing the next version based on Twitter-server, in a form that can run anywhere without requiring Twitter's own infrastructure services.The initial version, released in 2010, was based on Apache Thrift and it predated Finagle, our building block for RPC services at Twitter. The Snowflake we're using internally is a full rewrite and heavily relies on existing infrastructure at Twitter to run. We cannot commit to a date but we're doing our best to add necessary features to make Snowflake fit for many environments outside of Twitter.

snowflake - Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees

  •    Scala

We have retired the initial release of Snowflake and working on open sourcing the next version based on Twitter-server, in a form that can run anywhere without requiring Twitter's own infrastructure services. The initial version, released in 2010, was based on Apache Thrift and it predated Finagle, our building block for RPC services at Twitter. The Snowflake we're using internally is a full rewrite and heavily relies on existing infrastructure at Twitter to run. We cannot commit to a date but we're doing our best to add necessary features to make Snowflake fit for many environments outside of Twitter.

node-hat - Generate random IDs and avoid collisions.

  •    Javascript

Generate random IDs and avoid collisions.Generate a random ID string with bits of data in a base.

sonyflake - A distributed unique ID generator inspired by Twitter's Snowflake

  •    Go

The function NewSonyflake creates a new Sonyflake instance.StartTime is the time since which the Sonyflake time is defined as the elapsed time. If StartTime is 0, the start time of the Sonyflake is set to "2014-09-01 00:00:00 +0000 UTC". If StartTime is ahead of the current time, Sonyflake is not created.


snowflake

  •    Scala

Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.

gosnowflake - Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees (golang)

  •    Go

Terry-Mao/gosnowflake is a network service for generating unique ID numbers at high scale with some simple guarantees (golang).golang 1.2 is required.

nanoid - A tiny (172 bytes), secure, URL-friendly, unique string ID generator for JavaScript.

  •    Javascript

A tiny, secure, URL-friendly, unique string ID generator for JavaScript. Safe. It uses cryptographically strong random APIs and guarantees a proper distribution of symbols.

Jepsen - A framework for distributed systems verification, with fault injection

  •    Clojure

Jepsen is a Clojure library. A test is a Clojure program which uses the Jepsen library to set up a distributed system, run a bunch of operations against that system, and verify that the history of those operations makes sense. Jepsen has been used to verify everything from eventually-consistent commutative databases to linearizable coordination systems to distributed task schedulers. It can also generate graphs of performance and availability, helping you characterize how a system responds to different faults.

art-of-node - :snowflake: a short introduction to node.js

  •    Javascript

In addition to reading this guide it's super important to also bust out your favorite text editor and actually write some node code. I always find that when I just read some code in a book it never really clicks, but learning by writing code is a good way to grasp new programming concepts.NodeSchool.io is a series of free + open source interactive workshops that teach you the principles of Node.js and beyond.

x-boot - 基于Spring Boot 2

  •    Java

基于Spring Boot 2.x的前后端分离开发平台X-Boot 前台:Vue+iView 后台:Spring Boot 2.x/Spring Security/JWT/Spring Data JPA+Mybatis-Plus/Redis/Elasticsearch 分布式限流/同步锁/验证码/SnowFlake雪花算法ID生成 动态权限管理 代码生成 日志记录 定时任务 第三方社交账号、短信登录

node - Mysterium Node - VPN server and client for Mysterium Network

  •    Go

Cross-platform software to run a node in Mysterium Network. It contains Mysterium server (node), client API (tequila API) and client-cli (console client) for Mysterium Network. Currently node supports OpenVPN as its underlying VPN transport.

Flake

  •    C

Flake is an open-source FLAC audio encoder.

Snowflake - ❄️ SVG in Swift

  •    Swift

Snowflake can also be installed manually. Just download and drop Sources folders in your project. We would love you to contribute to Snowflake, check the CONTRIBUTING file for more info.

elephantdb - Distributed database specialized in exporting key/value data from Hadoop

  •    Java

ElephantDB is a database that specializes in exporting key/value data from Hadoop. ElephantDB is composed of two components. The first is a library that is used in MapReduce jobs for creating an indexed key/value dataset that is stored on a distributed filesystem. The second component is a daemon that can download a subset of a dataset and serve it in a read-only, random-access fashion. A group of machines working together to serve a full dataset is called a ring. Since ElephantDB server doesn't support random writes, it is almost laughingly simple. Once the server loads up its subset of the data, it does very little. This leads to ElephantDB being rock-solid in production, since there's almost no moving parts.

node-ddp-client - A callback style DDP (Meteor's Distributed Data Protocol) node client.

  •    Javascript

A callback style DDP (Meteor's Distributed Data Protocol) node client, originally based alansikora's node-js_ddp-client and Meteor's python client. Uses a more callback style approach. The client implements version 1 of DDP, as well as fallbacks to pre1 and pre2.

Network Caller ID

  •    Perl

NCID is Caller ID (CID) distributed over a network. The NCID package includes a server, gateways, and a client with output modules. Additional packages are available. The LCDncid client package uses LCDproc to display Caller ID on a LCD display.

Hadoop Common

  •    Java

Apache Hadoop is a framework for running applications on large clusters built of commodity hardware. Hadoop common supports other Hadoop subprojects

golimit - Golimit is Uber ringpop based distributed and decentralized rate limiter

  •    Go

Golimit is Uber ringpop based distributed and decentralized rate limiter. It is horizontally scalable and is based on shared nothing architecture. Every node in system is capable of handling read and writes of counters. It is designed to offer sub milliseconds latency to caller application. Recommended deployment topology is sidecar model. Every golimit node keeps local and global counter for api counter and local value is synchronized with other nodes on configurable periodic interval or at defined threshold. Http server provides http interface to increment counter against any arbitrary Key string. It also exposes admin api to manage global configurations.