News for hackers. Stuff that matters.
Re:Ask HN: What features would you like to see in the next g... by nonuby on Sunday March 06, 2016 @09:54PM (#11236815)
Automatic restful APIs endpoints, ideally with watch (long poll and WS) paths too.
Re:Ask HN: What features would you like to see in the next g... by brickcap on Monday March 07, 2016 @12:12AM (#11237241)
Have you looked at couchdb? It has an http api and you can "watch" the modifications made to the database using a "_changes" feed that has options for longpoll, eventsource and a "continuous poll".

Web socket is not supported out of the box yet but you can always put couchdb in front of a proxy and send the changes feed over the socket connection once it's established.