How does caching work in openCPU? -
this question directed towards jeroen , follow-up answer: https://stackoverflow.com/a/12482918/177984
jeroen wrote "the server caching" .. "so if enough memory available automatically available memory."
how can confirm if object cached 'in-memory' or not? can tell (by performance) of objects being read disk. i'd have things read memory speed data load times. there way view what's in in-memory cache? there way force caching objects in-memory?
thanks help.
the opencpu project rapidly evolving. things have changed in opencpu 1.0. have @ website latest information: http://www.opencpu.org.
the answer cited outdated. indeed caching done on disk. in previous version, opencpu used varnish caching, in-memory. turned out make things more complicated (especially https), , performance bit disappointing (especially in comparison fast disks these days). we're @ nginx caches on disk, more mature , configurable web server, , has other performance benefits.
Comments
Post a Comment