Tagged articles
chat
14 articles · Page 1 of 1
The article examines how to implement read/unread status for single and group chats at scale, comparing a simple last‑read‑ID approach for one‑on‑one conversations with database, Redis hash, and bitmap‑watermark solutions for groups, and discusses their performance and memory trade‑offs.
BackendBitmapMySQL
0 likes · 7 min read


XikeJun 19, 2026 · Backend Development
This article walks through adding a POST /v1/chat/stream endpoint that uses Server‑Sent Events (SSE) to stream structured events—including status, tool calls, token deltas, and completion—into a static web page, enabling a multi‑turn, typewriter‑style chat UI while preserving the original synchronous /v1/chat API for backward compatibility.
APIFastAPIJavaScript
0 likes · 21 min read

This article explains how to solve the common problem of loading historical chat records in a WeChat mini‑program by using a two‑line CSS flex column‑reverse trick, handling edge cases such as limited data and scroll‑view issues, and provides a complete Koa WebSocket backend implementation with full code examples.
FlexboxKoachat
0 likes · 9 min read

This tutorial walks through setting up Spring AI 0.8.1 with Spring Boot 3.1.1, configuring Alibaba Tongyi model access, and implementing chat, streaming, image, and audio generation endpoints using Java code and vector database integrations.
Alibaba AIImage GenerationJava
0 likes · 9 min read

This guide demonstrates how to set up a Spring Boot 2.4.12 WebSocket server with custom message types, encoders, decoders, endpoint configuration, and a minimal HTML client, including complete Java code snippets and testing screenshots.
JavaSpring BootWebSocket
0 likes · 11 min read

Learn how the RFC 6455 WebSocket protocol works with Spring Boot 2.4.13, covering the HTTP upgrade handshake, server response, custom HandlerMapping, annotation‑driven routing, and a reactive chat handler implementation with code examples and deployment tips.
JavaSpring BootWebSocket
0 likes · 7 min read

This guide walks you through installing, using, and deploying a Netty‑based instant messaging and game plugin for IntelliJ IDEA, covering setup steps, chat commands, game play, server deployment with Maven, and how to explore its source code for learning.
IntelliJJavaMaven
0 likes · 4 min read

This article introduces XEChat‑Idea, a Netty‑based instant messaging and game‑battle plugin for IntelliJ IDEA, detailing its project structure, required development environment, and step‑by‑step instructions for building, running, and deploying both the server and the IDEA plugin.
IDEA PluginNettybackend development
0 likes · 4 min read

This article explains why a reverse‑ordered Flutter chat ListView jumps when inserting messages at both ends, analyzes the underlying Viewport‑Scrollable‑Sliver architecture, and demonstrates how configuring the center property of a CustomScrollView with multiple SliverLists eliminates the unwanted scroll offset changes.
CustomScrollViewFlutterListView
0 likes · 6 min read

This article walks through building and executing a Groovy‑based test script that registers two users, joins a room, exchanges chat messages over a Socket (WebSocket) connection, and cleanly closes the sockets, illustrating the full workflow and code structure for backend socket API testing.
BackendGroovySocket
0 likes · 9 min read

This tutorial explains how to transform Git into a chat tool using the open‑source GIC project, covering repository creation, installation of Node.js and GIC, configuration, launching the chat interface, viewing conversation logs via git log, and cleanly exiting the session.
Node.jschatgic
0 likes · 6 min read


ITPUBMar 6, 2017 · Backend Development
This tutorial shows how to create a Python‑based profanity‑filter for live chat by defining a word list, replacing offensive terms with asterisks, logging each message with timestamps, and organizing the logic inside a Player class for easy reuse.
LoggingTutorialchat
0 likes · 6 min read


ITPUBNov 3, 2016 · Operations
This post shares a GitHub dotfiles repository, outlines current shortcuts and recent features for a terminal chat client, lists upcoming enhancements, and discusses VIM8 job‑control support issues with code examples for Neovim and VIM8.
DotfilesNeovimShortcuts
0 likes · 4 min read

The article breaks down Facebook's multi‑layered architecture, explaining how its PHP‑based web tier, Thrift‑driven services, Memcached caching, and specialized Erlang and C++ servers work together to deliver the News Feed and real‑time chat at massive scale.
FacebookMemcachedThrift
0 likes · 7 min read
