콘텐츠로 이동

Infrastructure

고지 사항: 이 백서는 영어 버전이 공식 문서입니다. 다른 언어 버전은 참고용입니다。


┌─────────────────────────────────────────────────────────────────┐
│ PIPO INFRASTRUCTURE │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ FRONTEND │ │
│ │ ├── Web App (React/Next.js) │ │
│ │ ├── CDN (Cloudflare) │ │
│ │ └── IPFS (backup hosting) │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ BACKEND │ │
│ │ ├── API (Node.js/Express) │ │
│ │ ├── Database (PostgreSQL) │ │
│ │ ├── Cache (Redis) │ │
│ │ └── Queue (Bull) │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ BLOCKCHAIN │ │
│ │ ├── BSC (Primary) │ │
│ │ ├── Base (Secondary) │ │
│ │ ├── RPC Nodes (Alchemy/QuickNode) │ │
│ │ └── Indexer (The Graph) │ │
│ └─────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘

ComponentTechnologyPurpose
Web AppNext.js 14User interface
Wallet ConnectWalletConnect v2Wallet integration
CDNCloudflareGlobal delivery
HostingVercel + IPFSRedundancy
ComponentTechnologyPurpose
API ServerNode.js/ExpressBusiness logic
DatabasePostgreSQLUser data, analytics
CacheRedisPerformance
QueueBull/RedisAsync processing
MonitoringDataDogObservability
ComponentTechnologyPurpose
Primary ChainBSCMain deployment
Secondary ChainBaseAlternative
RPCAlchemy/QuickNodeReliable access
IndexerThe GraphHistorical queries

ServiceUptime TargetActual (est.)
Web App99.9%TBD
API99.9%TBD
Smart Contracts99.99%N/A (blockchain)
Oracle99.5%TBD
Redundancy Strategy:
├── Multi-region deployment (AWS/GCP)
├── Database replication (primary + read replicas)
├── CDN edge caching
├── IPFS backup for frontend
├── Multiple RPC providers
└── Disaster recovery plan

  • Application: Response times, error rates
  • Blockchain: Gas prices, transaction success
  • Business: Volume, TVL, user metrics
  • Security: Anomaly detection, access logs
CategoryThresholdResponse
API latency>500msInvestigate
Error rate>1%Page on-call
TVL change>10%Review
Oracle deviation>20%Circuit breaker