News for hackers. Stuff that matters.
Re:Automatic REST API for Any Postgres Database by twic on Saturday January 03, 2015 @07:18PM (#8832612)
Hold on, do you think the Ruby implementation would not be constrained by database performance? That would be impressive indeed.

The author's point is just that the implementation is fast enough that it will never be the bottleneck.

Re:Automatic REST API for Any Postgres Database by zentrus on Saturday January 03, 2015 @08:55PM (#8832858)
I'm not sure if this is exactly where al2o3cr was going, but a Ruby (or whatever) application would normally include such things as caching and queueing. Despite the slowness of Ruby et al, I actually would expect a modern application with these layers to handle load much better than straight database calls. So I guess I would consider the PostgREST implementation a bottleneck because you can't add any of these layers.
Re:Automatic REST API for Any Postgres Database by icebraining on Saturday January 03, 2015 @09:15PM (#8832909)
Why couldn't you add a plain HTTP caching layer (e.g. Varnish) on top of PostgREST?
Re:Automatic REST API for Any Postgres Database by zentrus on Saturday January 03, 2015 @09:41PM (#8832951)
Yes, you could. My only point is that PostgREST limits you in what you can do in terms of handling load.