Skip to content

Commit 60ee50f

Browse files
committed
update
1 parent 2fddf6d commit 60ee50f

File tree

1 file changed

+46
-2
lines changed

1 file changed

+46
-2
lines changed

pdf/aspose-pdf-for-aws/_index.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,16 @@ Max files count in batch for processing.
540540
Specify the default number of files in a batch for processing. Adjusting the MAX_BATCH_FILES can optimize processing efficiency and resource usage. Change this value if you encounter performance issues with large batches or need to customize batch processing based on your workload, ensuring smooth and efficient batch processing.
541541

542542

543+
**MAX_INFLIGHT**
544+
545+
Maximum number of tasks processed in parallel.
546+
547+
**Default Value:** 10
548+
549+
550+
Define the maximum number of tasks that can be processed simultaneously. If the number of tasks exceeds this value, additional tasks will wait in the queue until resources become available. Adjusting the MAX_INFLIGHT setting helps manage resource utilization and can improve system stability and performance. Increase this value to allow more parallel processing if your system can handle the load, or decrease it if you need to limit concurrent processing to avoid overloading resources.
551+
552+
543553
**OMP_THREAD_LIMIT**
544554

545555
This option useful for use with searchable pdf endpoint and Tesseract.
@@ -558,6 +568,26 @@ Is for out of memory error message instead of reboot container in Kubernetes on
558568

559569

560570
Set the GC heap hard limit for the .NET runtime in bytes to manage memory usage effectively. Adjusting the COMPlus_GCHeapHardLimit can help prevent avoid unnecessary container restarts in Kubernetes but large files will throws out-of-memory (OOM) errors. Change this value if you encounter OOM issues or need to fine-tune memory allocation to better suit your application's needs.
571+
| Instance Size | Memory (GiB) | COMPlus_GCHeapHardLimit (85%) |
572+
|-----------------|--------------|------------------------------------|
573+
| m7g.medium | 4 | 0xd9999999 |
574+
| m7g.large | 8 | 0x1b3333333 |
575+
| m7g.xlarge | 16 | 0x366666666 |
576+
| m7g.2xlarge | 32 | 0x6cccccccc |
577+
| m7g.4xlarge | 64 | 0xd99999999 |
578+
| m7g.8xlarge | 128 | 0x1b33333333 |
579+
| m7g.12xlarge | 192 | 0x28cccccccc |
580+
| m7g.16xlarge | 256 | 0x3666666666 |
581+
| m7g.metal | 256 | 0x3666666666 |
582+
| m7gd.medium | 4 | 0xd9999999 |
583+
| m7gd.large | 8 | 0x1b3333333 |
584+
| m7gd.xlarge | 16 | 0x366666666 |
585+
| m7gd.2xlarge | 32 | 0x6cccccccc |
586+
| m7gd.4xlarge | 64 | 0xd99999999 |
587+
| m7gd.8xlarge | 128 | 0x1b33333333 |
588+
| m7gd.12xlarge | 192 | 0x28cccccccc |
589+
| m7gd.16xlarge | 256 | 0x3666666666 |
590+
| m7gd.metal | 256 | 0x3666666666 |
561591

562592

563593
**DISABLE_UNMANAGED_PROCESS**
@@ -1489,6 +1519,16 @@ Use HTTPS (TLS) to ensure encrypted connections and protect against eavesdroppin
14891519
n in your Amazon S3 bucket policies to enforce HTTPS-only connections.
14901520

14911521

1522+
### Document with Passwords
1523+
1524+
You may need to process encrypted documents through our containerized REST API, with support for various operations such as merging, converting, and splitting.
1525+
1526+
To ensure secure processing, a password is required to unlock encrypted documents before any operation.
1527+
1528+
Our API supports the **documentPassword** form parameter across all endpoints, allowing you to specify the necessary password for your documents. In the current version, when submitting multiple documents in a single request, the same password must be used for all. If your documents have different passwords, you can achieve this by running multiple concurrent API calls, each handling one document at a time with its specific password.
1529+
1530+
This approach provides you with a secure and flexible way to process encrypted documents across all our REST API endpoints, ensuring that your operations run smoothly, whether you’re working with single or multiple documents.
1531+
14921532

14931533

14941534
### File Uploads via External and Internal Links
@@ -3694,7 +3734,9 @@ try {
36943734

36953735
<details><summary>curl</summary>
36963736
<pre><code>
3697-
curl -X POST 'http://localhost:5252/pdf/webapi/lock?passw=value' -F 'files=@file.pdf'
3737+
curl -X POST 'http://localhost:5252/pdf/webapi/lock' \\
3738+
-F 'files=@file.pdf' \\
3739+
-F 'documentPassword=value'
36983740
</code></pre>
36993741
</details>
37003742
<details><summary>php</summary>
@@ -5725,7 +5767,9 @@ try {
57255767

57265768
<details><summary>curl</summary>
57275769
<pre><code>
5728-
curl -X POST 'http://localhost:5252/pdf/webapi/unlock?passw=value' -F 'files=@file.pdf'
5770+
curl -X POST 'http://localhost:5252/pdf/webapi/unlock' \\
5771+
-F 'files=@file.pdf' \\
5772+
-F 'documentPassword=value'
57295773
</code></pre>
57305774
</details>
57315775
<details><summary>php</summary>

0 commit comments

Comments
 (0)