Using Memcached

From Colourphon

Jump to: navigation, search

pre req

  • memcached installed on the machine
  • PECL memcache installed for PHP


experiments

16.7 million colours calculated over approximately 3 days. that is only a rough guess, as I only ran calculations when the PC was on, and sometimes there were more than one instance of the pre_load_colours.php script running.

speed
approx 10,000 colours processed in 4 minutes
Memory usage
when complete approx 1.6 MB
Time to load CSV into memcached
approx 15 to 20 mins.
Personal tools