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/05/22 14:33:56 UTC
incubator-tinkerpop git commit: Add "Parameterized Gremlin" logo.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master c23fc7923 -> 91df79294
Add "Parameterized Gremlin" logo.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/91df7929
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/91df7929
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/91df7929
Branch: refs/heads/master
Commit: 91df792949d1ebee710912011a3b6b45da847982
Parents: c23fc79
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri May 22 08:33:38 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri May 22 08:33:38 2015 -0400
----------------------------------------------------------------------
docs/src/gremlin-applications.asciidoc | 2 +-
docs/static/images/gremlin-parameterized.png | Bin 0 -> 17449 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/91df7929/docs/src/gremlin-applications.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/gremlin-applications.asciidoc b/docs/src/gremlin-applications.asciidoc
index c9b2935..83b8b9d 100644
--- a/docs/src/gremlin-applications.asciidoc
+++ b/docs/src/gremlin-applications.asciidoc
@@ -590,7 +590,7 @@ image:gremlin-handdrawn.png[width=120,float=right] Tuning Gremlin Server for a p
Parameterized Scripts
^^^^^^^^^^^^^^^^^^^^^
-Use script parameterization. Period. Gremlin Server caches all scripts that are passed to it. The cache is keyed based on the a hash of the script. Therefore `g.V(1)` and `g.V(2)` will be recognized as two separate scripts in the cache. If that script is parameterized to `g.V(x)` where `x` is passed as a parameter from the client, there will be no additional compilation cost for future requests on that script. Compilation of a script should be considered "expensive" and avoided when possible.
+image:gremlin-parameterized.png[width=150,float=left] Use script parameterization. Period. Gremlin Server caches all scripts that are passed to it. The cache is keyed based on the a hash of the script. Therefore `g.V(1)` and `g.V(2)` will be recognized as two separate scripts in the cache. If that script is parameterized to `g.V(x)` where `x` is passed as a parameter from the client, there will be no additional compilation cost for future requests on that script. Compilation of a script should be considered "expensive" and avoided when possible.
Cache Management
^^^^^^^^^^^^^^^^
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/91df7929/docs/static/images/gremlin-parameterized.png
----------------------------------------------------------------------
diff --git a/docs/static/images/gremlin-parameterized.png b/docs/static/images/gremlin-parameterized.png
new file mode 100755
index 0000000..14f2a8a
Binary files /dev/null and b/docs/static/images/gremlin-parameterized.png differ