feld

feld

Oban.Notifiers.Postgres 8kb limit -- clarification?

The Oban docs state the following regarding Oban.Notifiers.Postgres:

However, it is not as scalable as other notifiers because because each notification requires a separate query and notifications can’t exceed 8kb.

What would it take to exceed this 8kb limit? What exactly is inside the notification payload? Is it the whole Oban job?

Marked As Solved

sorentwo

sorentwo

Oban Core Team

In addition to Oban’s internal use, the notifier is available for use by other application code. All it would take is serializing a large enough map.

The most common Oban driven examples are for oban_met when it hands off the current metrics between nodes or in oban_pro when using the Relay module.

There are many notification payloads, and they’re all kept as small as possible. No notification includes the entire job data. Insert triggers, which are a very frequent notification if you don’t disable them, only include the queue name.

Last Post!

feld

feld

Thanks for clarifying. I was adding some debugging to investigate further and the normal payloads did look very small.

Where Next?

Popular in Questions Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 49266 226
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

We're in Beta

About us Mission Statement