Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-08-29 | The master process has been renamed to the main process. | Igor Sysoev | 1 | -2/+2 | |
2017-08-02 | Added basic port error handler. | Max Romanov | 1 | -3/+29 | |
2017-08-02 | Runtime processes protected with mutex. | Max Romanov | 1 | -28/+6 | |
2017-08-02 | Implicit port read buffer completion. | Max Romanov | 1 | -3/+0 | |
To disable implicit completion, handler should reset msg->buf field. | |||||
2017-08-02 | Using port rpc in router->master start worker request. | Max Romanov | 1 | -1/+7 | |
2017-08-02 | Port RPC interface introduced. | Max Romanov | 1 | -0/+3 | |
Usage: 1. Register handlers in incoming port with nxt_port_rpc_register_handler(). 2. Use return value as a stream identifier for next nxt_port_socket_write(). | |||||
2017-07-18 | Request-app link introduced to prevent mp destroy for penging requests. | Max Romanov | 1 | -0/+5 | |
nxt_req_conn_link_t still used for lookup connection by request id. New nxt_req_app_link_t (ra) allocated from conn->mem_pool using mp_retain(). ra stored in app->requests if there is no free worker to process request. | |||||
2017-07-18 | Mem pool cleanup introduced. | Max Romanov | 1 | -1/+1 | |
Used for connection mem pool cleanup, which can be used by buffers. Used for port mem pool to safely destroy linked process. | |||||
2017-07-18 | Port allocation and destroy changed. Worker process stop introduced. | Max Romanov | 1 | -13/+65 | |
2017-07-12 | New process port exchange changed. READY message type introduced. | Max Romanov | 1 | -17/+78 | |
Application process start request DATA message from router to master. Master notifies router via NEW_PORT message after worker process become ready. | |||||
2017-07-07 | Process stop notification from master to all other processes. | Max Romanov | 1 | -1/+21 | |
New port message type introduced NXT_PORT_MSG_REMOVE_PID. Default handler removes process description from nxt_runtime_t with all ports, incoming and outgoing mmaps etc. | |||||
2017-07-07 | Redirecting buffer completion handler to specific engine. | Max Romanov | 1 | -21/+1 | |
There is a case in router where we use port in router connection thread. Buffers are allocated within connection memory pool which can be used only in this router thread. sendmsg() can be postponed into main router thread and completion handler will compare current engine and post itself to correct engine. | |||||
2017-06-23 | Added basic HTTP request processing in router. | Max Romanov | 1 | -2/+0 | |
- request to connection mapping in engine; - requests queue in connection; - engine port creation; - connected ports hash for each process; - engine port data messages processing (app responses); | |||||
2017-06-23 | Extruded nxt_port_send_port() to send port to one process. | Max Romanov | 1 | -26/+34 | |
2017-06-23 | Store mem_pool in buf->data instead of port for consistency. | Max Romanov | 1 | -5/+5 | |
2017-06-23 | nxt_port_create() use task instead of thread. | Max Romanov | 1 | -4/+3 | |
Write socket close() call moved out from nxt_port_create(). | |||||
2017-06-20 | Using new memory pool implementation. | Igor Sysoev | 1 | -2/+2 | |
2017-05-12 | Using shared memory to send data via nxt_port. | Max Romanov | 1 | -50/+77 | |
Usage: b = nxt_port_mmap_get_buf(task, port, size); b->mem.free = nxt_cpymem(b->mem.free, data, size); nxt_port_socket_write(task, port, NXT_PORT_MSG_DATA, -1, 0, b); | |||||
2017-03-09 | Processes refactoring. | Igor Sysoev | 1 | -41/+59 | |
The cycle has been renamed to the runtime. | |||||
2017-02-22 | Port changes. | Igor Sysoev | 1 | -74/+77 | |
2017-02-22 | I/O operations refactoring. | Igor Sysoev | 1 | -1/+1 | |
2017-02-01 | Process channels have been renamed to ports. | Igor Sysoev | 1 | -0/+265 | |