Video-hosting system

Project description

The system represents one of the largest video-hosting services in Japan (kind of Japanese counterpart to YouTube). The service allows users to upload and view videos, comment and vote on them. There is a detailed system of ratings and recommendations.

There is also paid services providing additional features, e.g. the ability to download video in format DivX.

The statistics component allows to monitor the effectiveness of video clips. There is also a system of moderation of video and comments.

We took over the system from another developer in a very poor shape. We cleaned it up, optimized DB usage, added memcached. Now we developing new components on much more solid base.

Implementation highlights

  • — Full-text Japanese search
  • — Data exchange with partner sites
  • — Distributed video-storage
  • — CDN integration
  • — A credit card billing system (in development)
  • — A photo sharing component (in development)

Performance stats

  • — Over 11 mln page views per day
  • — Over 250.000 video views per day
  • — Over 200.000 registered users
  • — Over 600.000 unique visitors per day
  • — Over 2.5 terabytes of video storage
  • — Over 50 terabytes of daily traffic

Technologies

  • PHP
  • Python
  • Linux
  • PostgreSQL
  • memcached
  • PgQ