#postgresql

7 bookmarks tagged with #postgresql · RSS Feed · ← All Tags

Using PostgreSQL as a Dead Letter Queue for Event-Driven Systems — Blog

https://www.diljitpr.net/blog-post-postgresql-dlq
The goal was never to replace Kafka with PostgreSQL. Kafka remained the backbone for high-throughput event ingestion, while PostgreSQL handled what it does best—durability, querying, and observability around failures. By letting each system play to its strengths, we ended up with a pipeline that was resilient, debuggable, and easy to operate. In the end, using PostgreSQL as a Dead Letter Queue turned failure handling into something boring and predictable. And in production systems, boring is exactly what you want.

Implementing Filtered Semantic Search Using Pgvector and JavaScript

https://www.timescale.com/blog/implementing-filtered-semantic-search-using-pgvector-and-javascript-2/
Conventional search methods rely on keyword matching, where the system locates exact words or phrases from the query within documents. This technique can be enhanced to better capture the context and intent behind the user's query, leading to more relevant and precise search results. Semantic search focuses on understanding the meaning and intent behind the query. Combining semantic search with filters—or additional parameters to narrow the results based on specific attributes—further improves accuracy. In this article, we explore semantic search with filters and demonstrate how you can implement it using pgvector and JavaScript.