Programming

Programming

1474 bookmarks
Custom sorting
Unix Domain Sockets (IPC) with Elixir
Unix Domain Sockets (IPC) with Elixir
Lately, I’ve been working on my Ethereum JSON RPC Client https://github.com/hswick/exw3. One of the dependencies it uses is…
·medium.com·
Unix Domain Sockets (IPC) with Elixir
Connecting to Multiple Databases with Ecto
Connecting to Multiple Databases with Ecto
Now that we’ve explored some simple Ecto setups, let’s get a littlebit exotic. Did you know that you can set up your application in sucha way that you can connect to multiple databases with Ecto? Ecto actually makesit super simple to do so. Let’s take a look.
·geoffreylessel.com·
Connecting to Multiple Databases with Ecto
Connecting Two Databases using Ecto in elixir
Connecting Two Databases using Ecto in elixir
Imagine for a second that you are building a brand new Phoenix application, but you need to make use of some data stored in a different…
·medium.com·
Connecting Two Databases using Ecto in elixir
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Feature tests are one of the best ways to ensure reliability and consistency for web applications. But, as we’ve discussed previously feature tests can become a performance bottleneck for a large t…
·blog.carbonfive.com·
Introducing Wallaby – Concurrent Feature Tests for Elixir and Phoenix
Low level socket programming in Elixir
Low level socket programming in Elixir
Not really, you can run ICMP socket as a regular user if your user ID is within sysctl net.ipv4.ping_group_range. However that will require you to use datagram socket instead of raw socket: {:ok, socket} = :socket.open(:inet, :dgram, :icmp) It also has slightly reduced API, as for example on Linux you cannot specify id and seq fields for ICMP packet, as these will be always set for you. There is library that I have created in the past that provide slightly higher API for ICMP sockets (still q...
·elixirforum.com·
Low level socket programming in Elixir
Playing with Sockets and Processes in Elixir
Playing with Sockets and Processes in Elixir
We make a small line-oriented TCP socket server to explore how sockets and some manual process management works in Elixir.
·thoughtbot.com·
Playing with Sockets and Processes in Elixir
Oban: job processing library for Elixir
Oban: job processing library for Elixir
After working for years on different organizations, one common theme is scheduling background jobs. In this article, I’ll share my experience with Oban, an open-source job processing package for Elixir. I’ll also cover some features, like real-time monitoring with Oban Web and complex workflow management with Oban Pro.
·milmazz.uno·
Oban: job processing library for Elixir
TIL: Using Web Workers with Phoenix Liveview
TIL: Using Web Workers with Phoenix Liveview
In a LiveView project I'm working on, I had to add a web worker. I was a bit unsure of how to do this, and was worried I'd have to do some esbuild config manipulation, but it turned out to be quite simple. For readers reading in the far future,
·samrat.me·
TIL: Using Web Workers with Phoenix Liveview