wyri, to php
@wyri@haxim.us avatar

Had fun this weekend working on a performance focussed proof of concept using Bunny in the interop contracts. The first metrics are in using the cluster on my home cluster. (Which isn't meant for high performance. Still pleased by these numbers.)

greggyb, to random
@greggyb@mastodon.sdf.org avatar

I came up with a thing in today and I am unsure about it. I don't know if it's cute, useless, or useful; I cannot see far enough ahead to understand its implications.

type ErrExn = | Err of DomainError | Exn of System.Exception

This DU unifies domain errors (that are represented in a user-written DU) and exceptions.

I'd expect it to be in a function with a signature of 'a -> Result<'b, ErrExn>.

I don't know if this gives value over separate domain errors and exceptions.

Thoughts?

giuliohome,
@giuliohome@mastodon.world avatar

@pblasucci @chethusk @greggyb
"Let it bubble up and crash" is also more in line with and modern 10 factor app principles.
It's not "crash" though, it is "shut down gracefully"
For a worker , graceful shutdown is achieved by returning the current job to the work .

orhun, to rust
@orhun@fosstodon.org avatar

Today I found a TUI for handling message queues! 🚀

📨 mqttui: Subscribe to a MQTT Topic or publish something quickly from the terminal.

🌐 Perfect for managing IoT applications! 💡
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/EdJoPaTo/mqttui

#rustlang #ratatui #tui #mqtt #iot #message #queue #terminal

schizanon, to AWS
@schizanon@mas.to avatar

I'm beginning to think I may not like #AWS #Simple #Notifications #Service.

Like what can it do that Simple #Queue Service can't? I know it's push based and that has it's benefits, and obvs it has integrations with SMS/email that probably come in handy, but those seem like improvements you could just make to #SQS instead of having a whole separate system.

#SNS #Amazon #webDev #tech

schizanon, to AWS
@schizanon@mas.to avatar

I get that is a "pull-based" message bus, while is "push-based", but given that I don't understand why SQS exists.

Push seems superior, so why involve a at all?

But fanning out SNS events to SQS is a recommended pattern, why?

What can you do with a poll-based queue that you couldn't do with a push-based ?

MarkMaguire, to random

The Boygenius fans have been out early, in today’s weather both foul and fair. #Fans #Devotees #Souvenir #WereInLove #TrueBlue #Queue #Queueing #LineUp #gigs #Boygenius #Dublin #RoyalHospitalKilmainham

schizanon, (edited ) to webdev
@schizanon@mas.to avatar

There's this problem that you encounter when you build a that depends on one or more data sources.

Your user wants to see results right away. The data sources take an indeterminate amount of time to respond.

The solutions are a shit sandwich.

schizanon, (edited )
@schizanon@mas.to avatar

B) send the user an empty shell. have the client establish a connection. build a of calls to make. process the queue retrying as necessary. insert results into a backend . Update the client with the socket connection.

michael, to programming
@michael@thms.uk avatar

Laravel Queues With Other Languages

Quite useful discussion on how to either push to a queue from Laravel and read jobs in another language, or push to a queue from another language and read jobs in Laravel.

I've been thinking of doing this to do some processing in Python, so it's nice to see a quick write up about this.

https://fly.io/laravel-bytes/queues-with-other-languages/

#laravel #queue #sqs

Quokka, to random

At the driving and vehicle licence place. They're saying 2 hour wait! Luckily I'm only picking up an auxiliary plate which is a short wait
#Queue #Rego

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • ngwrru68w68
  • megavids
  • cubers
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • lostlight
  • All magazines