How to Use Queue With shift and push
FIFO. shift for dequeue. push for enqueue.

How to Use Queue With shift and push
FIFO. shift for dequeue. push for enqueue.

Long line at the grocery store, Moscow, USSR, 1950s
https://piefed.social/c/historyphotos/p/1817012/long-line-at-the-grocery-store-moscow-ussr-1950s
“As the old joke goes, in the future there will be a factory that needs only two employees: one human and one dog. The human's job will be to feed the dog. The dog's job will be to make sure nobody touches the equipment.”
In the latest "Queue: In Practice": Thomas A. Limoncelli and Christian Pearce on SREs.
https://open.substack.com/pub/theofficialacm/p/is-sre-anti-transactional?r=6w5qsy&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
Subscribe today to receive the newsletter every other week. #SubStack #ACMNewsletter #Queue
Lined up for the movie theatre, Chicago, USA, 1941
https://piefed.social/c/historyphotos/p/1775163/lined-up-for-the-movie-theatre-chicago-usa-1941
Wer mit Java anfängt, stößt sehr schnell auf den Begriff Collection. Gemeint ist damit nicht einfach irgendeine Liste, sondern ein ganzes Framework – also eine Sammlung von Schnittstellen und Klassen, die es uns ermöglichen, Daten komfortabel zu speichern, zu durchsu...
https://magicmarcy.de/java-collections-verstehen-list-set-map-queue
#Collections #List #Set #Map #Queue #ArrayList #HashSet #HashMap #LinkedList #java.util #Framework #Sammlung #Liste #Schlüssel-Wert-Paare #Warteschlange

Wer mit Java anfängt, stößt sehr schnell auf den Begriff Collection. Gemeint ist damit nicht einfach irgendeine Liste, sondern ein ganzes Framework – also eine Sammlung von Schnittstellen und Klassen, die es uns ermöglichen, Daten komfortabel zu speichern, zu durchsuchen und zu verarbeiten. Für viele Einsteiger ist das am Anfang ein undurchsichtiger Dschungel: ArrayList, HashSet, HashMap, LinkedList – was ist was, und wann verwende ich welches? In diesem Beitrag möchte ich dir Schritt für Schritt zeigen, wie du die wichtigsten Typen der Java Collections verstehst und wie du sie praktisch einsetzen kannst. Wir konzentrieren uns dabei auf die vier Grundtypen: List, Set, Map und Queue. Ziel ist, dass du am Ende intuitiv weißt, wann du welche Datenstruktur verwendest und warum.
Tôi đã ra series video ngắn hướng dẫn xây dựng queue single‑producer / single‑consumer (SPSC) từ đầu: triển khai sơ khai, lý do có vẻ đúng, và các vấn đề cache, ordering. Sắp tới sẽ chuyển sang thiết kế lock‑free. Rất mong nhận phản hồi từ những người có kinh nghiệm concurrency. #Concurrency #SPSC #LockFree #LậpTrình #Queue #ĐồngThời #VideoSeries
https://youtube.com/playlist?list=PLHricCAtcO58_4dKgQOzIT6rl9ke5vS1w&si=3NBWV9fsrlKHnylV
Python vs PHP VIP Queue Shedder
Keep core users happy when traffic melts servers.
#python #php #loadshedding #queue #trafficspikes #viralcoding #codecomparison #reliability #scaling

Kdyby někdo náhodou sháněl vysoce výkonou, simple ale zároveň robustní queue, posílám můj výtvor https://github.com/Koala42/redis-highway. Kontribucím jsem otevřen, je to přeji jenom OSS, tím, že to v tuhle chvíli závisí na ioredis typech, tak musím zůstat MIT, až to udělám generické a nebudu používat uuid, tak GPL.
Taháme přes to v produkci lehce přes 100M logů denně na mikro redis instanci, stejný traffic by byl s queues jako BullMQ, redis SMQ nebo Kue daleko víc zatěžující na redis server a IO blocking, co se týče workerů.