[00:13:28] remo is now online
[00:23:30] remo is now away
[00:34:59] levsha is now offline
[00:39:37] gigimon is now online
[00:58:35] gigimon is now away
[01:10:21] madmercen is now away
[01:12:43] slav0nic is now away
[01:13:27] fuzzy is now away
[01:13:29] fuzzy is now online
[01:17:00] madmercen is now online
[01:22:03] madmercen is now away
[01:22:43] slav0nic is now xa
[01:24:06] madmercen is now online
[01:25:19] slav0nic is now online
[01:29:07] AlexZenon is now xa
[01:30:19] slav0nic is now offline
[01:44:50] madmercen is now away
[01:44:58] madmercen is now online
[01:50:01] madmercen is now away
[01:59:52] madmercen is now online
[02:05:39] gigimon is now away
[02:05:39] gigimon is now offline
[02:11:58] remo is now offline
[02:35:22] fuzzy is now away
[02:35:22] fuzzy is now away
[02:37:21] madmercen is now away
[02:40:54] madmercen is now online
[03:01:00] madmercen is now away
[03:10:56] madmercen is now online
[03:35:36] fuzzy is now away
[03:35:37] fuzzy is now online
[03:50:46] madmercen is now away
[03:51:42] madmercen is now online
[04:21:45] : Используемый вами псевдоним не зарегистрирован
[04:21:45] madmercen is now online
[04:21:45] fuzzy is now online
[04:21:45] AlexZenon is now xa
[04:21:45] magic_pony is now online
[04:29:44] fuzzy is now online
[04:29:45] fuzzy is now away
[04:59:46] : Используемый вами псевдоним не зарегистрирован
[04:59:46] madmercen is now online
[04:59:46] fuzzy is now away
[04:59:46] AlexZenon is now xa
[04:59:46] magic_pony is now online
[04:59:50] madmercen is now away
[05:03:54] madmercen is now online
[05:22:18] madmercen is now away
[05:26:24] madmercen is now online
[05:31:24] madmercen is now away
[05:41:24] madmercen is now xa
[06:11:30] : Используемый вами псевдоним не зарегистрирован
[06:11:30] madmercen is now xa
[06:11:30] fuzzy is now away
[06:11:30] AlexZenon is now xa
[06:11:30] magic_pony is now online
[06:41:41] : Используемый вами псевдоним не зарегистрирован
[06:41:41] madmercen is now xa
[06:41:41] fuzzy is now away
[06:41:41] AlexZenon is now xa
[06:41:41] magic_pony is now online
[07:11:53] madmercen is now xa
[07:11:53] fuzzy is now away
[07:11:53] AlexZenon is now xa
[07:11:53] magic_pony is now online
[07:11:53] : Используемый вами псевдоним не зарегистрирован
[07:42:04] : Используемый вами псевдоним не зарегистрирован
[07:42:04] madmercen is now xa
[07:42:04] fuzzy is now away
[07:42:04] AlexZenon is now xa
[07:42:04] magic_pony is now online
[07:52:10] fuzzy is now away
[08:22:16] : Используемый вами псевдоним не зарегистрирован
[08:22:16] madmercen is now xa
[08:22:16] fuzzy is now away
[08:22:16] AlexZenon is now xa
[08:22:16] magic_pony is now online
[08:52:28] : Используемый вами псевдоним не зарегистрирован
[08:52:28] madmercen is now xa
[08:52:28] fuzzy is now away
[08:52:28] AlexZenon is now xa
[08:52:28] magic_pony is now online
[09:13:34] madmercen is now online
[09:37:15] madmercen is now away
[09:40:58] madmercen is now online
[10:05:25] madmercen is now away
[10:05:31] madmercen is now online
[10:10:42] madmercen is now away
[10:20:42] madmercen is now xa
[10:25:54] gigimon is now away
[10:25:55] gigimon is now online
[10:56:03] : Используемый вами псевдоним не зарегистрирован
[10:56:03] madmercen is now xa
[10:56:03] gigimon is now online
[10:56:03] fuzzy is now away
[10:56:03] AlexZenon is now xa
[10:56:03] magic_pony is now online
[11:08:44] levsha is now online
[11:09:23] slav0nic is now online
[11:16:22] remo is now online
[11:17:55] gigimon is now offline
[11:18:58] gigimon is now online
[11:21:48] gigimon is now offline
[11:27:24] levsha is now offline
[11:33:22] levsha is now online
[11:34:23] remo is now away
[11:57:17] levsha is now offline
[12:07:55] remo is now offline
[12:18:05] slav0nic is now away
[12:27:18] levsha is now online
[12:28:05] slav0nic is now xa
[12:30:03] slav0nic is now online
[12:38:55] slav0nic is now away
[12:39:21] slav0nic is now online
[12:39:42] slav0nic is now offline
[12:52:47] levsha is now away
[12:52:47] levsha is now away
[12:52:48] levsha is now away
[12:52:55] levsha is now online
[13:23:00] : Используемый вами псевдоним не зарегистрирован
[13:23:00] madmercen is now xa
[13:23:00] levsha is now online
[13:23:00] fuzzy is now away
[13:23:00] AlexZenon is now xa
[13:23:00] magic_pony is now online
[13:41:36] fuzzy is now away
[14:11:42] : Используемый вами псевдоним не зарегистрирован
[14:11:42] madmercen is now xa
[14:11:42] levsha is now online
[14:11:42] fuzzy is now away
[14:11:42] AlexZenon is now xa
[14:11:42] magic_pony is now online
[14:14:26] madmercen is now online
[14:29:24] AlexZenon is now offline
[14:29:39] AlexZenon is now xa
[14:32:19] remo is now online
[14:35:35] AlexZenon is now online
[14:46:17] remo is now away
[14:48:53] slav0nic is now online
[14:53:54] slav0nic is now away
[14:54:37] gigimon is now online
[14:59:42] slav0nic is now online
[15:04:42] slav0nic is now away
[15:10:16] slav0nic is now online
[15:37:30] madmercen is now away
[15:38:30] madmercen is now online
[15:54:37] gigimon is now online
[15:57:51] slav0nic is now away
[15:59:31] gigimon is now away
[16:01:24] gigimon is now away
[16:01:24] gigimon is now online
[16:07:51] slav0nic is now xa
[16:08:03] levsha is now offline
[16:15:35] levsha is now online
[16:19:32] gigimon is now online
[16:24:28] gigimon is now away
[16:28:40] gigimon is now away
[16:28:41] gigimon is now online
[16:58:50] : Используемый вами псевдоним не зарегистрирован
[16:58:50] slav0nic is now xa
[16:58:50] madmercen is now online
[16:58:50] levsha is now online
[16:58:50] remo is now away
[16:58:50] gigimon is now online
[16:58:50] fuzzy is now away
[16:58:50] AlexZenon is now online
[16:58:50] magic_pony is now online
[17:04:26] levsha is now offline
[17:34:32] : Используемый вами псевдоним не зарегистрирован
[17:34:32] slav0nic is now xa
[17:34:32] madmercen is now online
[17:34:32] remo is now away
[17:34:32] gigimon is now online
[17:34:32] fuzzy is now away
[17:34:32] AlexZenon is now online
[17:34:32] magic_pony is now online
[17:48:12] fuzzy is now away
[17:48:14] fuzzy is now online
[17:48:19] levsha is now online
[17:52:48] slav0nic is now offline
[17:53:22] ssbb is now online
[17:54:49] ssbb is now online
[17:55:14] remo is now online
[17:57:16] ssbb: а как будет лучше делать множество сокет-соединений без больших нагрузок на сеть? как пример - есть всякие сервисы мониторинга серверов (uptime, ttfb, etc.)
[17:57:49] ssbb: в них загоняется очень много сайтов. но как проверить то же время соединения, чтобы не учитывать нагрузку на сеть?
[17:58:33] ssbb: если делается большое кол-во подключений одновременно через неблокирующие сокеты или просто в потоках - таймауты увеличиваются с возрастанием кол-ва запросов
[17:58:59] ssbb: как это грамотно обработать?
[17:59:38] ssbb: вроде получить как-то текущую нагрузку на сеть и учесть ее в вычислении ответа сервера
[17:59:50] ssbb is now online
[17:59:55] ssbb: времени ответа*
[18:04:50] ssbb is now online
[18:05:19] slav0nic is now online
[18:06:46] remo is now away
[18:09:20] levsha is now offline
[18:09:53] ssbb is now online
[18:10:11] levsha is now online
[18:11:17] fuzzy: ssbb: смотря что ты подразумеваешь под "нагрузкой на сеть"
[18:11:33] levsha is now offline
[18:11:41] fuzzy: и сколько "много"
[18:12:42] fuzzy: ещё зависит от того, как ты работаешь с неблокирующими сокетами
[18:13:16] fuzzy: с учётом того, что в питоне работает только один тред, то хоть сокеты и могут открываться параллельно, результат будет обрабатываться последовательно, одним тредом
[18:14:54] ssbb is now online
[18:19:58] ssbb is now online
[18:20:26] levsha is now online
[18:24:59] ssbb is now online
[18:29:50] ssbb: странно, нотификации не получаю в клиенте(
[18:30:00] ssbb is now online
[18:31:24] levsha is now offline
[18:32:56] levsha is now online
[18:34:25] ssbb: fuzzy: а как правильнее будет?
[18:35:02] ssbb is now online
[18:35:30] ssbb: fuzzy: в тредах получается тоже подключения идут последовательно?
[18:36:22] fuzzy: насколько я понимаю, когда тред запускает подключение и ждёт, то он отдаёт GIL и другие треды могут работать, пока первый заблокирован на IO
[18:37:40] ssbb: то есть при 10 тредах, например, подключение будет параллельно, верно?
[18:38:22] ssbb: я просто мучаю тут свой прокси-чекер :D
[18:39:47] ssbb: fuzzy: просто если сделать примитивный тред-класс и делать в нем коннект к одному и тому же серверу, то таймауты сильно зависят от кол-ва тредов
[18:40:04] ssbb is now online
[18:40:08] gigimon is now online
[18:40:33] ssbb: причем это не удаленный сервер начинает тормозить - с vds таймауты нормальные
[18:41:10] fuzzy: добавь логирования и посмотри, что конкретно тормозит
[18:41:13] ssbb: вот хотел узнать как этого можно избежать или рассчитать таймауты
[18:41:54] ssbb: я просто делаю тайминг на socket.connect и смотрю. или ты про
[18:41:56] gigimon is now online
[18:42:21] ssbb: по сути даже данные не отправляю
[18:45:04] ssbb is now online
[18:47:06] slav0nic is now away
[18:47:49] ssbb: вот простой код на тредах - https://gist.github.com/anonymous/9572d0e95a08134e9912
[18:48:02] ssbb: вот вывод - https://gist.github.com/anonymous/3282389e7093c648624a
[18:48:50] ssbb: fuzzy: если пролистать быстро, то можно увидеть как растет. и так бесконечно может расти
[18:50:03] madmercen is now away
[18:50:10] ssbb is now online
[18:50:33] fuzzy: с 1000 тредами может просто быть оверхед на переключение тредов
[18:50:45] fuzzy: лучше пул тредов и неблокирующие сокеты
[18:50:54] fuzzy: тогда тебе может десятка-другого хватить
[18:52:16] ssbb: хмм
[18:52:26] ssbb: попробовал на хетзнере vds - такого нет
[18:52:37] ssbb: стабильно идет 0.5-0.6s
[18:53:08] ssbb: пару минут подержал - не увеличился. то что дал вывод - с мака домашнего за секунды 3
[18:53:33] ssbb: хотя железно не слабое и сеть на down/up 100мб стабильно
[18:54:25] ssbb: fuzzy: там просто список на 3млн адресов. долговато проверять будет :D
[18:55:12] ssbb is now online
[18:57:06] slav0nic is now xa
[18:57:11] fuzzy: ну посмотри на компьютере, куда упирается
[18:57:18] fuzzy: в одно ядро, или память забивается
[18:57:20] fuzzy: или сеть
[18:57:24] fuzzy: скорее всего одно ядро
[18:57:35] madmercen is now online
[18:57:38] fuzzy: это может значить, что питон - не лучший выбор для твоей задачи
[19:00:12] ssbb is now online
[19:00:30] slav0nic is now online
[19:00:32] ssbb: fuzzy: ядро одно из 8 занято на 20%
[19:01:46] fuzzy: может тогда сеть, чо
[19:03:07] madmercen is now away
[19:05:14] ssbb is now online
[19:09:21] ssbb: попробую в арч сейчас бутнуться
[19:10:15] ssbb is now online
[19:10:16] ssbb is now offline
[19:13:07] madmercen is now xa
[19:15:13] fuzzy is now online
[19:15:13] fuzzy is now away
[19:15:18] fuzzy is now away
[19:15:21] fuzzy is now online
[19:16:01] fuzzy is now offline
[19:16:02] fuzzy is now online
[19:24:05] ssbb is now online
[19:24:16] gigimon is now online
[19:24:27] ssbb: не особо много чего изменилось. получше, но все равно проседает
[19:25:04] gigimon is now online
[19:25:46] ssbb is now online
[19:30:45] ssbb is now online
[19:35:47] ssbb is now online
[19:37:41] levsha is now offline
[19:39:30] fuzzy is now away
[19:39:31] fuzzy is now away
[19:40:47] ssbb is now online
[19:41:04] fuzzy is now away
[19:41:06] fuzzy is now online
[19:45:49] ssbb is now online
[19:50:49] ssbb is now online
[19:55:51] ssbb is now online
[19:57:54] slav0nic is now away
[20:00:42] slav0nic is now online
[20:00:50] ssbb is now online
[20:00:56] levsha is now online
[20:04:47] MAVr is now — Уважаемые пассажиры! Убедительно просим вас не аплодировать экипажу до полной остановки самолета. Спасибо!
[20:05:03] MAVr is now offline
[20:05:53] ssbb is now online
[20:06:19] madmercen is now online
[20:07:53] remo is now online
[20:08:18] fuzzy is now away
[20:08:18] fuzzy is now away
[20:10:55] ssbb is now online
[20:15:56] ssbb is now online
[20:17:53] remo is now away
[20:20:56] ssbb is now online
[20:25:58] ssbb is now online
[20:30:01] levsha is now online
[20:30:01] levsha is now away
[20:31:01] ssbb is now online
[20:31:11] levsha is now offline
[20:36:03] ssbb is now online
[20:41:05] ssbb is now online
[20:46:07] ssbb is now online
[20:46:59] madmercen is now away
[20:47:05] madmercen is now online
[20:51:08] ssbb is now online
[20:56:10] ssbb is now online
[20:56:42] remo is now online
[21:00:50] fuzzy is now away
[21:00:51] fuzzy is now online
[21:01:13] ssbb is now online
[21:03:35] madmercen is now away
[21:03:39] madmercen is now online
[21:06:14] ssbb is now online
[21:08:39] remo is now away
[21:11:18] ssbb is now online
[21:16:17] ssbb is now online
[21:21:20] ssbb is now online
[21:22:21] madmercen is now away
[21:22:27] madmercen is now online
[21:26:23] ssbb is now online
[21:27:17] ssbb is now online
[21:27:17] ssbb is now online
[21:27:40] ssbb is now away
[21:27:41] ssbb is now away
[21:27:44] gigimon is now online
[21:28:09] ssbb is now offline
[21:29:44] levsha is now away
[21:31:22] ssbb is now away
[21:31:36] ssbb is now away
[21:32:36] gigimon is now away
[21:32:43] levsha is now away
[21:32:43] levsha is now offline
[21:36:37] ssbb is now away
[21:41:45] ssbb is now away
[21:44:23] gigimon is now online
[21:44:23] gigimon is now online
[21:44:55] fuzzy is now offline
[21:44:58] fuzzy is now online
[21:45:10] fuzzy is now offline
[21:45:11] fuzzy is now online
[21:46:46] ssbb is now away
[21:51:47] ssbb is now away
[21:56:52] ssbb is now away
[22:01:53] ssbb is now away
[22:03:05] gigimon is now online
[22:03:37] ssbb is now away
[22:03:37] ssbb is now away
[22:03:37] ssbb is now away
[22:03:38] ssbb is now away
[22:05:06] ssbb is now offline
[22:06:42] ssbb is now away
[22:11:39] ssbb is now away
[22:13:05] gigimon is now online
[22:15:58] madmercen is now away
[22:16:02] madmercen is now online
[22:16:43] ssbb is now away
[22:21:25] remo is now online
[22:21:44] ssbb is now away
[22:23:13] gigimon is now online
[22:24:31] gigimon is now online
[22:26:15] levsha is now online
[22:26:46] ssbb is now away
[22:27:59] madmercen is now away
[22:28:05] madmercen is now online
[22:31:25] remo is now away
[22:31:47] ssbb is now away
[22:33:16] madmercen is now away
[22:33:21] madmercen is now online
[22:34:20] ssbb is now online
[22:34:21] ssbb is now online
[22:36:49] ssbb is now online
[22:40:12] ssbb is now online
[22:40:12] ssbb is now online
[22:41:50] ssbb is now online
[22:46:52] ssbb is now online
[22:51:55] ssbb is now online
[22:56:57] ssbb is now online
[23:00:06] ssbb is now online
[23:00:06] ssbb is now online
[23:00:15] gigimon is now online
[23:02:00] ssbb is now online
[23:02:04] slav0nic is now away
[23:04:40] levsha is now offline
[23:04:47] levsha is now online
[23:05:22] gigimon is now away
[23:07:04] ssbb is now online
[23:07:16] slav0nic is now online
[23:10:27] ssbb is now away
[23:10:28] ssbb is now away
[23:11:19] gigimon is now away
[23:11:19] gigimon is now online
[23:12:05] ssbb is now away
[23:16:22] levsha is now offline
[23:17:05] ssbb is now away
[23:22:08] ssbb is now away
[23:27:11] ssbb is now away
[23:27:27] levsha is now online
[23:32:10] ssbb is now away
[23:37:10] ssbb is now away
[23:40:44] gigimon is now online
[23:42:13] ssbb is now away
[23:45:12] levsha is now offline
[23:45:43] gigimon is now away
[23:47:12] ssbb is now away
[23:52:12] ssbb is now away
[23:56:49] gigimon is now online
[23:56:59] ssbb is now online
[23:57:00] ssbb is now online
[23:57:15] ssbb is now online