Engineering notes
Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Sessions
Move LangGraph vector state from memory to Redis persistence
Swap LangGraph vector state from memory to Redis with a factory for get_vector_store, session metadata on ingest, filtered retrieval and delete-by-session.
13 min readEphemeral semantic search with LangGraph when you should not keep vectors
Session-scoped embeddings that disappear on teardown teach clear boundaries—and make the later swap to Redis or Azure AI Search a store-adapter change.
8 min readWhen JWT Auth Turns Stateful: A Case for Server-Side Sessions in Node
Blocklists and refresh stores make JWT authentication stateful anyway. Postgres-backed Express sessions in Node.js are simpler, and where JWTs still fit well.
7 min read
FAQ
About these articles
Yes. Each piece is an original English rewrite prepared for this site. Structure and code examples follow the source material; prose is rewritten and checked for overlap before export.
English is the source. Another language is shown only when that translation body exists. A missing or empty translation stays in English, including on a localized URL.
New drafts land in the publish queue as they pass editorial checks. Running the site import picks up only new or changed slugs — nothing is duplicated.
Treat samples as illustrative. Validate against your stack and licences before production use. For delivery work, contact us with the brief.
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.