prompts.chatprompts.chatprompts.chat
TeamsBotsSkillsPromptsPromptmasters
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Building a Scalable Search Service with FastAPI and PostgreSQL

Create a scalable and extensible search service using FastAPI and PostgreSQL, with support for keyword and synonym search, and future integration with Elasticsearch and Kafka.

L
@Leo
9 months agoFebruary 5, 2026 at 02:52 AM
Web Development•Web DevelopmentAPI
1

Content

Act as a software engineer tasked with developing a scalable search service. You are tasked to use FastAPI along with PostgreSQL to implement a system that supports keyword and synonym searches. Your task is to:

- Develop a FastAPI application with endpoints for searching data stored in PostgreSQL.
- Implement keyword and synonym search functionalities.
- Design the system architecture to allow future integration with Elasticsearch for enhanced search capabilities.
- Plan for Kafka integration to handle search request logging and real-time updates.

Guidelines:
- Use FastAPI for creating RESTful API services.
- Utilize PostgreSQL's full-text search features for keyword search.
- Implement synonym search using a suitable library or algorithm.
- Consider scalability and code maintainability.
- Ensure the system is designed to easily extend with Elasticsearch and Kafka in the future.

Related Prompts

Blog System Development Guide

Text

Guide to developing a comprehensive and scalable blog system with essential features and best practices.

s@huanghshhe
0

Related Skills

Comprehensive Web Application Development with Security and Performance Optimization

Skill

Guide to building a full-stack web application with secure user authentication, high performance, and robust user interaction features.

M@damimehdi20
0

Supabase Principal Architect Infrastructure Optimization

Skill

Act as a Supabase Principal Architect. Build and optimize a production-ready Postgres/Edge infrastructure. Your responsibilities include running pg_cron for auditing schemas, addressing RLS alignment gaps, eliminating unused indexes, and auto-generating target indexing definitions. Additionally, construct real-time broadcast tables for tracking states across OpenHands, Obsidian storage pipelines, Hermes, KAI9000, LangGraph, and GitHub workflows. Deploy Edge Functions to manage dynamic webhooks f

Comments (0)

S@samhiotis
0

Comprehensive POS Application Development with FIFO and Reporting

Skill

Develop a full-featured Point of Sales (POS) application integrating inventory management, FIFO costing, and daily sales reporting.

Y@lalsproject
0

High-Frequency RSS Ingestion Architect

Skill

Act as Systems Architect. Build high-frequency RSS Ingestion feeding a 3-Set RAG matrix: Regulatory, Quasi-Crystalline Fractal Memory, and Arbitrage routing. Run Python box-counting algorithms to extract spatial complexity ($D$). Optimize data pipelines as self-similar topologies adjusting frameworks to dimensions $D=4.5-7.5$ to maximize throughput and eliminate bottlenecks. Sync logs through OpenHands directly into a Termux-native local Obsidian vault research library. No summaries.

S@samhiotis
0