yii2tech / file-storage

This package has been abandoned. See: https://www.patreon.com/posts/59332556
Other
119 stars 30 forks source link

Scalability question #3

Closed StalkAlex closed 8 years ago

StalkAlex commented 8 years ago

Is there any way to split this abstraction on different local servers?

klimov-paul commented 8 years ago

I am unsure I understand what do you mean.

You may use Hub storage: https://github.com/yii2tech/file-storage/blob/master/hub/Storage.php

It allows combine different storages, based on different platforms with different configurations under the single interface. With it you will be able to manipulate all bcukets as equal at the same program layer.

StalkAlex commented 8 years ago

I have two servers in local network, so I need to replicate all files from the main where web app is running. There should be ftp realisation in file linked above, but I can't find it in repository.

klimov-paul commented 8 years ago

Unfortunally there is no 'ftp' file storage implemented yet. If someone creates a PR for it, it whould be great.

klimov-paul commented 8 years ago

See #6

StalkAlex commented 8 years ago

Hey, Paul! Thank you for the implementation