L
L
Leshiy Urban2016-04-27 13:46:33
Nginx
Leshiy Urban, 2016-04-27 13:46:33

Is there a module for converting HTTP requests to msgpack/JSON in Nginx?

There is a desire to make an HTTP handler application in X (arbitrary) language. The language can work with tcp/unix/pipe, process msgpack/json and issue it in response. It does not know how to work with HTTP (it is also not desirable to do support by hand).
The following chain lined up in my head:
-- http request ---> nginx + some module ---> msgpack/json --> backend
Unlike resty and others like it, backend should be a separate application.
Advantages:

  • Scalability
  • Independence from YaP

Question:
Do you know of any similar modules for Nginx or alternatives?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Misbakh-Soloviev, 2016-07-28
@mva

lua_nginx_module (aka openresty) + luasocket, for
example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question