aide-de-camp
xid
aide-de-camp | xid | |
---|---|---|
5 | 6 | |
26 | 3,762 | |
- | - | |
2.8 | 3.5 | |
9 months ago | 28 days ago | |
Rust | Go | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
aide-de-camp
-
Build a Job Queue with Rust Using Aide-De-Camp (Part 4)
This is the fourth and final installment in our series. We continue to run you through creating durable job queues using Zero Assumption's open source solution, Aide-De-Camp, which is built using Rust.
-
Build a Job Queue with Rust Using Aide-De-Camp (Part 3)
In this Issue, we were asked to implement cancelling a job by providing the job ID. See the Issue submitted on GitHub.
-
Build a Job Queue with Rust Using Aide-De-Camp (Part 2)
The following is an excerpt from our 0.1.0 tag queue.rs source code. In our next posts, we'll review the modifications we've made to poll_next_with_instant.
-
Build a Job Queue with Rust Using Aide-De-Camp (Part 1)
This is the first installment in a series that runs you through creating durable job queues using Zero Assumption's open source solution, Aide-De-Camp, which is built using Rust. For full transparency, hi - I'm Zero Assumption's creator, Andrey Snow. Follow along as I make it easier for you to manage job queueing using Rust.
-
Lib request : Persisted task queue with scheduling
I've been working in this library https://github.com/ZeroAssumptions/aide-de-camp/ .
xid
-
The Easiest Way to Create a REST API With Go
The goal of babyapi is to be so easy that a baby could do it. As previously mentioned, babyapi.DefaultResource already implements the required interface, so it can be used as a starting point for simple resource types. Besides simply implementing the interface, this default struct implements some validations around the ID and uses rs/xid to create a unique identifer on new resources.
-
Build a Job Queue with Rust Using Aide-De-Camp (Part 2)
To schedule a job, all we need to do is serialize the payload, create a new JID (we use XID for JIDs), and insert both into the adc_queue table.
-
How we used Go 1.18 when designing our Identifiers
XID's are 96 bits. The first 32 bits are the time, which means we get our k-sorting immediately. The next 40 bits are a machine identifier and a process identifier. However, unlike the other systems, these are calculated automatically using the library and don't require us to configure anything ourselves. The final 24 bits are a sequence number, which allows a single process to generate 16,777,216 identifiers per second!
- Xid, globally unique id generator
-
I need a unique ID sequence number generator, I know I could just use a small MySQL instance, but is there no other way?
Checkout xid https://github.com/rs/xid and how MongoDB does its id
-
You Don't Need UUID
I've had success using xid for user-visible IDs. What's nice is they're shorter than UUID, will sort in order, hides the amount of rows in the table.
https://github.com/rs/xid
What are some alternatives?
fang - Background processing for Rust
nanoid - A tiny and fast Go unique string generator
ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Go
uuid - Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
gouid - Fast, dependable universally unique ids
sno - Compact, sortable and fast unique IDs with embedded metadata.
goflake - A highly scalable and serverless unique ID generator for use in distributed systems. Written in GoLang. Inspired by Twitters Snowflake.
go.uuid - UUID package for Go
Monoton - Highly scalable, single/multi node, sortable, predictable and incremental unique id generator with zero allocation magic on the sequential generation
golang-docker-cache - Improved docker Golang module dependency cache for faster builds.
modd - A flexible developer tool that runs processes and responds to filesystem changes
ksuid - K-Sortable Globally Unique IDs