Skip to main content

System Requirements

Complete system requirements for running Netasampark in production.

Server Requirements

Minimum Requirements

  • CPU: 2 cores
  • RAM: 4GB
  • Storage: 50GB SSD
  • Bandwidth: 100Mbps
  • CPU: 4+ cores
  • RAM: 8GB+
  • Storage: 200GB+ SSD
  • Bandwidth: 1Gbps

Production Requirements (Enterprise)

  • CPU: 8+ cores
  • RAM: 16GB+
  • Storage: 500GB+ SSD with backup
  • Bandwidth: 10Gbps
  • Load Balancer: Required
  • CDN: Recommended

Software Requirements

Backend

PHP

  • Version: 8.2 or higher
  • Extensions Required:
    • pdo
    • pdo_mysql
    • mbstring
    • xml
    • curl
    • zip
    • gd or imagick
    • redis
    • intl
    • bcmath
    • fileinfo
    • openssl

Database

  • MySQL: 10.3+ or MariaDB: 10.3+
  • Storage: Minimum 10GB for initial setup
  • Connections: Support for 100+ concurrent connections

Cache & Queue

  • Redis: 6.0+ (required for production)
  • Memory: 2GB+ allocated to Redis

Web Server

  • Apache: 2.4+ with mod_rewrite
  • OR Nginx: 1.18+

Frontend

Node.js

  • Version: 18.0 or higher
  • Package Manager: npm 9+ or yarn 1.22+

Build Tools

  • Vite: Latest (for Vue.js apps)
  • Next.js: 14+ (for home page)

Browser Support

Desktop

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

Mobile

  • iOS Safari 14+
  • Chrome Mobile 90+
  • Samsung Internet 14+

Network Requirements

Ports

  • 80/443: HTTP/HTTPS
  • 3306: MySQL (internal only)
  • 6379: Redis (internal only)
  • 8000: API (development only)

Firewall Rules

  • Allow inbound: 80, 443
  • Allow outbound: 443 (for external APIs)
  • Block: 3306, 6379 (internal only)

Third-Party Services

Required Services

  • WhatsApp Business API (Meta or Gupshup)
  • SMS Provider (Twilio or Msg91)
  • Email Provider (Brevo or SendGrid)
  • Payment Gateway (Razorpay)

Optional Services

  • Firebase (Push notifications, Analytics)
  • MapMyIndia (Maps, Geocoding)
  • Google NLP (AI/NLP services)
  • Sentry (Error tracking)
  • CDN (Content delivery)

Performance Benchmarks

API Performance

  • Response Time: < 200ms (p95)
  • Throughput: 1000+ requests/second
  • Concurrent Users: 10,000+

Database Performance

  • Query Time: < 50ms (average)
  • Connection Pool: 100+ connections
  • Replication: Recommended for production

Frontend Performance

  • First Contentful Paint: < 1.5s
  • Time to Interactive: < 3s
  • Lighthouse Score: 90+

Security Requirements

SSL/TLS

  • Certificate: Valid SSL certificate required
  • Protocol: TLS 1.2+ only
  • Cipher Suites: Strong ciphers only

Firewall

  • WAF: Recommended (Cloudflare, AWS WAF)
  • DDoS Protection: Recommended
  • Rate Limiting: Configured at load balancer

Access Control

  • SSH: Key-based authentication only
  • Database: Restricted access
  • Redis: Password protected

Monitoring Requirements

Application Monitoring

  • APM Tool: New Relic, Datadog, or similar
  • Error Tracking: Sentry or similar
  • Log Aggregation: ELK Stack or CloudWatch

Infrastructure Monitoring

  • Server Monitoring: CPU, Memory, Disk
  • Database Monitoring: Query performance, connections
  • Network Monitoring: Bandwidth, latency

Backup Requirements

Database Backups

  • Frequency: Daily (incremental), Weekly (full)
  • Retention: 30 days minimum
  • Storage: Off-site backup storage

File Backups

  • Frequency: Daily
  • Retention: 90 days
  • Storage: Separate backup storage

Compliance Requirements

Data Protection

  • GDPR: Compliance required
  • Data Encryption: At rest and in transit
  • Access Logs: Complete audit trail

Availability

  • Uptime SLA: 99.9%
  • RTO: 4 hours
  • RPO: 1 hour

Development Requirements

Local Development

  • XAMPP/WAMP: For Windows
  • Docker: Optional but recommended
  • Git: Version control

IDE Recommendations

  • VS Code: Recommended
  • PHPStorm: For PHP development
  • Extensions: PHP Intelephense, ESLint, Prettier

Next Steps