Feb. 5th, 2016

iamnewborn: (Default)
Некоторое время назад решил переместить стриминговый relay-сервер своей радиостанции на облачную виртуалку (конкретно - Debian на OpenVZ). Зачем именно - не спрашивайте, в основном для обеспечения отказоустойчивости и балансировки нагрузки.

Вердикт - все бюджетные VPS/VDS хостинги со стоимостью аренды виртуалки до 100р/месяц - лажа полнейшая.
Получилось что отказоустойчивость не возросла, а наоборот - упала.

Это всё, что можно сказать о бюджетных VPS-ках:

root@vm15936:~# cat /opt/shoutcast/logs/sc_serv.log | grep relay | grep Disconnected
2016-02-01 04:15:56 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-01 04:15:56 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-01 04:15:56 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-01 04:54:00 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-01 04:54:00 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-01 04:54:00 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-01 05:58:23 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-01 05:58:23 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-02 07:18:19 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-02 07:18:38 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-02 07:25:02 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-02 07:29:09 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-02 07:29:44 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-03 07:31:09 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-03 07:31:09 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-03 07:31:09 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-03 07:43:29 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-03 07:43:29 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:15:55 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:15:55 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:15:55 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:24:23 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:24:23 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-04 18:24:23 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:46:16 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:46:16 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:46:16 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:54:22 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:54:22 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-04 20:54:22 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-04 21:24:25 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-04 21:24:25 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-04 21:24:50 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-05 11:51:09 INFO [RELAY *.radioextreme.ru:8008/stream1 sid=1] Disconnected from SHOUTcast 2 source relay.
2016-02-05 11:51:09 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.
2016-02-05 11:51:09 INFO [RELAY *.radioextreme.ru:8008/stream3 sid=3] Disconnected from SHOUTcast 2 source relay.
2016-02-05 12:06:11 INFO [RELAY *.radioextreme.ru:8008/stream2 sid=2] Disconnected from SHOUTcast 2 source relay.

В общем, обрывы каждый день и не по одному разу.
Протестировано как минимум на двух хостерах. Бывает что один глючит чуть менее чаще, чем другой, бывает что наоборот - не суть. Общая картина примерно такая.
И что бы там не утверждали про крутость виртуализации на OpenVZ (https://habrahabr.ru/post/177423/) - всё это лажа, если не обеспечена правильная организация самой инфраструктуры (защита от DDoS атак, перегрузка и прочее).

April 2017

S M T W T F S
      1
2345678
9101112131415
1617181920 2122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 27th, 2017 04:26 am
Powered by Dreamwidth Studios