Ruby is dead ? Just not yet, earlier this year Shopify released their Ruby 3.2 YJIT improvement as production ready. Ruby has been taking a beating this decade compared to languages such as Elixir, Go, Crystal and Rust when it came to speed and performance. At Wego we have been…
Ahsan Nabi Dar
VP, Engineering @ Wego. Programming , travel and sports, The 3 constants in life.
Migrating to Phoenix Liveview Streams
Phoenix released 1.7.0 with Liveview 0.18.16 and introduced Streams for liveview. At first it was not clear to me how to replace my current prepend logic from the published blog So I reached out to its creator of phoenix Chris McCord on twitter and he not…
WHAT IF? UltronEx and Liveview
If you had the chance to watch Disney+ WHAT IF? then you would know that in multiverse somewhere there is a version of Ultron that is too powerful for anyone to counter. In elixir-verse its the same with UltronEx. In one elixir-verse UltronEx runs on plug/cowboy with Javascript glue…
Elixir logging to (multiple) file(s) using metadata_filter
This is a follow up post for JSON Logging in Elixir using a custom formatter [https://geeks.wego.com/json-logging-in-elixir-using-a-custom-formatter/] where we looked in to how to log request logs to a file using a custom formatter. We require below hex dependencies in our project to log request logs and…
JSON logging in Elixir using a Custom Formatter
Elixir logging is awesome and extensible. You can write your own backend or a Formatter and make endless combinations with unlimited possibilities. JSON logs are the norm nowadays and there are plenty of ways to get JSON logs in #elixir. Ink :muscle: is an awesome hex package to make that…