User Tools

Site Tools


Sidebar

nginx:nginx-and-tarantool

Q. If my client communicates with Nginx using HTTP, then how does Nginx communicate with Tarantool? Does it also use HTTP (the HTTP LuaRock)? (2016)

A. Nginx communicates with Tarantool via MessagePack, so you don't need to use http.

Here’s an example: https://github.com/tarantool/nginx_upstream_module/tree/master/examples.

Here’s the Lua code: https://github.com/tarantool/nginx_upstream_module/blob/master/examples/echo.lua.

Also, take a look at README: https://github.com/tarantool/nginx_upstream_module#rest.

Comments

Enter your comment. Wiki syntax is allowed:
B Z G C C
 
nginx/nginx-and-tarantool.txt · Last modified: 2018/06/04 17:15 by eabates

Real Time Web Analytics