{"id":21653,"date":"2019-12-13T16:24:09","date_gmt":"2019-12-13T15:24:09","guid":{"rendered":"https:\/\/www.radioking.com\/blog\/?p=21653"},"modified":"2020-01-03T17:14:31","modified_gmt":"2020-01-03T16:14:31","slug":"understanding-the-infrastructure-of-radioking-servers-part-1","status":"publish","type":"post","link":"https:\/\/www.radioking.com\/blog\/understanding-the-infrastructure-of-radioking-servers-part-1\/","title":{"rendered":"Understanding the infrastructure of RadioKing servers: Part 1"},"content":{"rendered":"<p>Hi everyone! Allow me to introduce myself: <a href=\"https:\/\/www.radioking.com\/blog\/meet-alain-newest-recruit\/\" target=\"_blank\" rel=\"noopener\">Alain Del\u00e9glise<\/a>, System Administrator at RadioKing. <!--more-->I wanted to talk to you about the infrastructure that allows you to broadcast your <a href=\"https:\/\/www.radioking.com\/create-radio\" target=\"_blank\" rel=\"noopener\">Radio<\/a>, host <a href=\"https:\/\/www.radioking.com\/create-radio-cms-website\" target=\"_blank\" rel=\"noopener\">Radio websites<\/a> and the <a href=\"https:\/\/www.radioking.com\/listen-radio\" target=\"_blank\" rel=\"noopener\">online listening platform.<\/a><\/p>\n<h3><span style=\"color: #fb5e30;\"><strong>What is infrastructure?<\/strong><\/span><\/h3>\n<p>When we talk about \u00ab\u00a0<strong>infrastructure<\/strong>\u00a0\u00bb in the IT world, we mean the <strong>systems<\/strong> and <strong>hardware<\/strong> that make it possible for an <a href=\"https:\/\/www.radioking.com\/pricing-mobile-app\" target=\"_blank\" rel=\"noopener\">application<\/a>, software or <a href=\"https:\/\/www.radioking.com\/pricing-website\" target=\"_blank\" rel=\"noopener\">website<\/a>\u00a0to work. So when we talk about RadioKing&rsquo;s infrastructure, we are talking about <strong>servers<\/strong>, <strong>services<\/strong> and their <strong>configuration<\/strong>.<\/p>\n<p>For example, the website <a href=\"https:\/\/www.radioking.com\/\" target=\"_blank\" rel=\"noopener\">www.radioking.com<\/a> is hosted on several physical servers and in virtual machines. These are located in a <strong>Data Center<\/strong>, next to countless other servers. (Well, it actually is countable, but it gives you an idea of the extent of the whole thing).<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-21641 size-full aligncenter lazyload\" data-src=\"https:\/\/www.radioking.com\/blog\/wp-content\/uploads\/2019\/10\/giphy.gif\" alt=\"\" width=\"500\" height=\"281\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 500px; --smush-placeholder-aspect-ratio: 500\/281;\" \/><noscript><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-21641 size-full aligncenter\" src=\"https:\/\/www.radioking.com\/blog\/wp-content\/uploads\/2019\/10\/giphy.gif\" alt=\"\" width=\"500\" height=\"281\" \/><\/noscript><\/p>\n<h3><span style=\"color: #fb5e30;\"><strong>That&rsquo;s nice, but what&rsquo; is a \u00ab\u00a0server\u00a0\u00bb?<br \/>\n<\/strong><\/span><\/h3>\n<p>Great question !<\/p>\n<p>A server is a <strong>computer<\/strong>, like the one you have at home, that is specifically designed to <strong>be in constant operation<\/strong>. It also has special specifications, such as power, processor and RAM. Servers are generally stronger than traditional computers, but are not made for the same purposes either. For example, it is almost impossible to run a video game on a server, but a server can perform large and complex calculations for an extended period of time without any problems.<\/p>\n<p>In short, a server is a device that ensures that an application can be launched <strong>24 hours a day<\/strong>, <strong>7 days a week<\/strong> and provide a <strong>high quality service.<\/strong><\/p>\n<p>Have you probably already heard of the \u00ab\u00a0<strong>cloud<\/strong>\u00ab\u00a0? Well, the cloud is just a cluster of servers that allows you to host your files, photos or music, for example. In the IT world, we usually say \u00ab\u00a0<em><strong>The cloud is just someone else&rsquo;s computer<\/strong><\/em>\u00a0\u00bb \ud83d\ude42<\/p>\n<h3><span style=\"color: #fb5e30;\"><strong>The RadioKing website<\/strong><\/span><\/h3>\n<p>In the case of our website <a href=\"https:\/\/www.radioking.com\/\" target=\"_blank\" rel=\"noopener\">www.radioking.com<\/a>, we will use a number of technical terms, so I&rsquo;ve prepared a short glossary to help you:<\/p>\n<ul>\n<li><span style=\"color: #fb5e30;\"><strong>Hypervisor:<\/strong><\/span>\u00a0virtualization host, it is a server whose role is to host virtual machines.<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Virtual Machine:<\/strong><\/span>\u00a0 a virtual server.<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Load Balancer:<\/strong><\/span>\u00a0an application whose role is to distribute the load (we are talking here about users&rsquo; requests to access the RadioKing website) to several web servers.<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Web Server:<\/strong><\/span>\u00a0an application whose role is to serve files to users<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Database server:<\/strong><\/span>\u00a0an application whose role is to maintain and provide access to a large amount of data. This data is stored, sorted and indexed accurately and therefore easily accessible by via a query.<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>PHP:<\/strong><\/span>\u00a0a programming language, PHP files are served by the web server.<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>HTML:<\/strong><\/span>\u00a0also a programming language, it&rsquo;s used to create the structure of websites.<\/li>\n<\/ul>\n<p>So, the RadioKing website, composed of <strong>PHP<\/strong> and <strong>HTML<\/strong> files, is hosted in virtual machines, on <strong>hypervisors<\/strong>. All user accesses (yes, you!) are processed by the load balancers and sent to the virtual machines.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-21645 size-full lazyload\" data-src=\"https:\/\/www.radioking.com\/blog\/wp-content\/uploads\/2019\/10\/giphy-5.gif\" alt=\"\" width=\"480\" height=\"270\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" style=\"--smush-placeholder-width: 480px; --smush-placeholder-aspect-ratio: 480\/270;\" \/><noscript><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-21645 size-full\" src=\"https:\/\/www.radioking.com\/blog\/wp-content\/uploads\/2019\/10\/giphy-5.gif\" alt=\"\" width=\"480\" height=\"270\" \/><\/noscript><\/p>\n<h3><span style=\"color: #fb5e30;\"><strong>The case of Radio Stations<br \/>\n<\/strong><\/span><\/h3>\n<p>We&rsquo;re now going to expand our glossary to cover the main topic at RadioKing: radios!<\/p>\n<ul>\n<li><span style=\"color: #fb5e30;\"><strong><span style=\"color: #fb5e30;\">Automated broadcasting system:\u00a0<\/span><\/strong><\/span>this is the software that allows you to broadcast your audio stream<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Broadcasting server:<\/strong><\/span> it is a server that hosts groups of PLCs<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>Cloud provider:<\/strong><\/span> (remember the famous \u00ab\u00a0cloud\u00a0\u00bb) it is a service provider whose services we use to host virtual machines<\/li>\n<li><span style=\"color: #fb5e30;\"><strong>IceCast:<\/strong><\/span>\u00a0an audio broadcasting software (streaming software)<\/li>\n<\/ul>\n<h3><span style=\"color: #fb5e30;\"><strong>About the DDoS attacks<br \/>\n<\/strong><\/span><\/h3>\n<p>As you are certainly aware, we were victims of malfunctions that massively disrupted our services at the end of November\/beginning of December. We were subjected to \u00ab\u00a0<strong>DDoS<\/strong> <strong>attacks<\/strong>\u00a0\u00bb (Distributed Denial of Service). These are malicious people who use a network of \u00ab\u00a0zombie\u00a0\u00bb PCs infected with a virus and can control them from a central point (or several) called the C2C (Zombie PC management server).<\/p>\n<p>The attacks were mitigated. However, as you may know it&rsquo;s difficult, even for equipment designed for this purpose, to determine whether the traffic (connections to our services) is legitimate or from zombie PCs. We are convinced that RadioKing allows you to broadcast high quality radio and we hope that this will continue. We are constantly striving to improve our products and the way you use them.<\/p>\n<p>Thank you for your understanding, patience and loyalty, even during difficult times. Don&rsquo;t forget to <strong><a href=\"https:\/\/status.radioking.com\/\" target=\"_blank\" rel=\"noopener\">subscribe to our status page<\/a><\/strong>\u00a0to be alerted in case of issues or maintenance of our service.\u00a0?<\/p>\n<p>See you soon for Part 2!<\/p>\n<a href='https:\/\/fr.radioking.com\/' class='eckosc eckosc_button font_alt eckosc_button_size_large eckosc_button_position_center eckosc_button_rounded' style='background-color:#fb5e30;' target='_blank'' data-color='#fb5e30'>Lancez votre propre webradio d\u00e8s aujourd'hui !<\/a>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone! Allow me to introduce myself: Alain Del\u00e9glise, System Administrator at RadioKing.<\/p>\n","protected":false},"author":64,"featured_media":21639,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86],"tags":[],"_links":{"self":[{"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/posts\/21653"}],"collection":[{"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/users\/64"}],"replies":[{"embeddable":true,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/comments?post=21653"}],"version-history":[{"count":11,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/posts\/21653\/revisions"}],"predecessor-version":[{"id":22134,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/posts\/21653\/revisions\/22134"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/media\/21639"}],"wp:attachment":[{"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/media?parent=21653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/categories?post=21653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.radioking.com\/blog\/wp-json\/wp\/v2\/tags?post=21653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}