MySQL en The golden Goose egg, a compile-time adventure <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>Goose, the highly scalable load testing tool created by Tag1 Consulting, has undergone a number of improvements since its creation. Asynchronous support created a significant boost in performance, but Jeremy felt there was still room for improvement.</p> <div class="more-link"><a href="/blog/golden-goose-egg-compile-time-adventure" class="more-link" aria-label="Read more about The golden Goose egg, a compile-time adventure" hreflang="en">Read more</a></div> </div> <span><span>lynette@tag1co…</span></span> <span>Wed, 01/06/2021 - 09:17</span> Wed, 06 Jan 2021 17:17:44 +0000 264 at Stop Disabling SELinux! <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> I see a lot of people coming by #centos and similar channels asking for help when they’re experiencing a problem with their Linux system. It amazes me how many people describe their problem, and then say something along the lines of, “and I disabled SELinux...”. Most of the time SELinux has nothing to do with the problem, and if SELinux is the cause of the problem, why would you throw out the extra security by disabling it completely rather than configuring it to work with your application? <div class="more-link"><a href="/blog/stop-disabling-selinux" class="more-link" aria-label="Read more about Stop Disabling SELinux!" hreflang="en">Read more</a></div> </div> <span><span>Jeff</span></span> <span>Thu, 12/22/2011 - 07:48</span> Thu, 22 Dec 2011 15:48:37 +0000 Jeff 38 at Performance Tuning Your Database From Drupal <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>I began porting the dba module to Drupal 7 as an opportunity to learn more about the new database abstraction layer. In this upcoming Drupal release, our database layer is now built upon the PHP Data Objects (PDO) data-access abstraction layer, introducing new syntax and symantecs into writing queries with Drupal. A powerful new query builder makes it possible to easily write queries that run on any database type supported by Drupal, currently including MySQL, PostgreSQL and SQLite. The dba module was always intended to be a useful tool for any database administrator, and toward that end I have recently merged in mysqlreport functionality which utilizes MySQL's server statistics to offer an overview of server health and performance. As an enhancement, I also merged in the knowledge shared in this earlier Tag1 Consulting article , so now problem areas detected in the mysqlreport output are automatically highlighted along with some useful help text offering tips on better tuning your database. Screenshots The following screenshot shows a sample of the output generated by the enhanced MySQL reporting built into the Drupal 7 version of the dba module: When holding your mouse pointer over any of the text that's highlighted in red...</p> <div class="more-link"><a href="/blog/performance-tuning-your-database-drupal" class="more-link" aria-label="Read more about Performance Tuning Your Database From Drupal " hreflang="en">Read more</a></div> </div> <span><span>Jeremy</span></span> <span>Thu, 01/14/2010 - 00:28</span> Thu, 14 Jan 2010 08:28:56 +0000 Jeremy 29 at Tag1 Now Hiring Interns <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>At the beginning of 2009, I was hired by Tag1 Consulting as Jeremy Andrews' full time partner. A decidedly questionable decision on his part, but a great change for me! I used to work at the Open Source Lab at Oregon State University and I am currently the sysadmin for Working at the OSL and spoiled me, I'll be completely honest about that. I got used to working with interesting new technologies and consistently pushing the limits of my knowledge. I have nothing against applying well known best practices and I certainly do a lot of that, but its not why I do the job. What I love is learning new and cool technology. The OSL and Drupal gave me the ability to do that and after graduation I was looking for a place to continue doing it. Tag1 is a perfect fit. On any average day we go from assisting smaller sites with their growth, mostly using tried and true solutions, to working with large enterprise-class installations which require customized and interesting solutions. Success has lead to a problem for us...we need clones. Now, we have researched current cloning technology and its frankly a little disappointing. Not...</p> <div class="more-link"><a href="/blog/tag1-now-hiring-interns" class="more-link" aria-label="Read more about Tag1 Now Hiring Interns" hreflang="en">Read more</a></div> </div> <span><span>nnewton</span></span> <span>Wed, 10/21/2009 - 21:52</span> Thu, 22 Oct 2009 04:52:02 +0000 nnewton 22 at Cacti Memcache Multi-Port Templates <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>We at Tag1 have used the Cacti Memcache templates many times. ( <a href=""></a> ) They have become a staple for us and many others. However, we and one of our clients have had issues making them work for monitoring multiple Memcache instances (running on different ports) on the same host. It is possible to make this work with the vanilla templates, but it is a bit difficult. Because of this, we have created a re-roll of the latest templates that allows you to add multiple templates to a host and set the port on each of them. This work was kindly sponsored by <a href=""></a> . Download Cacti Memcache Templates - Multiport Instructions: These graphs work exactly the same as the vanilla ones, but there is a port field to fill out when you create the graph. You can add multiple graphs to the same host by going through the create step multiple times. (i.e. selecting the graph in the create graph drop down box and pressing create)</p> <div class="more-link"><a href="/blog/cacti-memcache-multi-port-templates" class="more-link" aria-label="Read more about Cacti Memcache Multi-Port Templates" hreflang="en">Read more</a></div> </div> <span><span>nnewton</span></span> <span>Fri, 04/24/2009 - 21:12</span> Sat, 25 Apr 2009 04:12:16 +0000 nnewton 21 at Cool Little Utilities <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>I've had the opportunity in the last few days to use quite a few cool little utilities that made my life considerably easier. I've known about most of them for awhile, but discovered some new tools or new uses for old tools and wanted to share two of them. AutoSSH SSH tunneling is a way of life. I can't count how many times I've had to throw one into place because "there was no other option." I've even seen people use them to protect MySQL replication, not for security interestingly enough but because SSH doesn't "trust the network" the way MySQL does. However, using an SSH tunnel brings the risk of its premature death due to network errors or timeout. Enter autossh stage left. There are many ways to script an ssh wrapper to prevent tunnel death, but autossh does this all for you. It basically creates a tunnel loopback, where ssh is forwarding ports to the remote server and then back to the local server so that it can send a packet to one of the ports and have it loop all the way to the remote and back to local. If it doesn't get the packet back...ssh has...</p> <div class="more-link"><a href="/blog/cool-little-utilities" class="more-link" aria-label="Read more about Cool Little Utilities" hreflang="en">Read more</a></div> </div> <span><span>nnewton</span></span> <span>Wed, 02/25/2009 - 00:27</span> Wed, 25 Feb 2009 08:27:10 +0000 nnewton 18 at Tag1 MySQL Monitoring <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>I recently joined Tag1 Consulting full time. My main project since I joined was building up our monitoring infrastructure. My personal goal being world domination, but first the best monitoring system I can build. Baby steps. For quite awhile now, I've used the monitoring system we built at the Open Source Lab to detect and diagnose problems with,, and many more Free Software projects hosted at the lab. These experiences convinced me of the absolute necessity of a robust monitoring system. It began simply at the OSL, a very stripped down Cacti instance to monitor load, memory usage and network usage. Combine this with Nagios monitoring ping latency and not much more. We went from this to monitoring disk space, load, users, MySQL availability and much more with Nagios. We also added some simple Cacti graphs for monitoring MySQL performance. At Tag1, I've been allowed to take this even farther. First, I tracked down some newer MySQL Cacti Templates developed by Xaprb. These templates are extremely cool and allow you to graph: InnoDB Buffer Pool Activity, IO Activity, Log Activity, Processlist, MyISAM Index Usage, Connections, Network Traffic, Sorts, Temp Tables and much more. You can see...</p> <div class="more-link"><a href="/blog/tag1-mysql-monitoring" class="more-link" aria-label="Read more about Tag1 MySQL Monitoring" hreflang="en">Read more</a></div> </div> <span><span>nnewton</span></span> <span>Fri, 02/13/2009 - 22:23</span> Sat, 14 Feb 2009 06:23:07 +0000 nnewton 17 at MySQL Replication <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>Until recently, I was a student employee at the Oregon State University Open Source Lab. My career there ended, like many, with that painful process known as graduation. I got invaluable experience at the lab, not the least of which being the knowledge gained as their main (only) database administrator. One of my great pleasures in that position, was learning how to configure MySQL replication and manage clusters of replicating database servers. Even the simple case of a single master and a single slave has its edge cases. There are endless tips and tricks to make long-term maintenance easier and to allow you to make full use of this technology. Running replicating database servers for Drupal in particular has several tricks to it: Replication Settings - Timewarp A major issue with replication in MySQL is that it has a tendency to fall behind. There are various tricks you can employ to assist with this and some big ones for Drupal specifically. First, if you are going to use the search module, you will need to stop the replication of the temp tables it uses. These will be replicated to the slave as they are technically volatile queries, however, they are...</p> <div class="more-link"><a href="/blog/mysql-replication" class="more-link" aria-label="Read more about MySQL Replication" hreflang="en">Read more</a></div> </div> <span><span>nnewton</span></span> <span>Thu, 07/31/2008 - 01:08</span> Thu, 31 Jul 2008 08:08:37 +0000 nnewton 16 at Chapter 1 Rough Draft Complete <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>I have completed a rough draft of the first chapter of " Drupal Performance and Scalability ". The first chapter of this online book is divided into four sections, the first of which focuses on the importance of fully defining your performance and scalability goals, helping you to identify what you need to accomplish and how to set concrete and attainable goals. The second section discusses monitoring and measuring your ongoing progress, helping you decide what you need to monitor, and how to monitor it. The third section stresses the importance of making regular backups, discussing what needs to be backed up, and offering example scripts for backing up your entire website, including the database. Finally, the fourth section takes an in depth look at using revision control tools to manage your website, providing useful recipes showing how Git can track changes to your website, helping you update to new releases and push those updates into production. It is important to realize that this is a rough draft, and as such it may contain spelling or grammatical errors, it may be missing key points, and the writing style may not be very polished. However, the book has to start somewhere...</p> <div class="more-link"><a href="/blog/chapter-1-rough-draft-complete" class="more-link" aria-label="Read more about Chapter 1 Rough Draft Complete" hreflang="en">Read more</a></div> </div> <span><span>Jeremy</span></span> <span>Sun, 07/27/2008 - 20:27</span> Mon, 28 Jul 2008 03:27:07 +0000 Jeremy 15 at Online Performance and Scalability Book <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"> <p>Tag1 Consulting is focused on improving Drupal's performance and scalability. We also believe that when information is freely shared, everyone wins. Toward these ends, we are working on an online book titled, " Drupal Performance and Scalability ". The book is divided into five main sections, Drupal Performance , Front End Performance , Improved Caching and Searching , Optimizing the Database Layer , and Drupal In The Cloud . The book is primarily aimed toward users running Drupal on the LAMP stack, with chapters applicable to everything from low-end shared hosts to large-scale multi-server installations. By publishing on-line, we aim to encourage you to participate in the book writing process as an editor and a technical reviewer. You will currently find the book's complete outline online, along with descriptions of each planned section and chapter. As the book evolves, it will continue to be updated online in real time. We encourage you to post comments with suggestions, critical feedback, grammatical corrections, or anything else relevant to our ongoing effort. Schedule The book outline was first published on July 17th, 2008. We ambitiously hope to have a completed and edited draft of all chapters completed by the end of the year...</p> <div class="more-link"><a href="/blog/online-performance-and-scalability-book" class="more-link" aria-label="Read more about Online Performance and Scalability Book" hreflang="en">Read more</a></div> </div> <span><span>Jeremy</span></span> <span>Fri, 07/18/2008 - 13:32</span> Fri, 18 Jul 2008 20:32:52 +0000 Jeremy 14 at