InMotion Hosting Enhances Shared Hosting with TCMalloc for Improved Performance

InMotion Hosting Transforms Shared Hosting with TCMalloc Deployment



In a pioneering move that enhances performance for its users, InMotion Hosting has announced the fleet-wide deployment of TCMalloc, an open-source memory management tool developed by Google. This change comes after years of industry struggles with memory allocation challenges that led to website crashes and slowdowns, particularly affecting shared hosting environments where multiple sites operate on a single server.

Understanding TCMalloc and Its Importance


Every server needs a memory allocator, which is a critical tool that determines how applications store and release memory. Many Linux servers default to the glibc malloc for this purpose, but it has limitations, particularly when it encounters sustained database workloads. This allocator tends to retain memory that should be freed up, causing a slow accumulation over time, which can lead to performance issues for websites running heavy databases.

TCMalloc, on the other hand, is engineered to optimize memory organization, effectively returning unused memory to the operating system with greater reliability. With websites increasingly dependent on databases for content storage, the difference in memory management can significantly impact operational stability.

The Problem of Memory Management


For most websites, the content resides within databases like MySQL and MariaDB. In shared hosting, a single server runs the database software for numerous websites simultaneously. When this database experiences performance issues, it does not just affect one site but hampers all hosted websites on that server. As many of these sites are using high-capacity workloads, this can often lead to crashes and slow loading times. In the past, hosting companies predominantly pointed fingers at the databases for these issues. However, InMotion’s engineering team took a closer look and identified the real culprit: the default memory allocator.

InMotion’s systems team recognized that switching to TCMalloc could introduce significant improvements. As Sean Combs, Tier 3 Systems Administration Technical Team Lead at InMotion Hosting, noted, “Gradual MySQL memory growth usually looks like a database leak. But the real problem sits one layer deeper in the memory allocator.” Their keen insight led to this strategic upgrade that reined in memory usage.

Impact on Performance


After implementing TCMalloc, the results were immediate and impressive. The memory consumption for MariaDB dropped by over 50% across the shared fleet, with certain heavily loaded servers observing reductions of up to 77%. Customers have experienced fewer interruptions in service, meaning that crashes due to memory issues are now a thing of the past. Moreover, with stabilized memory usage, performance consistency has improved substantially—servers no longer slow down as they approach capacity. This upgrade effectively allows for more substantial traffic handling, especially during peak usage times, without necessitating any action from the customer’s side, as the transition was seamless.

Why Can InMotion Make This Change?


InMotion Hosting’s competitive edge stems from owning its infrastructure and servers. This ownership allows their engineering teams to rapidly implement fixes without the need for third-party coordination. Erik Soroka, Director of IT and Data Center Operations, emphasized the importance of their ability to independently resolve issues, stating, “This is the work our customers don’t see but do enjoy every day.” Their internal system upgrades not only protect their current clients but also position the company to attract new ones.

In addition, InMotion Hosting provides extensive resources for customers looking for custom solutions with VPS or Dedicated Server options, ensuring that even if clients need specialized attention in areas such as memory tuning or database optimization, expert engineers are available through the InMotion Solutions team.

About InMotion Hosting


Founded in 2001 and privately held, InMotion Hosting delivers cutting-edge web hosting solutions, cloud infrastructure, and managed services to a broad clientele spread globally. With a customer base exceeding 170,000, the company is noted not just for its technology but also for its unwavering commitment to providing high-quality support.

For more on how InMotion Hosting can elevate your web experience or details about available services, customers are encouraged to visit their official website or reach out directly.

Topics Consumer Technology)

【About Using Articles】

You can freely use the title and article content by linking to the page where the article is posted.
※ Images cannot be used.

【About Links】

Links are free to use.