Cross-border electronics trading between UAE and Russia involves thousands of suppliers, real-time pricing, and complex logistics through DAFZA. INTEGRA (integra.supply) is a B2B auction platform I architected to automate supplier selection through a competitive ranking system , suppliers bid on lots in real-time, and an algorithm ranks them by price, delivery speed, and quality tier. The INTEGRA platform handles everything from supplier KYC verification to order tracking through crossboarding logistics.
- INTEGRA Platform: The Problem
- INTEGRA Architecture
- Race Auction System
- Supplier Management and KYC
- Order Lifecycle and Logistics
- Real-Time WebSocket Communication
- Technology Decisions
- Results and Business Impact
- Frequently Asked Questions
- What kind of products does INTEGRA handle?
- How does the ranking algorithm prevent price-only competition?
- What happens if quality inspection fails at DAFZA?
- How many suppliers can bid simultaneously?
INTEGRA Platform: The Problem
High-volume electronics distribution (iPhones, laptops, headphones, Dyson products) from UAE to major Russian retailers requires sourcing from dozens of suppliers across multiple geo-zones: UAE, China/Hong Kong, Central Asia, and potentially Latin America. Traditional manual procurement doesn’t scale when you’re processing hundreds of thousands of units monthly. The INTEGRA platform replaces manual supplier negotiations with a transparent auction system.
INTEGRA Architecture
The system is built as a full-stack application with real-time capabilities:
- Backend: Go + Gin framework , chosen for performance and concurrency handling under high bid volumes
- Frontend: Angular 18+ with lazy loading for responsive supplier and admin dashboards
- Database: PostgreSQL for transactional data (suppliers, lots, bids, orders), Redis for caching and real-time leaderboards
- Real-time: WebSocket hub broadcasting bid updates, leaderboard changes, and lot status events to all connected clients
- Infrastructure: Docker Compose orchestration, multi-region deployment (RU via Selectel proxy, UAE dedicated, global via Finland), Cloudflare + Route 53 DNS
This is the same production-grade architecture pattern I apply across enterprise projects , microservices with clear separation of concerns.
Race Auction System
The core innovation is the “Race” , a competitive bidding mechanism where suppliers compete on multiple dimensions simultaneously:
- Price score (50% weight): Lower price = higher rank. Formula: (maxPrice – bidPrice) / maxPrice × 100
- Speed score (30% weight): Faster delivery = higher rank. Maximum 7-day window (168 hours)
- Quality score (20% weight): Based on supplier tier , Gold (100), Silver (80), Bronze (60)
The composite ranking algorithm ensures the winning supplier isn’t just the cheapest , they must balance price, speed, and reliability. This is data-driven decision making applied to procurement.
Supplier Management and KYC
Suppliers operate across multiple geo-zones (UAE, China/Hong Kong, LATAM) with different compliance requirements. The INTEGRA platform implements:
- Tier system: Gold, Silver, Bronze based on historical performance and verification level
- KYC verification: Automated compliance checks per geo-zone with configurable rule sets
- Rating evolution: Supplier tiers adjust based on delivery performance, quality scores, and order history
- Multi-zone support: Same supplier can operate in multiple geo-zones with zone-specific compliance status
Order Lifecycle and Logistics
Once a Race ends and a winner is selected, the order moves through a defined logistics workflow:
- Booking Placed: Winner confirmed, prepayment deposit secured (2% booking fee)
- Arrived DAFZA: Goods arrive at Dubai Airport Free Zone warehouse
- Survey Started: Quality inspection begins (typically 2-3 days)
- Survey Passed/Failed: Goods accepted or rejected based on inspection
- Crossboarding: Customs and logistics preparation for destination market
- Shipped to RU: Final delivery to Russian distribution partners
Each status transition is tracked with timestamps and accessible through both the admin dashboard and API , the same workflow automation principles I implement for enterprise logistics.
Real-Time WebSocket Communication
The auction system requires instant updates. The WebSocket hub manages per-lot client connections and broadcasts:
- BID_PLACED / BID_UPDATED: New bids and bid modifications in real-time
- LEADERBOARD_UPDATE: Re-ranked supplier positions after each bid
- LOT_FINISHED / LOT_CANCELLED: Auction lifecycle events
- COUNTDOWN: Synchronized timer for auction end
Redis-backed leaderboard caching ensures sub-millisecond rank lookups even under heavy bidding load.
Technology Decisions
- Go over Node.js: Go’s goroutine model handles thousands of concurrent WebSocket connections without the event-loop bottlenecks
- Angular over React: Angular’s opinionated structure and built-in dependency injection suit the complex admin dashboards better
- PostgreSQL + Redis: ACID transactions for financial data, Redis for real-time leaderboard operations
- Multi-region deployment: RU traffic through Selectel proxy for latency, UAE servers for local operations, Finland for global coordination
Results and Business Impact
- Automated supplier selection replacing manual negotiations
- Transparent competitive pricing through multi-dimensional ranking
- Real-time auction participation with WebSocket-powered dashboards
- Full order lifecycle tracking from booking to delivery
- Scalable architecture ready for high-volume operations
- Multi-geo-zone supplier management with automated KYC
Need a trading platform with real-time bidding? Let’s discuss architecture →
Frequently Asked Questions
What kind of products does INTEGRA handle?
High-margin electronics: smartphones (iPhone), laptops, headphones, premium home appliances (Dyson). Non-perishable goods with established demand in the Russian market through major retailers.
How does the ranking algorithm prevent price-only competition?
The composite score weights price at 50%, delivery speed at 30%, and quality tier at 20%. A cheap but slow or unreliable supplier will lose to a balanced competitor. This encourages overall service quality improvement.
What happens if quality inspection fails at DAFZA?
The order moves to SURVEY_FAILED status. The supplier’s quality rating is affected, potentially downgrading their tier for future auctions. The lot can be re-opened for new bids from alternative suppliers.
How many suppliers can bid simultaneously?
The WebSocket architecture handles thousands of concurrent connections. Redis-backed leaderboards ensure sub-millisecond re-ranking even during peak bidding periods.
