For people with large WebSocket workloads using the ingress-nginx controller.

I recently hit this issue:

https://github.com/kubernetes/ingress-nginx/issues/2461

This drops all current WebSocket connections when ever the controller reloads the config. This can be triggered by adding/removing a new Ingress object (which this project does regularly due to customer load).

We ended up moving the WebSocket ingress to a separate LoadBalancer/Ingress class.

#kubernetes #nginx #websockets

Ingress controller dropping websocket connections when performing backend reload · Issue #2461 · kubernetes/ingress-nginx

NGINX Ingress controller version: 0.12.0 and 0.14.0 Kubernetes version (use kubectl version): v1.8.0 Environment: aws with elb Cloud provider or hardware configuration: aws m4 medium OS (e.g. from ...

GitHub
🥳🎉 Quack-tastic! Now your #database can quack over #WebSockets and Redis Pub/Sub! Because who doesn't want their database to have a social life? 🦆📡 Just what the world needed, a database that can yak as much as a tween on TikTok. 🙄
https://query.farm/duckdb_extension_radio.html #QuackTastic #RedisPubSub #SocialDatabase #HackerNews #ngated
Radio DuckDB Extension – 🚜 Query.Farm

We build with DuckDB. Extensions. Consulting. Tools.

🚜 Query.Farm

Radio for DuckDB – DuckDB Now Talks to WebSockets and Redis Pub/Sub

https://query.farm/duckdb_extension_radio.html

#HackerNews #DuckDB #WebSockets #Redis #PubSub #DataStreaming #TechNews

Radio DuckDB Extension – 🚜 Query.Farm

We build with DuckDB. Extensions. Consulting. Tools.

🚜 Query.Farm
Ich hab sogar versucht mit Hilfe der KI einen Proxy in Python zu schreiben, der via Virtual Directory aus #Zoraxy heraus aufgerufen wird. Der löst zwar das #CORS Problem, zerstört aber dafür die #WebSockets von #Immich. 🙄 Falls sich jemand daran versuchen will: https://github.com/keineantwort/immich-cors-proxy
GitHub - keineantwort/immich-cors-proxy: A Plugin for zoraxy to handle OPTIONS Requests to use the Immich API in JavaScript Applications

A Plugin for zoraxy to handle OPTIONS Requests to use the Immich API in JavaScript Applications - keineantwort/immich-cors-proxy

GitHub

Authenticating JavaScript WebSockets, by (not on Mastodon or Bluesky):

https://stevenwaterman.uk/authenticating-javascript-websockets/

#websockets #javascript #authentication

Authenticating JavaScript WebSockets

When a WebSocket fails to connect, you receive no information about why. This makes renewable authentication an absolute nightmare, unless you do in-band authentication.

Steven Waterman
#haxe #openfl #Hailo8L (python) objectdetection #websockets #raspberryPi

I’ll be probably by the only user that wants to control #Volumio by making use of #SmashTunes, the #macOS app for displaying #Spotify and #AppleMusic. But hey, I’m the author of this software, so why not add this functionality?

Playing around with #websockets now. A basic setup is in place. Nice to work with open hard ware.

I must add that I’m super happy with my #Rivo+ Any other owners out here? Or #Volumio users?

#DigitalMusic

Real-Time Java AI: Building a Context-Aware Chatbot with Quarkus, Qute, and WebSockets https://myfear.substack.com/p/java-ai-chatbot-quarkus-langchain4j-websockets
#Java #Quarkus #LangChain4j #Ollama #WebSockets
Real-Time Java AI: Building a Context-Aware Chatbot with Quarkus, Qute, and WebSockets

Stream LLM responses token-by-token using LangChain4j, Ollama, and WebSocket Next: Fully local, fully Java.

Enterprise Java and Quarkus

Całkiem niedawno pisaliśmy o Server-Sent Eventach (SSE) i przykładzie w Go, a teraz na tapet wjeżdża Node.js, ale przede wszystkim pełniejsze wytłumaczenie różnic pomiędzy WebSockets i właśnie SSE.

#SSE #WebSockets #NodeJS #WebDesign #programowanie

https://www.freecodecamp.org/news/server-sent-events-vs-websockets

Server-Sent Events vs WebSockets – How to Choose a Real-Time Data Exchange Protocol

In our fast-paced digital era, real-time data exchange has become critical in creating responsive and dynamic user experiences. It’s especially important in applications like live news updates, chat systems, AI generative platforms, and so on. In thi...

freeCodeCamp.org
Soy bastante fan de Django Channels, pero debo admitir que Flask-SocketIO es una herramienta muy buena. En un momento puedes tener un servidor de WebSockets con salas.
En estos momentos lo he incorporado a un proyecto y funciona perfectamente.
#flask #websockets #python