Setting up Files (High Performance Backend)

I’d like to clarify how to setup the new Files HPB written in Rust. I’m still unsure, but turning this into a wiki post so anyone can edit it. Continuing the discussion from Nextcloud Hub 21 out with up to 10x better performance, whiteboard and more collaboration features:

The HPB for Files requires a reverse-proxy setup and Redis, among other pieces of infrastructure. You can find instructions here.

Please edit this with clearer instructions for setting this up.

1 Like

And how do you configure the HPB if you have several Nextcloud installations on one server?

Must be set per installation a new service and new port?

[Unit]

Description = Push daemon for Nextcloud clients

[Service]
Environment = PORT=7867 # Change if you already have something running on this port
ExecStart = /path/to/push/binary/notify_push /path/to/nextcloud_1/config/config.php
User=www-data

[Install]
WantedBy = multi-user.target

[Unit]
Description = Push daemon for Nextcloud clients

[Service]
Environment = PORT=7868 # Change if you already have something running on this port
ExecStart = /path/to/push/binary/notify_push /path/to/nextcloud_2/config/config.php
User=www-data

[Install]
WantedBy = multi-user.target