wolfshade — 2014-06-18T09:17:48-04:00 — #1
Just a curious question about web workers.
How much data can be passed to a web worker, and vice-versa? Is there a limit to, say, how much JSON can be passed back and forth?
paul_wilkins — 2014-06-18T17:35:09-04:00 — #2
As the data tend to be passed as POST data, the only limit is what the server allows. The default for php servers is 8 megabytes, but it can be put up to greater, such as to 20 megabytes.
Edit your .htaccess file
#set max post size
php_value post_max_size 20M
wolfshade — 2014-06-19T08:50:04-04:00 — #3
Thank you for responding. I'm not working in a PHP environment, but I'll ask our SA about what the web servers allow, here. I don't currently have any projects that will require that much data, but a co-worker has developed (and is maintaining) a project that uses huge amounts of data for crunching, and we figured it would probably be best to let the client system do that instead of taking up resources of the web/CF server. But we don't know what limitations on data passed would be.
wolfshade — 2014-06-19T16:23:39-04:00 — #4
As it turns out, MOST web servers don't place a limit on post data. Not even Apache. However, PHP does put a limit on post data (which, as you've already stated, can be adjusted.)
CF Server, as it turns out, does have a limit (regardless of what web server it's using) that is defined by the Java Heap. In CFAdmin, you can adjust the min and max java heap size (1024 = 1Gig) to whatever you require.
This is different from CF "Post Limit" which is a limiter on the number of form fields that can be submit in a single post (in CF10 this is default 100).
system — 2014-10-08T02:12:50-04:00 — #5
This topic is now closed. New replies are no longer allowed.