tagged with fibers
Displaying 1-6 of 6 total results

lbarasti

lbarasti/rate_limiter

An implementation of the token bucket algorithm for rate limiting.

  • 16
  • 0
  • 0
  • 3
  • 0
  • over 3 years ago
lbarasti

lbarasti/agent

A thread-safe wrapper for stateful objects

  • 13
  • 0
  • 0
  • 1
  • 1
  • over 3 years ago
GeopJr

GeopJr/non-blocking-spawn

Crystal shard that spawns fibers in any worker thread BUT the current one

  • 6
  • 0
  • 0
  • 5
  • 0
  • 8 months ago
creadone

creadone/cocoon

Wrapper for IO such as third-party API calls to prevent sudden blow up the main program

  • 3
  • 0
  • 0
  • 0
  • 0
  • over 3 years ago
sam0x17

sam0x17/lake

A simple connection pooling shard for the crystal language suitable for use with Redis and probably other things

  • 1
  • 0
  • 0
  • 0
  • 1
  • over 4 years ago
Traven-B

Traven-B/mymodern

Crystal app lists checked-out and ready-hold books at multiple library websites. Uses CSS selectors, CSP concurrency. Beginner-friendly with mock data and easy inclusion of custom scraping logic.

  • 0
  • 0
  • 0
  • 0
  • 1
  • 4 months ago