{"id":77816,"library":"eventmachine","title":"EventMachine","description":"EventMachine implements a fast, single-threaded engine for arbitrary network communications, wrapping IP socket interactions to simplify building network servers and clients.","status":"active","version":"1.2.7","language":"ruby","source_language":null,"source_url":"https://github.com/eventmachine/eventmachine","tags":["eventmachine","networking","reactor","tcp","async"],"install":[{"cmd":"gem install eventmachine","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'eventmachine', '~> 1.2.7'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"EventMachine","correct":"require 'eventmachine'"}],"quickstart":{"code":"require 'eventmachine'\n\nEM.run do\n  EM.add_timer(1) { puts 'Hello from EventMachine'; EM.stop }\nend","lang":"ruby","description":"Run a simple EventMachine reactor loop that prints a message after 1 second."},"warnings":[{"fix":"Use EM.defer or EM.system for blocking I/O, or switch to non-blocking operations.","message":"EventMachine uses a single-threaded reactor pattern; blocking operations in callbacks will freeze the reactor.","severity":"gotcha","affected_versions":">= 0.0.0"}],"env_vars":null,"search_vec":"'arbitrari':11 'async':29 'build':20 'client':24 'communic':13 'engin':9 'eventmachin':1,2,25 'fast':5 'implement':3 'interact':17 'ip':15 'network':12,21,26 'reactor':27 'server':22 'simplifi':19 'singl':7 'single-thread':6 'socket':16 'tcp':28 'thread':8 'wrap':14","created_at":"2026-06-18T03:59:12.461856+00:00","updated_at":"2026-06-18T03:59:12.461856+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/eventmachine/eventmachine","github":"https://github.com/eventmachine/eventmachine","docs":"http://www.rubydoc.info/gems/eventmachine/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking","async"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}