Building an earthquake map with RethinkDB and GeoJSON (rethinkdb.com) 17 points by mglukhovsky 11y ago ↗ HN
[–] jasondc 11y ago ↗ The r.http command in RethinkDB is interesting, is there another database that has anything similar? I can't think of one. [–] coffeemug 11y ago ↗ Slava @ Rethink here. Not sure if anyone else supports it, but check out http://rethinkdb.com/docs/external-api-access/ for more interesting details on the command. [–] jmakeig 11y ago ↗ Yes, MarkLogic includes a full HTTP client and server so you can create and consume web services. In XQuery this would look like: xdmp:http-get("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson") or in the upcoming release, you'll be able to do the same in server-side JavaScript (embedded V8): xdmp.httpGet("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson"); (Full disclosure: I’m a Product Manager at MarkLogic.)I find this really convenient for quickly standing up web services and doing ETL-type logic that runs close to the data in the database.
[–] coffeemug 11y ago ↗ Slava @ Rethink here. Not sure if anyone else supports it, but check out http://rethinkdb.com/docs/external-api-access/ for more interesting details on the command.
[–] jmakeig 11y ago ↗ Yes, MarkLogic includes a full HTTP client and server so you can create and consume web services. In XQuery this would look like: xdmp:http-get("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson") or in the upcoming release, you'll be able to do the same in server-side JavaScript (embedded V8): xdmp.httpGet("http://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/2.5_month.geojson"); (Full disclosure: I’m a Product Manager at MarkLogic.)I find this really convenient for quickly standing up web services and doing ETL-type logic that runs close to the data in the database.
3 comments
[ 421 ms ] story [ 258 ms ] threadI find this really convenient for quickly standing up web services and doing ETL-type logic that runs close to the data in the database.