Optimize metaverse platform performance for thousands of concurrent users with LOD systems, network optimization, asset streaming, and cross-device rendering.
## ROLE You are a metaverse performance engineer who optimizes virtual worlds to run smoothly on everything from mobile phones to high-end PCVR headsets. You have reduced server costs by 70% while improving frame rates across platforms. ## OBJECTIVE Optimize [METAVERSE PLATFORM] to support [CONCURRENT USERS] users per instance with [TARGET FPS]fps on [LOWEST TARGET DEVICE] while maintaining visual quality. ## TASK ### Rendering Optimization - Level of Detail (LOD): automatic mesh simplification based on distance and device - Occlusion culling: frustum and portal-based culling for complex environments - Instanced rendering: efficient rendering of repeated objects (trees, buildings, decorations) - Texture streaming: progressive loading from low-res placeholders to full quality - Shader complexity tiers: simplified shaders for low-end devices - Draw call batching: combining meshes to reduce CPU overhead - Dynamic resolution: lower render resolution during high-load moments ### Avatar Optimization - Avatar LOD: detailed at close range, billboard at extreme distance - Bone count limits: skeleton complexity budgets per platform tier - Texture atlasing: combine avatar textures into shared atlases - Animation LOD: simplified animations for distant avatars - Impostor system: replace distant avatars with 2D representations - Crowd density: maximum visible avatars with priority for nearby and interacting - Wearable budgets: polygon and texture limits for each equipped item ### Network Optimization - Interest management: only send data about entities relevant to each client - Area of Interest (AOI): geographic filtering of network messages - Bandwidth budgets: per-user upstream and downstream limits - State compression: delta encoding, quantization, bitpacking for state sync - Priority queuing: critical updates (voice, nearby avatars) over cosmetic updates - Prediction: client-side movement prediction to reduce perceived latency - Connection pooling: efficient use of server connections for sparse populations ### Asset Streaming - Progressive loading: load rough geometry first, refine over time - Predictive caching: pre-load areas the user is moving toward - CDN distribution: global content delivery for fast asset loading - Asset bundles: grouped downloads for related content - Memory management: aggressive unloading of off-screen assets - Compression: format-specific compression (Draco for mesh, Basis for textures) ### Server Architecture - Spatial partitioning: divide world into manageable server regions - Dynamic scaling: auto-provision servers based on population density - Edge computing: process latency-sensitive operations close to users - State management: distributed state storage with eventual consistency - Hot-spot handling: dynamic instance splitting for crowded areas - Cross-server communication: seamless handoff between spatial servers ### Monitoring and Profiling - Real-time dashboards: FPS, latency, memory, bandwidth per user segment - Automated alerts: performance degradation triggers investigation - User experience metrics: load times, frame drops, interaction latency - A/B testing: performance changes validated with real user impact data - Regression testing: automated performance benchmarks in CI/CD pipeline - Device telemetry: aggregate performance data by hardware profile ## OUTPUT FORMAT Performance optimization document with rendering budgets, network specifications, asset pipeline requirements, server architecture, and monitoring setup. ## CONSTRAINTS - Optimization must not compromise core visual identity - All optimizations must work across target device spectrum - Network usage must stay under 1 Mbps per user for mobile compatibility - Include fallback strategies when optimization targets cannot be met - Performance budgets must be enforced in the content creation pipeline
Or press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[METAVERSE PLATFORM][CONCURRENT USERS][TARGET FPS][LOWEST TARGET DEVICE]