AI Communities
- AI Communities Server Configuration
This document details the server configuration for the "AI Communities" project, a collection of wikis focused on various aspects of Artificial Intelligence. It is intended for new server administrators and engineers tasked with maintaining or expanding this infrastructure. This guide covers hardware specifications, software stack, and key configuration points.
Overview
The AI Communities project utilizes a clustered server architecture to ensure high availability, scalability, and performance. The core services are distributed across multiple servers, each with a specific role. We currently operate three primary server types: Web Servers, Database Servers, and Cache Servers. Server architecture is a critical component of our infrastructure.
Hardware Specifications
The following tables detail the hardware specifications for each server type. All servers run a 64-bit operating system.
Server Type | CPU | RAM | Storage | Network Interface |
---|---|---|---|---|
Web Servers | 2 x Intel Xeon Gold 6248R (24 cores/48 threads) | 128 GB DDR4 ECC Registered | 2 x 1TB NVMe SSD (RAID 1) | 10 Gbps Ethernet |
Database Servers | 2 x Intel Xeon Platinum 8280 (28 cores/56 threads) | 256 GB DDR4 ECC Registered | 4 x 2TB NVMe SSD (RAID 10) | 10 Gbps Ethernet |
Cache Servers | 2 x AMD EPYC 7543 (32 cores/64 threads) | 64 GB DDR4 ECC Registered | 1TB NVMe SSD | 10 Gbps Ethernet |
All servers are housed in a dedicated, climate-controlled data center with redundant power and network connectivity. Regular hardware maintenance and monitoring are performed according to the Server maintenance schedule.
Software Stack
The AI Communities servers utilize a standard LAMP stack, customized for optimal MediaWiki performance.
Component | Version | Notes |
---|---|---|
Operating System | Ubuntu Server 22.04 LTS | Regularly patched with security updates. Ubuntu server documentation |
Web Server | Apache 2.4 | Configured with mod_php and mod_ssl. Apache configuration |
Database | MariaDB 10.6 | Optimized for MediaWiki queries. MariaDB performance tuning |
PHP | PHP 8.2 | With necessary extensions for MediaWiki (e.g., intl, mbstring, json). PHP extensions |
MediaWiki | 1.40 | Latest stable release, with custom extensions. MediaWiki documentation |
Cache System | Memcached 1.4.5 | Used for caching database queries and rendered pages. Memcached configuration |
Key Configuration Points
Several critical configuration points contribute to the stability and performance of the AI Communities servers.
- `LocalSettings.php` Configuration: The `LocalSettings.php` file is the central configuration file for MediaWiki. Key settings include database connection details, site name, `$wgSitename`, and caching parameters. LocalSettings.php explained
- Apache Virtual Host Configuration: Each wiki instance is configured as a separate virtual host in Apache. This allows for independent configuration and security. Apache virtual hosts
- Database Configuration: MariaDB is configured with a large `innodb_buffer_pool_size` to improve query performance. Regular database backups are performed. Database backups
- Memcached Configuration: Memcached is configured with sufficient memory to cache frequently accessed data. The MediaWiki configuration utilizes Memcached for both object caching and database caching. Memcached best practices
- Security Hardening: All servers are hardened against common security threats, including firewalls, intrusion detection systems, and regular security audits. Server security
- Load Balancing: A load balancer distributes traffic across the web servers, ensuring high availability and responsiveness. Load balancing techniques
Monitoring and Alerting
We utilize a comprehensive monitoring system to track server performance and identify potential issues.
Metric | Tool | Threshold (Warning) |
---|---|---|
CPU Usage | Nagios | 80% |
Memory Usage | Nagios | 90% |
Disk Space | Nagios | 85% |
Database Connections | Nagios | 50 |
Web Server Response Time | Nagios | 200ms |
Alerts are sent to the on-call team via email and SMS when thresholds are exceeded. Monitoring system documentation is available internally.
Future Considerations
- Containerization: Exploring the use of Docker and Kubernetes to simplify deployment and scaling. Docker tutorial
- Database Sharding: Considering database sharding to further improve scalability. Database sharding concepts
- CDN Integration: Implementing a Content Delivery Network (CDN) to improve page load times for users around the world. CDN integration guide
- Improved Caching Strategies: Investigating more advanced caching strategies to reduce database load. Advanced caching techniques
Server administration is a complex task, and this document provides a starting point for understanding the AI Communities server configuration.
Intel-Based Server Configurations
Configuration | Specifications | Benchmark |
---|---|---|
Core i7-6700K/7700 Server | 64 GB DDR4, NVMe SSD 2 x 512 GB | CPU Benchmark: 8046 |
Core i7-8700 Server | 64 GB DDR4, NVMe SSD 2x1 TB | CPU Benchmark: 13124 |
Core i9-9900K Server | 128 GB DDR4, NVMe SSD 2 x 1 TB | CPU Benchmark: 49969 |
Core i9-13900 Server (64GB) | 64 GB RAM, 2x2 TB NVMe SSD | |
Core i9-13900 Server (128GB) | 128 GB RAM, 2x2 TB NVMe SSD | |
Core i5-13500 Server (64GB) | 64 GB RAM, 2x500 GB NVMe SSD | |
Core i5-13500 Server (128GB) | 128 GB RAM, 2x500 GB NVMe SSD | |
Core i5-13500 Workstation | 64 GB DDR5 RAM, 2 NVMe SSD, NVIDIA RTX 4000 |
AMD-Based Server Configurations
Configuration | Specifications | Benchmark |
---|---|---|
Ryzen 5 3600 Server | 64 GB RAM, 2x480 GB NVMe | CPU Benchmark: 17849 |
Ryzen 7 7700 Server | 64 GB DDR5 RAM, 2x1 TB NVMe | CPU Benchmark: 35224 |
Ryzen 9 5950X Server | 128 GB RAM, 2x4 TB NVMe | CPU Benchmark: 46045 |
Ryzen 9 7950X Server | 128 GB DDR5 ECC, 2x2 TB NVMe | CPU Benchmark: 63561 |
EPYC 7502P Server (128GB/1TB) | 128 GB RAM, 1 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (128GB/2TB) | 128 GB RAM, 2 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (128GB/4TB) | 128 GB RAM, 2x2 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (256GB/1TB) | 256 GB RAM, 1 TB NVMe | CPU Benchmark: 48021 |
EPYC 7502P Server (256GB/4TB) | 256 GB RAM, 2x2 TB NVMe | CPU Benchmark: 48021 |
EPYC 9454P Server | 256 GB RAM, 2x2 TB NVMe |
Order Your Dedicated Server
Configure and order your ideal server configuration
Need Assistance?
- Telegram: @powervps Servers at a discounted price
⚠️ *Note: All benchmark scores are approximate and may vary based on configuration. Server availability subject to stock.* ⚠️