A
A
Alyosha2021-11-24 18:56:22
Node.js
Alyosha, 2021-11-24 18:56:22

How to disable network cache?

Yes:
Ubuntu Server 20.04
NodeJS server with heavy/slow incoming traffic processing tasks.
Problem:
The client makes a constant upload of traffic to the server, after the client has disconnected the server / application still continues to receive data from the client and considers it connected for a few more minutes. As I understand it, the data from the client first gets into some kind of cache and from there it is loaded into the application. It is necessary that they do not reload, stop receiving data upon disconnecting the client. Where to look for this cache and how to disable it?
As tried to solve:
Exposed on all sockets setNoDelay. It helped with the download from the server, but not with the upload to the server.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question