Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
e49d67e4
Commit
e49d67e4
authored
10 years ago
by
ocelot-inc
Browse files
Options
Downloads
Patches
Plain Diff
Lua software distribution: revisions
parent
ee404361
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/user/lua-and-packages.xml
+12
-10
12 additions, 10 deletions
doc/user/lua-and-packages.xml
doc/user/triggers.xml
+2
-2
2 additions, 2 deletions
doc/user/triggers.xml
with
14 additions
and
12 deletions
doc/user/lua-and-packages.xml
+
12
−
10
View file @
e49d67e4
...
...
@@ -35,13 +35,15 @@ from <link xlink:href=" http://luarocks.org/">LuaRocks</link> -- the "downloadab
</para>
<para>
The included language processor is
LuaJIT
.
The included language processor is
<link
xlink:href=
"http://luajit.org/"
>
LuaJIT
</link>
.
Major "built-in" components are: fibers,
MsgPack, digest, JSON, YAML, IPC, and box.
<link
xlink:href=
"http://msgpack.org"
>
MsgPack
</link>
,
digest, JSON,
<link
xlink:href=
"http://en.wikipedia.org/wiki/Yaml"
>
YAML
</link>
,
<link
xlink:href=
"http://en.wikipedia.org/wiki/Inter-process_communication"
>
IPC
</link>
, and box.
</para>
<para>
<link
xlink:href=
"http://luajit.org/"
>
LUAJIT
</link>
=
a processor for the entire Lua language.
LUAJIT is
a processor for the entire Lua language.
This differs from the original Lua interpreter from
<link
xlink:href=
"http://www.puc-rio.br/index.html"
>
Pontifícia Universidade Católica do Rio de Janeiro
</link>
("RIO-PUC"
<link
xlink:href=
"http://www.lua.org/"
>
Lua
</link>
)
...
...
@@ -70,21 +72,21 @@ provided one takes advantage of it where <link xlink:href="http://wiki.luajit.or
</para>
<para>
FIBERS
=
like Lua coroutines, but as
<link
xlink:href=
"http://members.chello.nl/~w.couwenberg/fibers.htm"
>
one fiber developer
</link>
FIBERS
are
like Lua coroutines, but as
<link
xlink:href=
"http://members.chello.nl/~w.couwenberg/fibers.htm"
>
one fiber developer
</link>
put it: "The main difference between a coroutine and a fiber
is that a running fiber can be suspended anywhere in a call
chain, regardless of its C and Lua call stack nesting levels."
</para>
<para>
<link
xlink:href=
"http://msgpack.org"
>
MSGPACK
</link>
=
a relatively new way to serialize data.
MSGPACK is
a relatively new way to serialize data.
The point of MsgPack is that it can
handle Lua types and C types, with structures and nesting,
without the overhead of an SGML-style markup language.
</para>
<para>
DIGEST
=
a cryptography package for CRC32, SHA, and MDA.
DIGEST
is
a cryptography package for CRC32, SHA, and MDA.
Nothing new here -- except that Tarantool has made them into a
package, so that one doesn't have to get each one of these
things individually from the
<link
xlink:href=
"http://lua-users.org/wiki/CryptographyStuff"
>
many that are available
</link>
.
...
...
@@ -93,7 +95,7 @@ API, the routines should run faster on LuaJIT.
</para>
<para>
JSON
=
a serialization format which has
JSON
is
a serialization format which has
become popular in the web world. The package within
Tarantool is derived from
<link
xlink:href=
"http://www.kyne.com.au/~mark/software/lua-cjson-manual.html"
>
CJSON
</link>
which, according to
<link
xlink:href=
"http://lua-users.org/wiki/JsonModules"
>
a survey
</link>
,
...
...
@@ -102,18 +104,18 @@ edge cases come up.
</para>
<para>
<link
xlink:href=
"http://en.wikipedia.org/wiki/Yaml"
>
YAML
</link>
--
short for "YAML Ain't a Markup Language". YAML is a
YAML is
short for "YAML Ain't a Markup Language". YAML is a
way to show data in human-readable form, without losing
underlying information about typing, arrays, and structures.
</para>
<para>
<link
xlink:href=
"http://en.wikipedia.org/wiki/Inter-process_communication"
>
IPC
</link>
--
Inter-Process Communication.
IPC is
Inter-Process Communication.
this is useful for implementations of task queues and long polling.
</para>
<para>
BOX
--
the NoSQL DBMS that was developed by Tarantool
BOX
is
the NoSQL DBMS that was developed by Tarantool
and its community. Box's architecture and routines will be the
subject of the next chapter.
</para>
...
...
This diff is collapsed.
Click to expand it.
doc/user/triggers.xml
+
2
−
2
View file @
e49d67e4
...
...
@@ -16,8 +16,8 @@
which are executed when a new connection
is created or dropped.
Triggers must be set up when the server starts.
This is most commonly done in
<olink
targetptr=
"init.lua"
>
the initialization script
</olink>
.
This is most commonly done in
an initialization script
written in Lua
.
The performance
overhead of triggers, as long as they are not defined, is
minimal: merely a pointer dereference and check. If a
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment