Skip to content
Alex Chi edited this page Mar 1, 2021 · 5 revisions

mirror-docker-unified stores all infrastructure scripts for SJTUG mirror servers.

SJTUG Mirror Service

SJTUG mirror service is made up of two servers and several services provided by SJTUG NIC.

There are two mirror servers, Zhiyuan and Siyuan, both sponsored by SJTU NIC.

The Zhiyuan mirror is set up in 2016. It is a traditional-VM-based server. Zhiyuan mirror is basically in maintenance mode. We do not add new repositories to that server.

The Siyuan mirror is set up in 2020. It is hosted on SJTU jCloud service, as a cloud VM. Siyuan mirror is intended for replacing ftp.sjtu.edu.cn, and is now in active development. We experiment new technologies and add new repositories on Siyuan mirror.

Zhiyuan Siyuan
Since 2016 2020
Domain https://mirrors.sjtug.sjtu.edu.cn https://mirror.sjtu.edu.cn
OS Fedora Debian
Network IPv4 + IPv6 (outbound only) IPv4 (through jCloud router) + IPv6
Type Traditional VM jCloud VM
CPU 16 16
Memory 48GB 128GB
Status Only security patches New repositories
Disk 12TB HDD 10TB + 10TB HDD

Besides mirror servers, SJTUG mirror service leverages existing infrastructure of SJTU NIC to provide service, which includes:

  • SJTU NIC S3 service. We store some repositories on SJTU S3 service. We use mirror-clone and mirror-intel to synchronize data to S3 and serve our users respectively.
  • SJTU Git Service. All git repositories are first cloned to mirror servers, and then pushed to SJTU git. Mirror users still use URLs like https://mirrors.sjtug.sjtu.edu.cn/git/crates.io-index/ to clone. Our web server will redirect users to SJTU git or directly serve from disk, according to their user agent.
Clone this wiki locally