s3db.js 8.2.0 → 9.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -309,15 +309,6 @@ const s3db = new S3db({
309
309
  });
310
310
  ```
311
311
 
312
- #### Performance Impact
313
-
314
- | Configuration | Use Case | Performance | Resource Usage |
315
- |---------------|----------|-------------|----------------|
316
- | **Default** | Most applications | ⭐⭐⭐⭐⭐ | ⭐⭐⭐ |
317
- | **High Concurrency** | APIs, web services | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
318
- | **Aggressive** | Data processing, bulk ops | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
319
- | **Conservative** | Serverless, IoT | ⭐⭐⭐ | ⭐⭐ |
320
-
321
312
  ### Authentication Methods
322
313
 
323
314
  <details>
@@ -396,7 +387,20 @@ Built-in validation using [@icebob/fastest-validator](https://github.com/icebob/
396
387
 
397
388
  ### 🚀 Performance Optimization
398
389
 
399
- s3db.js is designed for high performance with optimized defaults and configurable settings:
390
+ s3db.js uses advanced encoding techniques to minimize S3 metadata usage and maximize performance:
391
+
392
+ #### Metadata Encoding Optimizations
393
+
394
+ | Optimization | Space Saved | Example |
395
+ |-------------|-------------|---------|
396
+ | **ISO Timestamps** | 67% | `2024-01-15T10:30:00Z` → `ism8LiNFkz90` |
397
+ | **UUIDs** | 33% | `550e8400-e29b-41d4-a716-446655440000` → `uVQ6EAOKbQdShbkRmRUQAAA==` |
398
+ | **Dictionary Values** | 95% | `active` → `da` |
399
+ | **Hex Strings** | 33% | MD5/SHA hashes compressed with base64 |
400
+ | **Large Numbers** | 40-46% | Unix timestamps with base62 encoding |
401
+ | **UTF-8 Memory Cache** | 2-3x faster | Cached byte calculations |
402
+
403
+ Total metadata savings: **40-50%** on typical datasets.
400
404
 
401
405
  #### Bulk Operations Performance
402
406