mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#queue

0 posts0 participants0 posts today
Albo HelmMedicinart capsule 017/446 Title: Waiting in a Q<br> <a href="https://pixelfed.social/discover/tags/art?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#art</a> <a href="https://pixelfed.social/discover/tags/analogue?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#analogue</a> <a href="https://pixelfed.social/discover/tags/handmade?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#handmade</a> <a href="https://pixelfed.social/discover/tags/noai?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#noai</a> <a href="https://pixelfed.social/discover/tags/pocketsized?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#pocketsized</a> <a href="https://pixelfed.social/discover/tags/healing?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#healing</a> <a href="https://pixelfed.social/discover/tags/queue?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#queue</a> <a href="https://pixelfed.social/discover/tags/waiting?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#waiting</a> <a href="https://pixelfed.social/discover/tags/mixedmedia?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#mixedmedia</a> <a href="https://pixelfed.social/discover/tags/q?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#q</a>
Rochelle K<p>TikTok star Spud Man, his jacket potato and his queue at the 2025 Suffolk Show [Day 2] (29/05/2025) [1]</p><p>Note: I have some conditions for my photography works, please read here: <a href="https://www.facebook.com/RochelleK1994/posts/pfbid034Bv2emjgf6iNoUZnATQajyzbyuGmvickuQ5rTKbCzHiiwkyQxsTKCQBTDpEP2TCnl" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">facebook.com/RochelleK1994/pos</span><span class="invisible">ts/pfbid034Bv2emjgf6iNoUZnATQajyzbyuGmvickuQ5rTKbCzHiiwkyQxsTKCQBTDpEP2TCnl</span></a></p><p><a href="https://mastodon.social/tags/photography" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>photography</span></a> <a href="https://mastodon.social/tags/photographer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>photographer</span></a> <a href="https://mastodon.social/tags/britishphotographer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>britishphotographer</span></a> <a href="https://mastodon.social/tags/photographyisart" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>photographyisart</span></a> <a href="https://mastodon.social/tags/macrophotography" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macrophotography</span></a> <a href="https://mastodon.social/tags/macro" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macro</span></a> <a href="https://mastodon.social/tags/eventphotography" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>eventphotography</span></a> <a href="https://mastodon.social/tags/foodphotography" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>foodphotography</span></a> <a href="https://mastodon.social/tags/food" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>food</span></a> <a href="https://mastodon.social/tags/foodvendor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>foodvendor</span></a> <a href="https://mastodon.social/tags/spudman" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spudman</span></a> <a href="https://mastodon.social/tags/spudarmy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>spudarmy</span></a> <a href="https://mastodon.social/tags/potato" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>potato</span></a> <a href="https://mastodon.social/tags/jacketpotato" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jacketpotato</span></a> <a href="https://mastodon.social/tags/jacketspud" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jacketspud</span></a> <a href="https://mastodon.social/tags/queue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>queue</span></a> <a href="https://mastodon.social/tags/suffolkshow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>suffolkshow</span></a> <a href="https://mastodon.social/tags/suffolkshow2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>suffolkshow2025</span></a> <a href="https://mastodon.social/tags/trinitypark" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trinitypark</span></a> <a href="https://mastodon.social/tags/ipswich" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ipswich</span></a> <a href="https://mastodon.social/tags/suffolk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>suffolk</span></a> <a href="https://mastodon.social/tags/eastanglia" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>eastanglia</span></a> <a href="https://mastodon.social/tags/eastofengland" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>eastofengland</span></a></p>
Felix Palmen :freebsd: :c64:<p>The <a href="https://mastodon.bsd.cafe/tags/lockfree" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lockfree</span></a> command <a href="https://mastodon.bsd.cafe/tags/queue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>queue</span></a> in <a href="https://mastodon.bsd.cafe/tags/poser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poser</span></a> (for <a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a>) is finally fixed!</p><p>The original algorithm from [MS96] works fine *only* if the "free" function has some "magic" in place to defer freeing the object until no thread holds a reference any more ... and that magic is, well, left as an exercise to the reader. 🙈</p><p>Doing more research, I found a few suggestions how to do that "magic", including for example <a href="https://mastodon.bsd.cafe/tags/hazardpointers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hazardpointers</span></a> ... but they're known to cause quite some runtime overhead, so not really an option. I decided to implement some "shared object manager" based on the ideas from [WICBS18], which is kind of a "manually triggered garbage collector" in the end. And hey, it works! 🥳<br><a href="https://github.com/Zirias/poser/blob/master/src/lib/core/sharedobj.c" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/Zirias/poser/blob/m</span><span class="invisible">aster/src/lib/core/sharedobj.c</span></a></p><p>[MS96] <a href="https://dl.acm.org/doi/10.1145/248052.248106" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dl.acm.org/doi/10.1145/248052.</span><span class="invisible">248106</span></a><br>[WICBS18] <a href="https://www.cs.rochester.edu/u/scott/papers/2018_PPoPP_IBR.pdf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">cs.rochester.edu/u/scott/paper</span><span class="invisible">s/2018_PPoPP_IBR.pdf</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://mastodon.bsd.cafe/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://mastodon.bsd.cafe/tags/c11" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c11</span></a> <a href="https://mastodon.bsd.cafe/tags/atomics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atomics</span></a></p>
Felix Palmen :freebsd: :c64:<p>This redesign of <a href="https://mastodon.bsd.cafe/tags/poser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poser</span></a> (for <a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a>) to offer a "multi-reactor" (with multiple <a href="https://mastodon.bsd.cafe/tags/threads" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threads</span></a> running each their own event loop) starts to give me severe headaches.</p><p>There is *still* a very rare data <a href="https://mastodon.bsd.cafe/tags/race" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>race</span></a> in the <a href="https://mastodon.bsd.cafe/tags/lockfree" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lockfree</span></a> <a href="https://mastodon.bsd.cafe/tags/queue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>queue</span></a>. I *think* I can spot it in the pseudo code from the paper I used[1], see screenshot. Have a look at lines E7 and E8. Suppose the thread executing this is suspended after E7 for a "very long time". Now, some dequeue operation from some other thread will eventually dequeue whatever "Q-&gt;Tail" was pointing to, and then free it after consumption. Our poor thread resumes, checks the pointer already read in E6 for NULL successfully, and then tries a CAS on tail-&gt;next in E9, which is unfortunately inside an object that doesn't exist any more .... If the CAS succeeds because at this memory location happens to be "zero" bytes, we corrupted some random other object that might now reside there. 🤯 </p><p>Please tell me whether I have an error in my thinking here. Can it be ....? 🤔 </p><p>Meanwhile, after fixing and improving lots of things, I checked the alternative implementation using <a href="https://mastodon.bsd.cafe/tags/mutexes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mutexes</span></a> again, and surprise: Although it's still a bit slower, the difference is now very very small. And it has the clear advantage that it never crashes. 🙈 I'm seriously considering to drop all the lock-free <a href="https://mastodon.bsd.cafe/tags/atomics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>atomics</span></a> stuff again and just go with mutexes.</p><p>[1] <a href="https://dl.acm.org/doi/10.1145/248052.248106" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">dl.acm.org/doi/10.1145/248052.</span><span class="invisible">248106</span></a></p>
Felix Palmen :freebsd: :c64:<p>I guess this funny looking graph showing response time percentiles is exactly the result of one of 8 service worker threads having a lot more to do than all others. I wonder whether this could be a behavioral artifact of the <a href="https://mastodon.bsd.cafe/tags/lockfree" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lockfree</span></a> <a href="https://mastodon.bsd.cafe/tags/queue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>queue</span></a> used to distribute the accepted connections. 🤔</p>
Continued thread

I now experimented with different ideas how to implement the #lockfree #queue for multiple producers and multiple consumers. Unsurprisingly, some ideas just didn't work. One deadlocked (okaaay ... so it wasn't lockfree) and I eventually gave up trying to understand why.

The "winner" so far is only "almost lockfree", but at least slightly improves performance. Throughput is the same as with the simple locked variant, but average response times are 10 to 20% quicker (although they deviate stronger for whatever reason). Well, that's committed for now:

github.com/Zirias/poser/commit

Über #Schwarz ist viel zu erzählen; aber als die Architekten anfingen, alle Schwarz zu tragen, wie hier erzählt, hatte ich es aufgehört.
Als Nuance von #Grau kann ich es noch sehr gut unterbringen. Aber erstmal hab ich noch immer einen Aufsatz zu #Rosa im #Queue ,Warteschleife.
Bislang hören wir noch was über Einkaufswagen.

deutschlandfunk.de/zwischen-ko

DeutschlandfunkZwischen Konformität und Rebellion - die Kulturgeschichte der Farbe Schwarz

Phew! I need to figure out a way to get data from a Raspberry Pi into a database on a server over an unreliable network.
The data is not a stream, but there is a new data point being generated every 5 minutes.
I'm thinking I need something like a local queue on the Pi, and once Internet is there, the elements from the queue need to be transferred, one by one, then added into the database.
Rabbit hole, here I come!
#BuildInPublic #Internet #database #queue

Got an interesting question today about #Fedify's outgoing #queue design!

Some users noticed we create separate queue messages for each recipient inbox rather than queuing a single message and handling the splitting later. There's a good reason for this approach.

In the #fediverse, server response times vary dramatically—some respond quickly, others slowly, and some might be temporarily down. If we processed deliveries in a single task, the entire batch would be held up by the slowest server in the group.

By creating individual queue items for each recipient:

  • Fast servers get messages delivered promptly
  • Slow servers don't delay delivery to others
  • Failed deliveries can be retried independently
  • Your UI remains responsive while deliveries happen in the background

It's a classic trade-off: we generate more queue messages, but gain better resilience and user experience in return.

This is particularly important in federated networks where server behavior is unpredictable and outside our control. We'd rather optimize for making sure your posts reach their destinations as quickly as possible!

What other aspects of Fedify's design would you like to hear about? Let us know!

@eikedrescher Hallo Eike,
zufällig über Deine Podcast App Queue gestolpert.

Hab eine lange Podcasthistorie unter Apple:
- begonnen mit Apple Podcasts & iPod nano
- iOS und Overcast
- Pocketcasts
- dann lange Castro
- seit einem Jahr wieder Overcast

Experimentiere gerne mit Podcast Apps und Deine neue App sieht schon einmal sehr schick und minimal aus. Schon einmal ein guter Start.