CanadaDrugs.com Opts for Open-Source Clustering | eWeek

CanadaDrugs.com Opts for Open-Source Clustering

Écrit par
Lisa Vaas
Lisa Vaas
Mar 21, 2005
3 minute read
eWeek Le contenu et les recommandations de produits sont indépendants de la rédaction. Nous pouvons gagner de l'argent lorsque vous cliquez sur des liens vers nos partenaires. En savoir plus

Not only are Canadas border towns being swamped by U.S. citizens looking to avoid prohibitively costly drugs—so are its online drugstores.

One of the largest, CanadaDrugs.com, has turned to clustering of MySQL databases on Emic Networks EAC (Emic Application Clustering) technology to avoid freezing its rapidly expanding workforce out of their ever-escalating order-processing tasks.

Curtis Anderson, director of IT for the online drugstore, said that the move was prompted about a year ago by bad performance, back when operations were running on a back-end SQL Server database that was connected to a Windows executable client.

“The biggest problem with that application was it was all DCOM [Microsoft Corp.s Distributed Component Object Model]-based,” said Anderson, in Winnipeg, Manitoba. “That scales to about 14 people, and then youre in trouble.”

With a workforce that was—and still is—growing at the rate of about 10 percent per month, CanadaDrugs.com was in trouble. Anderson doesnt fault Microsofts SQL Server. Rather, he said, DCOM, as a single-threaded model, doesnt handle multiple users with much grace.

/zimages/2/28571.gifeWEEK Technology Editor Peter Coffee says DCOM is tolerable—on one, single, lonely PC, that is.Click hereto read more.

“We were running into a lot of deadlock situations, primarily because of clients trying to access” the database, along with separate applications for pharmacy dispensing, CRM (customer relationship management), shipping and billing, he said. “We knew we were having problems with the applications, but this opened doors to putting everything onto one internal system that we could manage easily and centralize.”

That central system turned out to be a custom application, PharmacyWire, built by a local company, Metrex Internet Solutions. The application runs on an entirely open-source platform featuring the LAMP (Linux, Apache, MySQL, PHP/Python/Perl) stack and handles the drugstores workflow from start to finish: customer information tracking, order taking, payment information, order filling, pharmacy review and assessment, label printing, and shipping.

The company started with two Emic nodes, “basically as a failover situation,” Anderson said, but it quickly became apparent that the load was overwhelming one MySQL server. So CanadaDrugs.com added a third node, which shortly thereafter was followed by a fourth.

The improved performance has enabled the drugstore to keep pace with the growing customer and employee demand. Currently, the system handles in the range of 1,500 to 2,500 transactions per second on IBM Blade server architecture. “It gives us breathing room for performance, so we can handle surges through the day,” Anderson said. “It can handle that load without breaking a sweat.”

/zimages/2/28571.gifClick hereto read an eWEEK Labs review of IBMs BladeCenter server.

An added bonus of clustering, of course, is the pressure it relieves when it comes to scheduled maintenance. With clustering, a server can be brought out of the cluster and attended to, while the load it carried shifts over to the remaining nodes. EAC handles the shift automatically: As one server disappears, the others take up the slack.

For now, the system is going “great guns,” Anderson said, with its ample capacity.

The future holds, unsurprisingly, a new node, Anderson said. EAC can scale to 16 nodes—a comforting thought for the online drugstore, given the facts that drug costs in the United States arent getting more affordable, its citizens arent getting happier with footing the bill and CanadaDrugs.coms growth isnt slowing down anytime soon.

/zimages/2/28571.gifCheck out eWEEK.coms for the latest database news, reviews and analysis.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Propriété de TechnologyAdvice. © 2026 TechnologyAdvice. Tous droits réservés

Divulgation publicitaire : Certains des produits qui apparaissent sur ce site proviennent d'entreprises dont TechnologyAdvice reçoit une compensation. Cette compensation peut influencer la façon dont les produits apparaissent sur ce site, notamment l'ordre dans lequel ils apparaissent. TechnologyAdvice n'inclut pas toutes les entreprises ou tous les types de produits disponibles sur le marché.