Posts

Showing posts with the label Database

Transactional Outbox Pattern in Go with PostgreSQL

Stop losing events between your database and message broker. Learn the transactional outbox pattern in Go with PostgreSQL, FOR UPDATE SKIP LOCKED, and a polling relay. Transactional Outbox Pattern in Go with PostgreSQL

PostgreSQL Full Text Search vs Elasticsearch Comparison

A practical comparison of PostgreSQL full text search and Elasticsearch across relevance, scale, latency, cost, and operations for modern apps. PostgreSQL Full Text Search vs Elasticsearch Comparison

Text embeddings for RAG and search - Python, Ollama, OpenAI-compatible APIs

Learn what text embeddings are, how they power RAG and semantic search, and how to call embedding APIs from Python using Ollama or an OpenAI-compatible server (for example llama.cpp). Includes persistence, retrieval, and links to chunking, vector stores, and reranking on this site. Text embeddings for RAG and search - Python, Ollama, OpenAI-compatible APIs

Retrieval-Augmented Generation (RAG) Tutorial: Architecture, Implementation, and Production Guide

Step-by-step RAG tutorial: build retrieval-augmented generation systems with vector databases, hybrid search, reranking, and web search. Architecture, implementation, and production best practices. Retrieval-Augmented Generation (RAG) Tutorial: Architecture, Implementation, and Production Guide

Retrieval-Augmented Generation (RAG) Tutorial: Architecture, Implementation, and Production Guide

Step-by-step RAG tutorial: build retrieval-augmented generation systems with vector databases, hybrid search, reranking, and web search. Architecture, implementation, and production best practices. Retrieval-Augmented Generation (RAG) Tutorial: Architecture, Implementation, and Production Guide