You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/03/19 15:59:49 UTC

incubator-tinkerpop git commit: Fixed spelling error in documentation.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 0db6f113e -> 5ca0c5030


Fixed spelling error in documentation.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/5ca0c503
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/5ca0c503
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/5ca0c503

Branch: refs/heads/master
Commit: 5ca0c5030ff7c21f5ad0fa905d92f6008e84c0d9
Parents: 0db6f11
Author: Stephen Mallette <sp...@apache.org>
Authored: Thu Mar 19 10:59:27 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Thu Mar 19 10:59:27 2015 -0400

----------------------------------------------------------------------
 docs/src/gremlin-applications.asciidoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/5ca0c503/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index c1753e5..3fdc311 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -506,7 +506,7 @@ One of the roles for Gremlin Server is to provide a bridge from TinkerPop to non
 
 image::gremlin-server-flow.png[width=300,float=right] 
 
-Gremlin Server is distributed with a configuration that utilizes link:http://en.wikipedia.org/wiki/WebSocket[WebSockets] with a custom sub-protocol.  Under this configuration, Gremlin Server accepts requests containing a Gremlin script, evaluates that script and then strems back the results.  The notion of "streaming" is depicted in the diagram to the right.  
+Gremlin Server is distributed with a configuration that utilizes link:http://en.wikipedia.org/wiki/WebSocket[WebSockets] with a custom sub-protocol.  Under this configuration, Gremlin Server accepts requests containing a Gremlin script, evaluates that script and then streams back the results.  The notion of "streaming" is depicted in the diagram to the right.
 
 The diagram shows an incoming request to process the Gremlin script of `g.V`.  Gremlin Server evaluates that script getting an `Iterator` of vertices as a result.  Gremlin Server recognizes that the `Iterator` and steps through each `Vertex` within it.  The vertices are batched together given the `resultIterationBatchSize` configuration.  In this case, that value must be `2` given that each "response" contains two vertices.  Each response is serialized given the requested serializer type (JSON is likely best for non-JVM languages) and written back to the requesting client immediately.  Gremlin Server does not wait for the entire result to be iterated, before sending back a response.  It will send the responses as they are realized.