R
R
Roquie2015-07-10 12:17:25
Laravel
Roquie, 2015-07-10 12:17:25

The project uses a file cache and constantly slips errors over file operations. This is fine?

The project can be considered a "beginner" highload. The file cache is temporarily used. The problem is that the functions mkdir, chmod, rmdir, unlink, and FilesystemIterator's give errors about the presence or absence of a file. The problem is not massive. HDD (not ssd). stashphp unittest passes successfully... Warnings do not interfere with the service in any way.
The real question is, is this normal? is it time to switch to memcached/redis?
PS all clearstatcache(true); don't help. I won’t even talk about file_exists and is_dir - because passes by.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Burov, 2015-07-10
@Roquie

initially it was necessary to use memcached / redis or something else .. operations with disks are very overhead.
PS: you can temporarily use tmpfs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question