Click here to close now.


Linux Authors: Carmen Gonzalez, Liz McMillan, Pat Romanski, Elizabeth White, AppDynamics Blog

Related Topics: Linux, PHP

Linux: Article

Taking Linux, Apache, PostgreSQL, and PHP to Their Logical Extreme

Taking Linux, Apache, PostgreSQL, and PHP to their logical extreme

Let's play word association. I say "Web Hosting." I bet "fat margins" didn't jump into your head. More likely, you thought of some of the "where are they nows" of the bubble, like Exodus and PSINet. Let's do another round - I say "New York City," and I'd wager that "cheap rent" wasn't the first thing you thought of, either. So it may surprise you to learn that one hosting company that's been around since 1993 and that's actually making money, Logicworks (, just happens to be based in New York City.

What's their secret? Talk to CEO, Carter Burden, and he'll tell you that they have low customer turnover because of their superb support, and that this also allows them to earn a modest price premium over the competition. One customer raves: "I have been a client of Logicworks for over 6 years. The service has been as close to flawless as anyone has a right to expect." - Director of Technology, Philadelphia Magazine

Sounds like a good formula: a satisfied, growing customer base and healthy margins even in a space-intensive business in one of the most expensive real estate markets in the world.

Just how does Logicworks manage to provide over-the-top customer service without blowing out their SG&A budget? Typically, the more a company spends on customer service, the lower their margins, since they need to spend money on more customer support reps. In the hosting business, companies can incur costs buying third-party systems to correlate servers to customers so that, when an issue arises or when the customer wants a new feature turned on, it can be accomplished in a controlled and documented way with minimal effort and at maximum velocity. When you're talking three facilities, two live and one backup data center, where all facilities are connected via an in-house Gigabit Ethernet MAN, you get an idea of the potential complexity. Scaling such a system smoothly as you increase customers is also a daunting task.

After struggling for years to make commercial systems fit their needs, but failing to achieve the desired results, Logicworks embarked on a bold venture to build a custom integrated asset tracking, CRM, and system monitoring tool. Pause for a moment and take this in - not three tools - one for asset tracking, another for customer relationship management, and a third for system monitoring - but one tool that does all three, and in which all three components are seamlessly connected. In June of this year, just before I became acquainted with Logicworks at a trade show in New York, they announced the availability of their creation, which they call LogicOps.

In the Beginning...
Mr. Burden passionately explains his rationale behind unifying Logicworks' operational data in one meta system. "I felt that, in order for us to simultaneously meet our stringent customer service targets and keep our operational costs in check, it was imperative that we have a fully integrated platform for all of Logicworks' systems management activities. LogicOps ensures absolute precision and tight security controls for the services we offer now, and all the services we plan to offer in the future. Even more important, LogicOps provides a high degree of transparency into our operations for our customers, giving them control over their servers' administration."

Through a demonstration of LogicOps, I was impressed with the sheer breadth of the tool. Using LogicOps, a customer can enter a service ticket to add more RAM to one of their servers, for example. A Logicworks support rep will then use the tool to assign the task to a technician. When completed, both the support rep as well as the customer will receive a notification that the task has been completed. Then, when accounting needs to reconcile their inventory of RAM, they can use the same LogicOps system to track the customer to which the stick of RAM has been assigned, and when.

Because LogicOps contains detailed data about Logicworks' datacenter layout and chassis placement, it can also draw both a top-down view of the datacenter space, as well as a front view of each rack (see Figure 1). This allows management to make decisions about expansion without having to step foot in the datacenters and without tasking datacenter engineers with "gofer" tasks. This capability extends to power and switch/router capacity as well. Because LogicOps is a centralized repository, it provides engineers with an enormous amount of data in a single location. Instead of needing to search through multiple systems to collect the information required to accomplish a task, be it an IP address, a phone number of a client, or the location of a machine, they can find it all in one pass from a consistent interface.

Build It and They Will Come
Based entirely on open source components, LogicOps stores and represents assets (servers, racks, routers, VLANs, even memory modules), customer data (addresses/phone numbers, authorized contacts, service requests), and network status (utilization, failures) as generic objects in parent-child relationships. The unified tree structure groups all service elements into interconnected patterns, allowing for greater transparency for the customer while reducing Logicworks' operational complexity.

In building LogicOps, explains the system's architect Bart Grantham, open source software (OSS) was not a requirement, but rather it was a natural fit; most of Logicworks' engineers were comfortable with OSS, and this choice provided them with a lot of flexibility, which proved to be crucial as the project progressed. Price was also a factor, though not the deciding one. Furthermore, the team's level of expertise with OSS gave Logicworks' management the comfort they needed to forgo the backing by a central authority that you get with a commercial package. (See Figure 2)

Settling on Linux (currently Red Hat ES4) as the OS for the platform was easy given the team's familiarity with Linux and the ready availability of pre-made images for server deployment. PostgreSQL was chosen as the database back end for a number of reasons. Though not necessarily the fastest open source database, the Logicworks team liked the tool's enterprise features as well as their clean implementation. They also felt that the PL/pgSQL language made the development of stored procedures more flexible and expressive, which became a big plus at the end of the development cycle when, during final polishing of the application, the team achieved an enormous performance boost by moving some small but complex pieces of the application logic into stored procedures.

The middleware language selected was PHP for its ease-of-use and deployment and because of the good supply of developers who know it. This has made finding new members of the team to support the application relatively easy. For Bart and his team, this choice has also aged well with time. The team has found that the activity surrounding PHP includes strong community support and a wide array of useful libraries, such as ADODB and Smarty, both of which found their way into LogicOps. They also liked the eAccelerator PHP code cache, which helped reduce system latency. While eminently satisfied with their choice of PHP, the group recognizes that Python would also have been a good choice. Indeed, one extension of the tool under consideration is a cross-platform desktop client that, if implemented, will use Python to deliver an enhanced user experience.

Not surprisingly, Apache won the day for the Web server, though, after reading about lighttpd's speed and nice integration with PHP, the team is giving this alternative a look to see if it can deliver any performance gains.

More Stories By Greg Wallace

Greg Wallace is Co-Founder and Chief Marketing Officer of Emu Software, Inc. Greg received his MBA and Masters of International Affairs degrees from Columbia University in New York City. He also spent a year as a Rotary Foundation Scholar at the University of Barcelona, Spain. He can be reached at [email protected]

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
LinuxWorld News Desk 10/25/05 03:37:53 PM EDT

LinuxWorld Feature: Taking Linux, Apache, PostgreSQL, and PHP to Their Logical Extreme. Let's play word association. I say 'Web Hosting.' I bet 'fat margins' didn't jump into your head. More likely, you thought of some of the 'where are they nows' of the bubble, like Exodus and PSINet. Let's do another round - I say 'New York City,' and I'd wager that 'cheap rent' wasn't the first thing you thought of, either. So it may surprise you to learn that one hosting company that's been around since 1993 and that's actually making money, Logicworks (, just happens to be based in New York City.

LinuxWorld News Desk 10/25/05 03:15:02 PM EDT

LinuxWorld Feature: Taking Linux, Apache, PostgreSQL, and PHP to Their Logical Extreme. Let's play word association. I say 'Web Hosting.' I bet 'fat margins' didn't jump into your head. More likely, you thought of some of the 'where are they nows' of the bubble, like Exodus and PSINet. Let's do another round - I say 'New York City,' and I'd wager that 'cheap rent' wasn't the first thing you thought of, either. So it may surprise you to learn that one hosting company that's been around since 1993 and that's actually making money, Logicworks (, just happens to be based in New York City.

@ThingsExpo Stories
17th Cloud Expo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Meanwhile, 94% of enterprises are using some form of XaaS – software, platform, and infrastructure as a service.
Sensor-enabled things are becoming more commonplace, precursors to a larger and more complex framework that most consider the ultimate promise of the IoT: things connecting, interacting, sharing, storing, and over time perhaps learning and predicting based on habits, behaviors, location, preferences, purchases and more. In his session at @ThingsExpo, Tom Wesselman, Director of Communications Ecosystem Architecture at Plantronics, will examine the still nascent IoT as it is coalescing, including what it is today, what it might ultimately be, the role of wearable tech, and technology gaps stil...
The explosion of connected devices / sensors is creating an ever-expanding set of new and valuable data. In parallel the emerging capability of Big Data technologies to store, access, analyze, and react to this data is producing changes in business models under the umbrella of the Internet of Things (IoT). In particular within the Insurance industry, IoT appears positioned to enable deep changes by altering relationships between insurers, distributors, and the insured. In his session at @ThingsExpo, Michael Sick, a Senior Manager and Big Data Architect within Ernst and Young's Financial Servi...
The Workspace-as-a-Service (WaaS) market will grow to $6.4B by 2018. In his session at 16th Cloud Expo, Seth Bostock, CEO of IndependenceIT, will begin by walking the audience through the evolution of Workspace as-a-Service, where it is now vs. where it going. To look beyond the desktop we must understand exactly what WaaS is, who the users are, and where it is going in the future. IT departments, ISVs and service providers must look to workflow and automation capabilities to adapt to growing demand and the rapidly changing workspace model.
Since 2008 and for the first time in history, more than half of humans live in urban areas, urging cities to become “smart.” Today, cities can leverage the wide availability of smartphones combined with new technologies such as Beacons or NFC to connect their urban furniture and environment to create citizen-first services that improve transportation, way-finding and information delivery. In her session at @ThingsExpo, Laetitia Gazel-Anthoine, CEO of Connecthings, will focus on successful use cases.
One of the biggest impacts of the Internet of Things is and will continue to be on data; specifically data volume, management and usage. Companies are scrambling to adapt to this new and unpredictable data reality with legacy infrastructure that cannot handle the speed and volume of data. In his session at @ThingsExpo, Don DeLoach, CEO and president of Infobright, will discuss how companies need to rethink their data infrastructure to participate in the IoT, including: Data storage: Understanding the kinds of data: structured, unstructured, big/small? Analytics: What kinds and how responsiv...
Building low-cost wearable devices can enhance the quality of our lives. In his session at Internet of @ThingsExpo, Sai Yamanoor, Embedded Software Engineer at Altschool, provided an example of putting together a small keychain within a $50 budget that educates the user about the air quality in their surroundings. He also provided examples such as building a wearable device that provides transit or recreational information. He then reviewed the resources available to build wearable devices at home including open source hardware, the raw materials required and the options available to power s...
DevOps tends to focus on the relationship between Dev and Ops, putting an emphasis on the ops and application infrastructure. But that’s changing with microservices architectures. In her session at DevOps Summit, Lori MacVittie, Evangelist for F5 Networks, will focus on how microservices are changing the underlying architectures needed to scale, secure and deliver applications based on highly distributed (micro) services and why that means an expansion into “the network” for DevOps.
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends: Exposing the device to a management framework Exposing that management framework to a business centric logic Exposing that business layer and data to end users. This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it's a mix of architectural styles ...
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo in Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 17th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal an...
We’re no longer looking to the future for the IoT wave. It’s no longer a distant dream but a reality that has arrived. It’s now time to make sure the industry is in alignment to meet the IoT growing pains – cooperate and collaborate as well as innovate. In his session at @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, will examine the key ingredients to IoT success and identify solutions to challenges the industry is facing. The deep industry expertise behind this presentation will provide attendees with a leading edge view of rapidly emerging IoT oppor...
The 3rd International @ThingsExpo, co-located with the 16th International Cloud Expo – to be held June 9-11, 2015, at the Javits Center in New York City, NY – is now accepting Hackathon proposals. Hackathon sponsorship benefits include general brand exposure and increasing engagement with the developer ecosystem. At Cloud Expo 2014 Silicon Valley, IBM held the Bluemix Developer Playground on November 5 and ElasticBox held the DevOps Hackathon on November 6. Both events took place on the expo floor. The Bluemix Developer Playground, for developers of all levels, highlighted the ease of use of...
Connected devices and the Internet of Things are getting significant momentum in 2014. In his session at Internet of @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, examined three key elements that together will drive mass adoption of the IoT before the end of 2015. The first element is the recent advent of robust open source protocols (like AllJoyn and WebRTC) that facilitate M2M communication. The second is broad availability of flexible, cost-effective storage designed to handle the massive surge in back-end data in a world where timely analytics is e...
We certainly live in interesting technological times. And no more interesting than the current competing IoT standards for connectivity. Various standards bodies, approaches, and ecosystems are vying for mindshare and positioning for a competitive edge. It is clear that when the dust settles, we will have new protocols, evolved protocols, that will change the way we interact with devices and infrastructure. We will also have evolved web protocols, like HTTP/2, that will be changing the very core of our infrastructures. At the same time, we have old approaches made new again like micro-services...
SYS-CON Events announced today that Gridstore™, the leader in hyper-converged infrastructure purpose-built to optimize Microsoft workloads, will exhibit at SYS-CON's 16th International Cloud Expo®, which will take place on June 9-11, 2015, at the Javits Center in New York City, NY. Gridstore™ is the leader in hyper-converged infrastructure purpose-built for Microsoft workloads and designed to accelerate applications in virtualized environments. Gridstore’s hyper-converged infrastructure is the industry’s first all flash version of HyperConverged Appliances that include both compute and storag...
For years, we’ve relied too heavily on individual network functions or simplistic cloud controllers. However, they are no longer enough for today’s modern cloud data center. Businesses need a comprehensive platform architecture in order to deliver a complete networking suite for IoT environment based on OpenStack. In his session at @ThingsExpo, Dhiraj Sehgal from PLUMgrid will discuss what a holistic networking solution should really entail, and how to build a complete platform that is scalable, secure, agile and automated.
The industrial software market has treated data with the mentality of “collect everything now, worry about how to use it later.” We now find ourselves buried in data, with the pervasive connectivity of the (Industrial) Internet of Things only piling on more numbers. There’s too much data and not enough information. In his session at @ThingsExpo, Bob Gates, Global Marketing Director, GE’s Intelligent Platforms business, to discuss how realizing the power of IoT, software developers are now focused on understanding how industrial data can create intelligence for industrial operations. Imagine ...
Hadoop as a Service (as offered by handful of niche vendors now) is a cloud computing solution that makes medium and large-scale data processing accessible, easy, fast and inexpensive. In his session at Big Data Expo, Kumar Ramamurthy, Vice President and Chief Technologist, EIM & Big Data, at Virtusa, will discuss how this is achieved by eliminating the operational challenges of running Hadoop, so one can focus on business growth. The fragmented Hadoop distribution world and various PaaS solutions that provide a Hadoop flavor either make choices for customers very flexible in the name of opti...
In the consumer IoT, everything is new, and the IT world of bits and bytes holds sway. But industrial and commercial realms encompass operational technology (OT) that has been around for 25 or 50 years. This grittier, pre-IP, more hands-on world has much to gain from Industrial IoT (IIoT) applications and principles. But adding sensors and wireless connectivity won’t work in environments that demand unwavering reliability and performance. In his session at @ThingsExpo, Ron Sege, CEO of Echelon, will discuss how as enterprise IT embraces other IoT-related technology trends, enterprises with i...
Wearable devices have come of age. The primary applications of wearables so far have been "the Quantified Self" or the tracking of one's fitness and health status. We propose the evolution of wearables into social and emotional communication devices. Our BE(tm) sensor uses light to visualize the skin conductance response. Our sensors are very inexpensive and can be massively distributed to audiences or groups of any size, in order to gauge reactions to performances, video, or any kind of presentation. In her session at @ThingsExpo, Jocelyn Scheirer, CEO & Founder of Bionolux, will discuss ho...