Since this is what I am trying to do. I want to make some variable values available to a PHP script. The values are fetched from the internet every minute (they change). I do not want the values to be written and written again to the SSD. Does Memcached do the job of storing them at any given time on system memory only, with no SSD writing? Thanks.
Asked
Active
Viewed 203 times
2 Answers
0
As the name implies, memcached only stores things in local memory. If you restart the service any data inside is lost.

Machavity
- 30,841
- 27
- 92
- 100
0
It depends. Memcache can be set to enable some sort of logging. But most have this disabled by default.
The values are all stored in memory but some log of the action may be written
Modern ssds have much better write wearing systems so you shouldn't have to sorry about writing to ssd

exussum
- 18,275
- 8
- 32
- 65