[TYPO3-dev] Change driver of a FAL file

Christian Opitz christian.opitz at netresearch.de
Thu Oct 30 09:17:27 CET 2014


Hi Philipp,

Am 29.10.2014 19:01, schrieb Philipp Gampe:
> Your idea is a nice default implementation, but image two storages with fast
> interconnects and a much slower webserver running the TYPO3 instance with
> the copy operation. If you want to transfer a large file (e.g. a video) it
> would be senseless to first download it to the webserver, just to upload it
> again to the other remote storage. It would be much better to copy it
> directly. But in order to do this, the receiving storage needs to know which
> storage is the originating storage without parsing some potentially public
> URL. Also the public URL might not be the fastest way to access the file
> internally.

Ok, might be better having a generic import(File $file) method, where 
the target driver can determine what to do, based on the source driver. 
But an export method is IMO not necessary, if the driver instance could 
be retrieved from the storage.

> In general, we should use queues for central FAL operations and be default
> run them instantly, but allowing to replace the queue implementation for
> bigger sites. That way, we could delay expensive operation and either run
> them via AJAX or via dedicated services in the background.
> This needs more thoughts, because we would need a placeholder implementation
> for each operation, such that the editor gets feedback about pending actions
> and the current and future state.
> This is AFAIK partially implemented for indexing but I did not take a closer
> look yet.
>
> It would be cool to create a concept to make FAL work nicely with remote
> storage and to make implementing drivers easy, yet allowing to create
> powerful functionality that scales well.

Yes - at this point it would also be a good idea to think about a 
central message queue system/api for TYPO3 in general (especially in 
combination with the GUI) and I'd appreciate that. My only concern for 
now is, that I need to find a solution in a timely manner and thus would 
(have to) prefer the pure CLI implementation. However, I'm thinking 
about a way to do both...

> I could organize a room up to 10 people in Bonn if some devs would be
> willing to meet in person. However there is no budget for travel and hotels.

That would be great - hope I can find some time.

Best regards,
Christian



More information about the TYPO3-dev mailing list