Một backend ghi chú hợp tác thời gian thực được xây dựng bằng Vapor (Swift), hỗ trợ xác thực JWT, WebSockets và lưu trữ nét vẽ. Dùng MongoDB qua Fluent ORM, cung cấp CRUD cho ghi chú, chia sẻ qua token và cộng tác trực tiếp.

#Vapor #Swift #Backend #WebSockets #JWT #MongoDB #Realtime #Collaboration #SwiftOnServer #VaporBackend #GhiChúTrựcTuyến #CộngTácTrựcThờiGianThực

https://dev.to/amritesh240304/swift-on-servers-m46

Swift On Server's

Vapor Drawing Backend - Project Overview A collaborative note-taking backend built with...

DEV Community

Socket.IO Rooms là công cụ mạnh mẽ để quản lý giao tiếp thời gian thực, cho phép bạn gửi tin nhắn đến các nhóm người dùng cụ thể. Rất quan trọng cho các ứng dụng như chat, cộng tác và game online.
#SocketIO #Realtime #Websockets #Rooms #CôngNghệ #GiaoTiếpThờiGianThực

https://dev.to/ctrix/mastering-real-time-communication-with-socketio-rooms-4bom

Mastering Real-Time Communication with Socket.IO Rooms

Socket.IO is a powerful library that enables real-time, bidirectional, and event-based communication...

DEV Community

Khi mở rộng Flask-SocketIO trên Kubernetes, cần xử lý cả kết nối ổn định & truyền tin liên pod. Dùng **Sticky Sessions** (session affinity qua cookie) tại Ingress để giữ kết nối WebSocket, và **Redis pub/sub** làm message queue giúp các pod chia sẻ sự kiện. Lưu ý: đặt `affinity-mode: persistent` và cấu hình `message_queue` trong SocketIO. Không dùng single Redis ở quy mô cực lớn do瓶颈 tại throughput.

#Kubernetes #FlaskSocketIO #Redis #WebSockets #Scalability #ScalableArchitecture #StickySessio

If you enjoy reading 1040 words about why #SSE is the worst possible choice for #LLM token transport, you’re gonna love this! 🤡 Spoiler: #WebSockets are better, but you already knew that because it’s 2025 and we’re still having this conversation. 🚀
https://zknill.io/posts/sse-sucks-for-transporting-llm-tokens/ #tokentransport #techdebate #HackerNews #ngated
SSE sucks for transporting LLM tokens

SSE sucks I’m just going to cut to the chase here. SSE as a transport mechanism for LLM tokens is naff. It’s not that it can’t work, obviously it can, because people are using it and SDKs are built around it. But it’s not a great fit for the problem space. The basic SSE flow goes something like this: Client makes an HTTP POST request to the server with a prompt Server responds with a 200 OK and keeps the connection open Server streams tokens back to the client as they are generated, using the SSE format Client processes the tokens as they arrive on the long-lived HTTP connection Sure the approach has some benefits, like simplicity and compatibility with existing HTTP infrastructure. But it still sucks.

/dev/knill

Doing a bit of reading on the #Seaside approach to #Phoenix #LiveView. It looks like they have made a ton of progress using #WebSockets.

I need to make a little test app to see how this works.

Very cool.

.NET 10 Networking Improvements - .NET Blog

Introducing new networking features in .NET 10 including HTTP space, WebSockets, security and more!

.NET Blog

Two great Django Async projects highlighted in this week’s Django News.

DjangoRealtime, which is SSEs using Postgres as the messaging layer, and Django-Liveview, which lets you build real-time, reactive interfaces with Django using WebSockets, based on Channels.

Just two of the numerous Django projects out there leveraging async to let you build responsive, real-time applications. Go check them out! 🦄

https://django-news.com/issues/314?#projects

#django #async #channels #sse #websockets

Django 6.0 released!

DSF Board Election results, deep-dive on new features, Djangonaut space updates, and more.

🚀 Django LiveView 2.0.0 is now available

I just released a major new version of Django LiveView, the framework that lets you build interactive, real-time web applications using only Python — no JavaScript required.

🎯 What is Django LiveView?

A radically simpler way to build dynamic interfaces with Django. Inspired by Phoenix LiveView and Laravel Livewire, it lets you create SPAs without APIs, without JavaScript frameworks, without splitting your logic between frontend and backend.

HTML over WebSockets — all interactivity works in real-time, logic lives in Python, and you use Django's template system.

🔧 Simplified configuration

pip install django-liveview

## 💪 What can you do with LiveView?

- ✅ Update the DOM in real-time without JavaScript
- ✅ Interactive forms with instant validation
- ✅ Infinite scroll and lazy loading
- ✅ Multi-user live notifications
- ✅ Real-time dashboards
- ✅ Search with instant results
- ✅ Everything with Python decorators and Django templates

📚 More information

https://github.com/Django-LiveView/liveview

If you're a Django developer and want to add real-time features without the complexity of a separate frontend, give LiveView a try.

#django #python #websockets #liveview #htmx