ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
24 апреля
917875 Топик полностью
SciFi (25.04.2019 12:16, просмотров: 137) ответил Скрипач на Говорю же, проще чем написать приблуду, слушающую порт и отдающую данные ничего не придумаешь. Без Апача, почти bare_metal :)
Когда-то немного ковырял Node.js. Вроде бы он как раз сделан для сильно нагруженных систем --> https://nodejs.org/en/about/
As an asynchronous event driven JavaScript runtime, Node is designed to build scalable network applications. In the following "hello world" example, many connections can be handled concurrently. Upon each connection the callback is fired, but if there is no work to be done, Node will sleep. This is in contrast to today's more common concurrency model where OS threads are employed. Thread-based networking is relatively inefficient and very difficult to use. Furthermore, users of Node are free from worries of dead-locking the process, since there are no locks. Almost no function in Node directly performs I/O, so the process never blocks. Because nothing blocks, scalable systems are very reasonable to develop in Node.
ส็็็็็็็็็็็็็็็็็็็็็็็็็༼ ຈل͜ຈ༽ส้้้้้้้้้้้้้้้้้้้้้้้