i want to use image magic in multi threaded server to be able to invoke IM service in each incoming thread
is there any best practice for this ? does anybody did it and can share how to start to implement it ?
Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
2 posts • Page 1 of 1
- Posts: 10134
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
The main consideration is that IM is by default greedy, taking all the threads and memory and disk it can. If you run multiple threads with IM in each, you will want to prevent it from multithreading, eg by editing policy.xml. You might also want to restrict usage of memory etc.
snibgo's IM pages: im.snibgo.com