@cats-shadow @termonoid а как же протокол Gemini ? Ну чем вам не легковес?
@cats-shadow может быть, но сама идея минимализма на новом. А веб-чат, а IRC? может что-то как-то допилить под новые реалии?
@cats-shadow
Костыли с сохранением чата при пропадании связи нужно пилить
IRC... Это релей. Как оно будет вести себя при пропадающем коннекте?
8.3 Message delivery
It is common to find network links saturated or hosts to which you
are sending data unable to send data. Although Unix typically
handles this through the TCP window and internal buffers, the server
often has large amounts of data to send (especially when a new
server-server link forms) and the small buffers provided in the
kernel are not enough for the outgoing queue. To alleviate this
problem, a "send queue" is used as a FIFO queue for data to be sent.
A typical "send queue" may grow to 200 Kbytes on a large IRC network
with a slow network connection when a new server connects.
When polling its connections, a server will first read and parse all
incoming data, queuing any data to be sent out. When all available
input is processed, the queued data is sent. This reduces the number
of write() system calls and helps TCP make bigger packets.
Но надо подумать и потестить.
IRC... Это релей. Как оно будет вести себя при пропадающем коннекте?