HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
postrank-labs
goliath
Ruby2011–2018
postrank-labs / goliath

goliath

Goliath is a non-blocking Ruby web server framework

7Distinct people
8Mentions
0Explicit recommenders
2.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Goliath is a non-blocking Ruby web server framework

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year8 dated mentions

Observed mentions: 2011-07-02 23:15:51 UTC to 2018-10-29 22:25:47 UTC.

01232011-01-01 00:00:00 UTC to 2012-01-01 00:00:00 UTC (exclusive): 3 mentions; 0 submissions, 3 comments20112012-01-01 00:00:00 UTC to 2013-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2013-01-01 00:00:00 UTC to 2014-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2014-01-01 00:00:00 UTC to 2015-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20142015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2018

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20112011-01-01 00:00:00 UTC2012-01-01 00:00:00 UTC303
20122012-01-01 00:00:00 UTC2013-01-01 00:00:00 UTC312
20132013-01-01 00:00:00 UTC2014-01-01 00:00:00 UTC000
20142014-01-01 00:00:00 UTC2015-01-01 00:00:00 UTC000
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC000
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC000
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC000
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC202

What Hacker News says

8 sources
Treating bodies as IO streams is only part of the problem. Today in Rack to stream responses, the rack app returns: [-1, {}, []] Which is interpreted by the app server like Thin, EventMachine as a deferrable response. The problem with this approach is that there's no way to process response headers asynchronously. Consider: class Middleware def initialize(app) @app = app end def call(env) status, headers, body = @app.call(env) # This wouldn't work because rack returns [-1, {}, []] for an async response. if headers['Content-Type'] == 'json' Logger.info "Its JSON!" end status, headers, body end end The logger line would never evaluate because of the `[-1, {}, []]` response. The Goliath web server is the closest thing I've seen in Ruby land
Read the rest
that considers these problems (https://github.com/postrank-labs/goliath/wiki/Middleware). Does anybody know if there's a Rack 2.0 spec in the works that takes care of async request/response cycles?
In Live Streaming in Rails 4.0
Perhaps I'm misunderstanding what you want, but even as a Rubyist, I wouldn't recommend Rails for this. If user creation/editing/etc is all handled by your normal webapp and you only need a fast API endpoint, frameworks like Rails and Django are overkill. In Ruby, I'd suggest Goliath, instead: https://github.com/postrank-labs/goliath/ I'm not into PHP but I wouldn't be surprised if there's a way to build a scalable, efficient separate API app in that too.
In Ask HN: Suggest a technology to build a restful API for our wbesite

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.