cristy | 29dc865 | 2015-05-12 16:26:21 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 2 | <html lang="en"> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 3 | <head> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 4 | <meta charset="utf-8"> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 6 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 7 | <title>ImageMagick: Distributed Pixel Cache</title> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 8 | <meta http-equiv="content-language" content="en-US"> |
| 9 | <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
| 10 | <meta http-equiv="reply-to" content="magick-users@imagemagick.org"> |
| 11 | <meta name="application-name" content="ImageMagick"> |
| 12 | <meta name="description" content="ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves."> |
| 13 | <meta name="application-url" content="http://www.imagemagick.org"> |
| 14 | <meta name="generator" content="PHP"> |
| 15 | <meta name="keywords" content="distributed, pixel, cache, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"> |
| 16 | <meta name="rating" content="GENERAL"> |
| 17 | <meta name="robots" content="INDEX, FOLLOW"> |
| 18 | <meta name="generator" content="ImageMagick Studio LLC"> |
| 19 | <meta name="author" content="ImageMagick Studio LLC"> |
| 20 | <meta name="revisit-after" content="2 DAYS"> |
| 21 | <meta name="resource-type" content="document"> |
cristy | 2f563d4 | 2015-05-06 23:36:51 +0000 | [diff] [blame] | 22 | <meta name="copyright" content="Copyright (c) 1999-2015 ImageMagick Studio LLC"> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 23 | <meta name="distribution" content="Global"> |
cristy | 44443b9 | 2015-05-05 00:06:07 +0000 | [diff] [blame] | 24 | <meta name="magick-serial" content="P131-S030410-R485315270133-P82224-A6668-G1245-1"> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 25 | <link rel="icon" href="../images/wand.png"> |
| 26 | <link rel="shortcut icon" href="../images/wand.ico" type="images/x-icon"> |
cristy | 44443b9 | 2015-05-05 00:06:07 +0000 | [diff] [blame] | 27 | <link rel="stylesheet" href="css/bootstrap.min.css"> |
| 28 | <link rel="stylesheet" href="css/magick.css"> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 29 | </head> |
| 30 | |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 31 | <body> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 32 | <div class="main"> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 33 | <div class="magick-masthead"> |
| 34 | <div class="container"> |
| 35 | <script type="text/javascript"> |
| 36 | <!-- |
| 37 | google_ad_client = "pub-3129977114552745"; |
| 38 | google_ad_slot = "5439289906"; |
| 39 | google_ad_width = 728; |
| 40 | google_ad_height = 90; |
| 41 | //--> |
| 42 | </script> |
| 43 | <center><script type="text/javascript" src="http://localhost/pagead/show_ads.js"> |
| 44 | </script></center> |
| 45 | <nav class="magick-nav"> |
cristy | 44443b9 | 2015-05-05 00:06:07 +0000 | [diff] [blame] | 46 | <a class="magick-nav-item " href="../index.html">Home</a> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 47 | <a class="magick-nav-item " href="binary-releases.html">Downloads</a> |
| 48 | <a class="magick-nav-item " href="command-line-tools.html">Tools</a> |
| 49 | <a class="magick-nav-item " href="command-line-options.html">Options</a> |
| 50 | <a class="magick-nav-item " href="api.html">Development</a> |
cristy | a1890f0 | 2015-05-15 23:32:44 +0000 | [diff] [blame] | 51 | <a class="magick-nav-item " href="http://www.imagemagick.org/script/search.php">Search</a> |
| 52 | <a class="magick-nav-item pull-right" href="http://www.imagemagick.org/discourse-server/">Community</a> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 53 | </nav> |
| 54 | </div> |
| 55 | </div> |
| 56 | <div class="container"> |
| 57 | <div class="magick-header"> |
| 58 | <p class="lead magick-description">A distributed pixel cache is an extension of the traditional pixel cache available on a single host. The distributed pixel cache may span multiple servers so that it can grow in size and transactional capacity to support very large images or large image sequences. Start up the pixel cache server on one or more hosts. When you read or operate on an image and the local pixel cache resources are exhausted, ImageMagick contacts one or more of these remote pixel servers to store or retrieve pixels.</p> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 59 | <p>For really large images or large image sequences, or if there is limited resources on your host, you can utilize a distributed pixel cache on one or more remote hosts. Here we create two distributed pixel caches and utilize them from our desktop:</p> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 60 | <pre> |
| 61 | convert -distribute-cache 6668 & # start on 192.168.100.50 |
| 62 | convert -distribute-cache 6668 & # start on 192.168.100.51 |
| 63 | convert -limit memory 1GiB -limit map 2GiB -limit disk 4GiB \ |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 64 | -define registry:cache:hosts=192.168.100.50:6668,192.168.100.51:6668 \ |
| 65 | myhugeimage.jpg -sharpen 5x2 myhugeimage.png |
| 66 | </pre> |
| 67 | <p>For large image sequences, the servers are contacted in a round-robin fashion to distribute the load over multiple distributed pixel caches (assuming you have a host list rather than a single host). In our example, some modest resources are available on the desktop as defined by the -limit option. For smaller images, they are allocated on the desktop up to the specified limits.</p> |
| 68 | <p>Your image processing tasks are likely to perform slower when utilizing a distributed pixel cache due to pixels shuffling between the client and the server over a network. Algorithms that access virtual pixels (e.g. -sharpen) are noticably slower, up to 3 times slower, than algorithms that only access authentic pixels (e.g. -negate) due to increased network traffic.</p> |
cristy | 149d58c | 2013-08-07 19:44:54 +0000 | [diff] [blame] | 69 | <p>A client can only contact a compatible distributed pixel cache server. Compatibility requires the same ImageMagick library interface, quantum depth, HDRI status, OS word size, and endianness. The distributed pixel cache checks these attributes and exits if these requirements are not met.</p> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 70 | </div> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 71 | <footer class="magick-footer"> |
cristy | 82a2ff2 | 2015-05-12 16:41:32 +0000 | [diff] [blame] | 72 | <div class="magick-nav-item pull-left"> |
cristy | 85893d3 | 2015-05-06 13:44:09 +0000 | [diff] [blame] | 73 | <a href="support.html">Donate</a> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 74 | </div> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 75 | <p><a href="sitemap.html">Sitemap</a> • |
| 76 | <a href="links.html">Related</a> • |
| 77 | <a href="http://www.imagemagick.org/MagickStudio/scripts/MagickStudio.cgi">Image Studio</a> • |
| 78 | <a href="http://jqmagick.imagemagick.org/">JqMagick</a> • |
| 79 | <a href="http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x89AB63D48277377A">Public Key</a> |
| 80 | </p> |
| 81 | <p><a href="distribute-pixel-cache.html#">Back to top</a> • |
cristy | 85893d3 | 2015-05-06 13:44:09 +0000 | [diff] [blame] | 82 | <a href="http://www.imagemagick.org/script/contact.php">Contact Us</a></p> |
cristy | a1890f0 | 2015-05-15 23:32:44 +0000 | [diff] [blame] | 83 | <p><small>© 1999-2015 ImageMagick Studio LLC</small></p> |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 84 | </footer> |
| 85 | </div><!-- /.container --> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 86 | |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 87 | <script src="https://localhost/ajax/libs/jquery/1.11.2/jquery.min.js"></script> |
| 88 | <script src="../js/bootstrap.min.js"></script> |
| 89 | <script type="text/javascript"> |
cristy | 82a2ff2 | 2015-05-12 16:41:32 +0000 | [diff] [blame] | 90 | /* <![CDATA[ */ |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 91 | (function() { |
| 92 | var s = document.createElement('offline-script'), t = document.getElementsByTagName('offline-script')[0]; |
| 93 | s.type = 'text/javascript'; |
| 94 | s.async = true; |
| 95 | s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto'; |
| 96 | t.parentNode.insertBefore(s, t); |
| 97 | })(); |
cristy | 82a2ff2 | 2015-05-12 16:41:32 +0000 | [diff] [blame] | 98 | /* ]]> */ |
cristy | d243201 | 2015-05-04 23:15:15 +0000 | [diff] [blame] | 99 | </script> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 100 | </div> |
cristy | 8ee7f24 | 2013-06-20 16:08:44 +0000 | [diff] [blame] | 101 | </body> |
cristy | 5a367e4 | 2015-05-05 12:39:18 +0000 | [diff] [blame] | 102 | </html> |