5 Benefits Amplified Saw by Switching to Elixir

A beaker of liquid switching from pink to purple
Cynthia  Gandarilla

Marketing Manager

Cynthia Gandarilla

Whether you’re launching a new digital product or optimizing an existing one, Elixir can help. And so can we. Get in touch to learn how we can help you reach success, faster.

After launching its AI-powered patent search platform, Amplified faced many of the same challenges familiar to other startups: silos between teams, a less-than-ideal production timeline, and more.

Fortunately, Amplified CTO Chris Grainger discovered the solution to many of those challenges early on: Start using Elixir.

In fact, Grainger liked it so much he moved his company away from other ecosystems to use Elixir—twice. He shifted Amplified’s front end from React to LiveView in 2020 then, just a few years later dropped Python in favor of Nx for the company’s machine-learning needs.

In both instances, not only did Amplified’s digital product improve, but Grainger’s team and the company’s working environment did too. After switching to Elixir from React and Python, Amplified cut its monthly server costs in half, sped up its production process, increased team cohesion, improved maintainability of its flagship product, and accomplished the same work with fewer developers.

5 Benefits of Switching to Elixir

  1. Server Costs

One of the easiest-to-quantify benefits of Amplified’s move to Elixir was dramatic savings in server costs: The company halved its monthly AWS spend. And Amplified isn’t alone in experiencing that benefit.

When Pinterest moved from Python to Elixir, it reduced its server use by about 95% and saved roughly $2 million. One Pinterest system that needed 200 Python servers now runs on just four Elixir servers, with improved performance and reliability.

Those server costs are thanks to Elixir’s efficiency and light resource demands. Elixir relies on lightweight processes and was purpose-built to handle large distributed systems. That means that digital products relying on it require much less additional hardware to scale for increased user needs.

  1. Speed

One of the most impactful benefits Grainger saw after moving to Elixir was a breakdown of silos that dramatically slowed down Amplified’s engineering team.

Creating and implementing features in a Phoenix back end and JavaScript front end took significant time. And, without Grainger working hands-on on feature development, elements of production stopped.

“There was this kind of JavaScript-Elixir split going on,” he said. “The ability to go from end to end with a feature stopped when it was no longer just me doing it.”

This is a common challenge digital product companies face: Multiple languages for different aspects of the product mean multiple teams with different ways of working, different priorities, and less cohesion.

By moving to work entirely in Elixir, Amplified’s team removed the JavaScript-Elixir silo without sacrificing any of the functionality of its React front end. Now, Grainger or one of his colleagues can produce a user-ready feature in just a couple of hours.

“(After switching to Elixir) we were building features left, right, and center where before we were struggling to even just get off the ground.”

  1. Team Cohesion

Just as his team moved faster after switching to Elixir, they also eliminated some of the friction that resulted from working in two tech stacks.

Before the switch, a lack of data and an API design that didn’t fit their needs frustrated the front-end team working in JavaScript. Meanwhile, the challenge of keeping data organized for Amplified’s users put constraints on the back-end team.

“I could observe the slowdown happening and start to see fragmentation and breaking apart of the team. It was still a young team, but (I was) starting to see it kind of break apart in silos,” Grainger said.

By eliminating React in favor of LiveView, Amplified removed that source of friction. Without the barrier between back and front ends, the development team now works within the same parameters and, without an API to maintain, Grainger’s team can spend more time on user-critical development.

  1. Maintainability

With that improved team cohesion comes a real-world business outcome: It’s easier to maintain Amplified’s product.

Before the switch, Amplified devoted most of its development resources to simply building the product, without the time to focus on the data science that truly drove value for its users.

By working on the same things, the team can share utilities and knowledge with each other. And while it’s easy to say that simply working in the same tech stack would produce the same results regardless of language, Grainger specifically attributes the improvements to Elixir and LiveView.

“The things that you get with OTP, the things that you get out of the box with things like PubSub for having real-time updates on one of your colleagues’ computers when you make a change on your machine, and not having to pull down different tools to do all these different things. I definitely think that actually using Elixir specifically is the thing (that drives these benefits),” he said.

  1. Reduced Team Sizes

Just as Elixir slashed server costs, adopting it also helped reduce Amplified’s payroll. Before the transition to Elixir, Amplified needed a team of 12 developers. After the switch, however, Grainger found that he simply didn’t need to rehire after team members moved on to other roles.

Now just two developers do the same work Amplified used to need 12 to accomplish.

Conclusion

Elixir’s ability to handle huge amounts of data and scale easily makes it a clear choice for startups, mid-growth companies, or organizations launching new products.

By moving from JavaScript to Elixir, and later from Python to Elixir, Amplified saw a host of tangible—reduced server and payroll costs—and intangible—better team cohesion and improved production time—benefits. And those benefits extend into the long-term viability of Amplified’s product.

Newsletter

Stay in the Know

Get the latest news and insights on Elixir, Phoenix, machine learning, product strategy, and more—delivered straight to your inbox.

Narwin holding a press release sheet while opening the DockYard brand kit box