FrontPage: Supercharged with OriginsAI
OriginsAI partnered with FrontPage to supercharge its technical infrastructure, delivering a faster, more secure, and scalable platform. We upgraded Elasticsearch for reduced search latency and optimized Redis Cluster Mode for seamless user growth. Prometheus-powered dashboards provide detailed insights and proactive alerting. A new Kubernetes setup ensures separate environments for development and production, while an AI-powered financial chat service enhances user engagement.
About FrontPage
FrontPage empowers India’s stock trading community with AI-powered insights, fostering informed trading decisions. Whether you’re a novice or experienced trader, FrontPage’s platform provides a space for sharing knowledge, discussing strategies, and accessing real-time data. Features like AI-driven finance chat and direct exchange data feeds enhance accessibility, making FrontPage a vital resource for modern Indian traders.
Our Partnership with FrontPage
Industry
Financial Technology (FinTech)
Services
Security Engineering Cloud Optimization CI/CD Pipeline Infrastructure Design
Business Type
Startup
Technologies Used
Python
Elasticsearch
Apache Kafka
Redis
Go
LLM
Mern
The Challenges
Elasticsearch Upgrade Complexity
Upgrading a self-hosted Elasticsearch cluster with 1.35 billion documents from version 6.2.1 to 8.6.2 posed compatibility and performance optimization challenges.
Redis Scalability
Managing Redis in cluster mode required intricate planning for sharding, resharding, and slot pinning to handle spontaneous user growth with near-zero downtime.
Lack of Visibility
Limited visibility across APIs and infrastructure led to delayed failure detection and hampered performance insights, especially for Redis, Elasticsearch, and APIs.
OpenVPN Deployment
Deploying OpenVPN in both Dev and Prod VPCs on GCP needed secure and resilient configurations for seamless team access to both environments.
MCX Data Integration
Integrating a reliable MCX commodity data feed involved building a Golang-based socket subscriber to handle real-time data flow.
The Solutions
Optimized Elasticsearch Upgrade
By optimizing configurations during the upgrade, we achieved a 300% improvement in 95th percentile search request latency, bringing response times under 1.5 seconds.
Redis Cluster Management
Implemented strategic slot pinning, sharding, and resharding with minimal downtime, ensuring Redis could adapt to fluctuating user demands smoothly.
Enhanced Monitoring and Alerts
Implemented Prometheus metrics across services and infrastructure, with real-time alerts and dashboards for Redis, Elasticsearch, and load balancer performance.
AI Finance Chat Service
Built a scalable finance chat service using OpenAI APIs, enabling users to access financial insights and assistance through an intelligent and responsive interface.
Rapid Redis Backup Tool
Developed a tool for Redis backups and quick cloning of old instances, improving disaster recovery and enabling efficient data restoration for Redis.