![]() ![]() Pinterest now also uses Elixir to route more than 30,000 events per second to its in-house rule engine for spam prevention. Using Elixir also allowed Pinterest to clean up its code, slimming it down to around 1,000 lines-a tenfold reduction. The new programming language helped the company to speed up the performance of its notification system delivering 14,000 notifications per second and cut down the number of servers by half-from 30 to just 15-compared to when the service relied on Java. In fact, its speedy growth might have had something to do with its conversion to Elixir in 2014. Pinterest: Half the Servers, 10 Times Less CodeĪccording to t he company's own data, Pinterest had 463 million monthly active users in April 2023, which makes it one of the biggest online businesses that use Elixir. Thinking of making the switch yourself? Take a look at just a few of the most prominent examples of highly successful companies that have employed Elixir in their major projects in recent months-and the results they managed to achieve with it.ġ. Exq-a job-processing library for Elixir. ![]() Mox-a mocking library for use in automated tests.ExUnit-Elixir's built-in unit testing frameworks.Ecto-a database wrapper and query language for Elixir.Phoenix-a framework for creating REST APIs and HTML applications with Elixir.It’s proven itself useful for distributed systems like Blockchain projects, embedded systems, as well as real-time apps using instant messaging, video chats, or financial apps.įurthermore, there are multiple additional architectures, services, and frameworks that build upon Elixir. The benefits of Elixir also include high fault tolerance, reliability, and a tidy, modern syntax. Actually, in the foreword to “Programming Elixir ≥ 1.6: Functional |> Concurrent |> Pragmatic |> Fun”, a recent book by Dave Thomas, the creator of the language, José Valim, describes concurrency as the backbone of Elixir, adding that its biggest value is “freeing programmers from antiquated concurrency mechanisms.” The language is perfect for projects that need to support concurrency and low latency, handle a lot of traffic, and scale easily. Recently, it’s been gaining popularity as an enterprise-level software in: With its Phoenix framework, Elixir is used in virtually any industry and for any application. Let’s look at a handful of major-league companies that decided to introduce Elixir into their architecture and see what they gained from the change.Įlixir is based on Erlang VM, a 20-year-old virtual machine built to support robust, concurrent, and distributed software. Since then, it’s been gaining popularity because it’s highly scalable, reliable, and great for microservices and cloud computing. What is Elixir? It is a functional and dynamic programming language first released in 2012, so it’s still relatively new. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |