{"id":497,"date":"2012-12-10T19:16:52","date_gmt":"2012-12-11T00:16:52","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/12\/10\/chat-software-can-cause-high-usage\/"},"modified":"2021-10-20T10:12:39","modified_gmt":"2021-10-20T14:12:39","slug":"chat-software-can-cause-high-usage","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/","title":{"rendered":"Chat software can cause high usage"},"content":{"rendered":"<p>In this article we&#8217;ll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.<\/p>\n<p>The way that most chat software operates is by storing data in a MySQL database, or a file based database. Then for every visitor that is in the chat room, it will typically poll the server as frequently as every second to check for new messages. While it might seem like a chat room doesn&#8217;t take much to run, this can be a bit misleading.<\/p>\n<h2>Lots of frequent requests can make hosting chat software intensive<\/h2>\n<p>As an example let&#8217;s say you have a chat room setup on your website and there are 10 visitors active in it. In most cases that would be 1 request per second for each user, so about 600 requests a minute. Over the course of an hour that would be about 36,000 requests the server has to handle, and around 864,000 for a whole day.<\/p>\n<p>10 users<br \/>\n600 requests \/ minute<br \/>\n36,000 requests \/ hour<br \/>\n864,000 requests \/ day<\/p>\n<p>Now if each of those requests was simply trying to pull up an HTML page, or some static content, a VPS or shared server could potentially host that without a problem.<\/p>\n<p>However for chat software each of these requests would more than likely go to a PHP script, which is a server-side script that has to run on the server. While that PHP script executes to pull in data from the database it requires CPU usage from the server as well as disk access as the database is read.<\/p>\n<p>This is the same way that most CMS (Content Management Systems) such as WordPress operate. However with a CMS you typically have only a few requests per minute and not up in the hundreds of requests happening.<\/p>\n<h2>Embed chat software on your website to offload intensive activity<\/h2>\n<p>There are many 3rd party chat providers available on the Internet where their sole purpose is to host chat rooms. Since our servers are multi-purpose and are configured to deal with a mix of website, e-mail, and database requests, when there are tons of small chat requests thrown into the mix this can lead to problems for other users sharing the server.<\/p>\n<p>You can look for a hosted chat provider that will allow you to directly embed their chat client onto your website. Doing it this way our server hosting your website would only have to handle the actual HTML for the chat room.<\/p>\n<p>This HTML code would be setup so that all chat requests are going directly to the chat server you&#8217;re using instead of to the local web server. That would help ensure that even if you have a room full of people chatting on your website you are not overloading a VPS or shared hosting server with all of the frequent chat requests.<\/p>\n<h2>Scale back usage or upgrade to dedicated server<\/h2>\n<p>If for some reason you can&#8217;t use 3rd party chat software that you can embed into your website, and you&#8217;ve been notified of chat software causing problems on either your VPS or shared server. You would need to either scale back the usage greatly of your chat software or upgrade to a <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">dedicated server<\/a> that can handle the extra intensive activity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article we&#8217;ll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues. The way that most chat software operates is<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4364],"tags":[],"class_list":["post-497","post","type-post","status-publish","format-standard","hentry","category-server-usage"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Chat software can cause high usage | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this article we&#039;ll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Chat software can cause high usage | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this article we&#039;ll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-12-11T00:16:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-20T14:12:39+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Chat software can cause high usage\",\"datePublished\":\"2012-12-11T00:16:52+00:00\",\"dateModified\":\"2021-10-20T14:12:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\"},\"wordCount\":572,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Server Usage\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\",\"name\":\"Chat software can cause high usage | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2012-12-11T00:16:52+00:00\",\"dateModified\":\"2021-10-20T14:12:39+00:00\",\"description\":\"In this article we'll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat software can cause high usage\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Chat software can cause high usage | InMotion Hosting","description":"In this article we'll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/","og_locale":"en_US","og_type":"article","og_title":"Chat software can cause high usage | InMotion Hosting","og_description":"In this article we'll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.","og_url":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-12-11T00:16:52+00:00","article_modified_time":"2021-10-20T14:12:39+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Chat software can cause high usage","datePublished":"2012-12-11T00:16:52+00:00","dateModified":"2021-10-20T14:12:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/"},"wordCount":572,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Server Usage"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/","url":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/","name":"Chat software can cause high usage | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2012-12-11T00:16:52+00:00","dateModified":"2021-10-20T14:12:39+00:00","description":"In this article we'll discuss why in some cases running chat software on your hosting account might lead to problems. Typically on a dedicated server, chat software would be fine, but on a VPS or shared hosting server the overhead required to run them can cause issues.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/server\/server-usage\/chat-software-can-cause-high-usage\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Chat software can cause high usage"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=497"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/497\/revisions"}],"predecessor-version":[{"id":90029,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/497\/revisions\/90029"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}