Skip to content

Instantly share code, notes, and snippets.

View MMcM's full-sized avatar

Mike McMahon MMcM

  • San Francisco, CA
View GitHub Profile
@MMcM
MMcM / layer.log
Created September 24, 2013 18:49
Log excerpts for 14 sysbench OLTP queries
SELECT c FROM sbtest1 WHERE id=501119
Project_Default(Field(2))
GroupLookup_Default(sbtest.sbtest1 -> sbtest.sbtest1)
HKeyRow_Default(sbtest.sbtest1, 501119)
SELECT c FROM sbtest1 WHERE id=496896
Project_Default(Field(2))
GroupLookup_Default(sbtest.sbtest1 -> sbtest.sbtest1)
HKeyRow_Default(sbtest.sbtest1, 496896)
@MMcM
MMcM / workspaces_265.log
Created March 29, 2013 19:56
Relevant log entries
Started POST "/workspaces/265/putentities.json" for 75.147.9.1 at 2013-03-29 19:53:25 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"new-entity\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"0dc48feb-6109-414e-8db6-ee1a6d60e8b9\",\n \"type\": \"integer\",\n \"spinal_pos\": 0\n }\n },\n \"entity\": \"0a1a43b1-fe28-4bf0-8ad2-5fb2c41a62b1\"\n }\n}", "id"=>"265"}
Completed 200 OK in 35ms (Views: 0.3ms | ActiveRecord: 19.4ms)
Started POST "/workspaces/265/putentities.json" for 75.147.9.1 at 2013-03-29 19:53:34 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"old-entity\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"0dc48feb-6109-414e-8db6-ee1a6d60e8b9\",\n \"type\": \"integer\",\n \"spinal_pos\": 0\n }\n },\n \"entity\": \"0a1a4
@MMcM
MMcM / workspaces_251_putentities_json.log
Created March 29, 2013 12:37
Log entries for this space
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:18:32 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"foo\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0\n }\n },\n \"entity\": \"0647b2ff-bc3e-41fd-a93f-57a06a3e4544\"\n }\n}", "id"=>"251"}
Completed 200 OK in 41ms (Views: 0.3ms | ActiveRecord: 20.7ms)
Started POST "/workspaces/251/putentities.json" for 66.31.108.252 at 2013-03-29 12:26:29 +0000
Processing by WorkspacesController#putentities as JSON
Parameters: {"entities"=>"{\n \"bar\": {\n \"attributes\": {\n \"id\": {\n \"scalar\": \"adf38f62-b760-4c74-bddd-f9494e653ace\",\n \"type\": \"integer\",\n \"spinal_pos\": 0,\n \"validation\": [\n {\n
@MMcM
MMcM / gist:5208966
Last active December 15, 2015 05:29
Akiban Server add-on documentation

Akiban Server is an add-on for providing a cloud data service for real-time object access and complex queries.

Data access is provided via JSON encoding of entities or SQL for advanced queries.

Akiban Server is accessible via REST over HTTP or SQL using the Postgres network protocol. A Ruby client library is supported for ActiveRecord.

Provisioning the add-on

Akiban Server can be attached to a Heroku application via the CLI: