AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Optimizing Test Efficiency and Insights from Discord's WebSocket Enhancements
This chapter introduces a new flag for Mix test that helps developers identify the slowest test modules, emphasizing the importance of optimizing testing processes. Additionally, it reviews Discord's initiative to reduce WebSocket traffic by 40% using a new compression algorithm, providing valuable insights for large-scale project management.
News includes the release of OTP 27.1 with significant improvements to the Zip module, the upcoming deprecation of the unless
keyword in Elixir 1.18, support for Data Channels in Elixir WebRTC, new test-related feature highlighted by ElixirStreams to tackle intermittent failures, a detailed blog from Discord on reducing their websocket traffic by 40%, ElixirConf Lightning talks on YouTube, and more!
Show Notes online - http://podcast.thinkingelixir.com/222
Elixir Community News
unless
keyword will be deprecated in upcoming Elixir 1.18. Users are encouraged to use if !condition
instead. A mix format --migrate
command is available to assist with the transition.unless
keyword.unless
keyword in Elixir 1.18.mix test --repeat-until-failure n
to run tests until failure, handy for diagnosing intermittent test failures.--seed 0
, which runs tests in sequential order, which is helpful during TDD.--slowest-modules n
flag added to mix test
helps identify modules with the slowest tests, complementing the existing --slowest n
flag for individual tests.PASSIVE_UPDATE_V2
.ezstd
used by Discord, which they contributed to by adding streaming support.Do you have some Elixir news to share? Tell us at @ThinkingElixir or email at show@thinkingelixir.com
Find us online
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
Listen to all your favourite podcasts with AI-powered features
Listen to the best highlights from the podcasts you love and dive into the full episode