---
title: Intermediate Storage vs Direct Log API Calls
description: Should you use intermediate storage or call Log API directly? Learn why asynchronous logging is recommended for reliability.
---

# Do I need intermediate storage or can I call Log API directly?

**Use intermediate storage for production deployments**—asynchronous logging via [Pickup Service][] provides reliability, scalability, and decoupling. Direct [Log API][] calls are **not recommended** except for simple testing.

## Why Intermediate Storage (Asynchronous Logging)

### <i class="fal fa-circle-check" aria-hidden="true"></i> Reliability

If <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Web Server is temporarily unavailable (maintenance, network issues, restarts), your integrations **continue running**—logs queue up in intermediate storage, Pickup Service fetches them when <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> returns.

**Direct API:** Integration fails or loses log events if <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> is unavailable.

### <i class="fal fa-circle-check" aria-hidden="true"></i> Performance

Writing to intermediate storage ([Azure Service Bus][] queue, file share, database) is **fast and non-blocking**—your integration continues processing without waiting for <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> HTTP responses.

**Direct API:** Every log call waits for HTTP response—adds latency to integration processing (50-200ms per log event).

### <i class="fal fa-circle-check" aria-hidden="true"></i> Scalability

Pickup Service handles **burst traffic**—1,000 integrations can write 500K logs/day to intermediate storage, Pickup Service ingests at controlled rate without overloading <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

**Direct API:** High-volume logging can overwhelm the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Log API with simultaneous connections.

### <i class="fal fa-circle-check" aria-hidden="true"></i> Decoupling

Your integrations don't need network connectivity to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Web Server—just write to local file share, queue, or database. Pickup Service (running on <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> server or nearby) fetches logs asynchronously.

**Direct API:** Every integration server needs firewall rules, authentication, and network access to <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>. See the [firewall settings for Custom Logging][Custom Logging firewall] for the ports on each hop.

## Supported Intermediate Storage Options

[Pickup Service][] fetches logs from:

* <i class="fal fa-inbox" aria-hidden="true"></i> **Azure Service Bus Queues** - Cloud-native, highly available
* <i class="fal fa-inbox" aria-hidden="true"></i> **Azure Storage Queues** - Simple, cost-effective
* <i class="fal fa-folder" aria-hidden="true"></i> **File Shares** - SMB/CIFS network shares, local folders
* <i class="fal fa-database" aria-hidden="true"></i> **Databases** - SQL Server, PostgreSQL, MySQL tables
* <i class="fab fa-windows" aria-hidden="true"></i> **MSMQ** - Windows Message Queuing (legacy)
* <i class="fal fa-inbox" aria-hidden="true"></i> **RabbitMQ** - Open-source message broker
* <i class="fab fa-aws" aria-hidden="true"></i> **Amazon SQS** - AWS queue service

**Recommended:** Azure Service Bus for cloud deployments, file shares for on-premises simplicity.

## When Direct Log API Calls Are Acceptable

Use direct [Log API][] calls **only for**:

* **Development/testing** - Quick prototyping, proof-of-concept
* **Low-volume scenarios** - <100 log events/day, non-critical logging
* **Synchronous requirements** - Must confirm <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> received log before continuing (rare)

**Not recommended for production** due to reliability and performance trade-offs.

## Asynchronous Logging Architecture

<div class="mermaid">
graph LR
    subgraph "Your Integration"
        A[Integration Logic] --> B[Write JSON Log Event]
        B --> C[Intermediate Storage]
    end
    subgraph "Nodinite Server"
        D[Pickup Service] --> E[Log API]
        C --> D
    end
</div>

1. Integration writes a [JSON Log Event][JSON Log Event Format] to intermediate storage **(fast, reliable)**
2. Pickup Service asynchronously fetches logs **(decoupled, scalable)**
3. Log API ingests into <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **(controlled rate, no integration impact)**

**Read more:** [Asynchronous Logging][] architecture and benefits.

---

**Related Topics:**  
[Pickup Service Overview][]  
[Asynchronous Logging][]  
[JSON Log Event Format][]  

**See all FAQs:** [Troubleshooting Overview][]

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-book" aria-hidden="true"></i> [Back to Custom Logging Overview][Custom Logging Overview]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-truck-pickup" aria-hidden="true"></i> [Log Asynchronously and Survive Updates][]  
* <i class="fal fa-question-circle" aria-hidden="true"></i> [Troubleshooting Overview][Troubleshooting]  
* <i class="fal fa-coins" aria-hidden="true"></i> [Azure Costs for Blob Storage and Event Hub][]  

[Asynchronous Logging]:https://docs.nodinite.com/core-services/log-api/features/asynchronous-logging/
[Azure Costs for Blob Storage and Event Hub]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/azure-costs-for-blob-storage-and-event-hub/
[Azure Service Bus]:https://docs.nodinite.com/logging-and-monitoring/message-queueing/features/azure-service-bus-queues/monitoring-azure-service-bus-queue/
[Custom Logging firewall]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/overview/#fa-shield-check-what-firewall-settings-are-required
[Custom Logging Overview]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/overview/
[JSON Log Event Format]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Asynchronously and Survive Updates]:https://docs.nodinite.com/getting-started/log/logging-strategy/log-asynchronously-and-survive-updates/
[Pickup Service]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Pickup Service Overview]:https://docs.nodinite.com/logging-and-monitoring/pickup-logevents-service/overview/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/overview/
[Troubleshooting Overview]:https://docs.nodinite.com/logging-and-monitoring/custom-logging/troubleshooting/overview/