User Tools

Site Tools


Sidebar

nginx:general

Q. I found this snippet (https://gist.github.com/rtsisyk/98a8f57aaa1152a86873) that suggests that Tarantool itself can serve HTTP, so why use Nginx? What does Nginx do differently? Is Tarantool built into Nginx somehow? Or is Nginx used to proxy HTTP to Tarantool? (2016)

A. Nginx has REST and RPC out of the box. Also, it works faster.

nginx_upstream_module is a proxy with all Nginx features (REST/JSON/etc → msgpack → REST/JSON/etc). It's best for your production server. Tarantool’s HTTP server is best for testing.

Comments

Enter your comment. Wiki syntax is allowed:
Y P H E M
 
nginx/general.txt · Last modified: 2018/05/25 21:59 by eabates

Real Time Web Analytics