The UDSF: Where a Stateless Function Keeps Its State

Published: , Updated: By Reading time: 13 min 2,531 words Bookmark Share Summary

The Unstructured Data Storage Function (UDSF) is where a 5G network function parks its session context instead of holding it in its own memory. Any function can write and read its own records over the Nudsf interface, which is what makes a stateless core possible: when one instance fails, another picks up the context and the session survives. The UDSF is optional, and the format of the data is the owning function's business.

The Unstructured Data Storage Function (UDSF) provides storage and retrieval of unstructured data for network functions in the 5G Core. A consuming function can use it to hold operational context outside its own processing instance. This can support designs in which processing capacity changes without tying all context to one running instance.

Unstructured has a specific meaning here. The stored payload is not necessarily governed by a common 3GPP semantic data model understood by every consumer. The function writing the data still needs a defined format and lifecycle. For an MVNO, the UDSF is mainly an architecture and operations decision, rather than a customer-facing service that creates revenue on its own.

On this page

History and Evolution of the Unstructured Data Storage Function

Traditional network products often kept operational state tightly coupled to an application instance or a vendor-specific database. This could make scaling and recovery depend on the behaviour of that product. Cloud-oriented core designs encouraged a clearer separation between the processes handling requests and the context those processes needed.

The 5G architecture includes the UDSF as an option for relevant unstructured storage requirements. That does not make it compulsory for every network function or every 5G deployment. Some products use other supported state-management approaches. The useful question is whether the selected core benefits from a UDSF and whether its consumers implement the necessary integration correctly.

Core Utility and Functionality of the UDSF

UDR and UDSF are different things

UDR and UDSF are different things
UDR UDSF
Holds Structured subscription data Unstructured context a function needs
Defined shape Yes, by the standard No, it is opaque to the standard
Typical consumer UDM, PCF, NEF Any network function that keeps state
Lifetime As long as the subscription As long as the session or registration
If it is lost Subscribers cannot be served Live sessions drop, subscriptions survive

What is the UDSF Used For?

A network function may need to preserve context while processing instances are replaced or expanded. If the required context is held in a suitable shared storage service, a compatible instance can retrieve it and continue the supported procedure. The UDSF provides the storage role in such an arrangement; the consumer still defines how to interpret and use the record.

For example, an AMF implementation may use external context storage as part of its resilience design. Whether another instance can serve a subscriber successfully depends on much more than the presence of a record. Identity, ownership, freshness and the consumer's recovery procedures all need to agree. Shared storage enables a design, but does not prove that design is correct.

Key Functions of the Unstructured Data Storage Function

Record storage preserves data supplied by an authorised consumer. The platform must distinguish records and the storage scope to which they belong. The contents can be meaningful to the network function without being a universally interchangeable subscriber profile. Buyers should avoid interpreting unstructured storage as permission to store uncontrolled information without a schema owner.

Retrieval provides the data needed by a consumer during normal processing or recovery. Read performance matters when the storage sits on a time-sensitive procedure. A fast average can conceal occasional long delays, so latency should be evaluated across the expected workload and during failure conditions.

Updates and deletion support the lifecycle of operational context. Expired sessions and obsolete records should not remain indefinitely. The consumer and storage service need a consistent understanding of when data can be replaced or removed, particularly if multiple processing instances can interact with related context.

Access control separates permitted consumers and storage scopes. Resilience and consistency mechanisms protect the usefulness of the stored information. These are implementation capabilities to assess carefully: a storage service that returns stale context quickly may be less useful than one that clearly rejects an unsafe read during a failure.

Technical Integration and Data Model

Integration with Other Systems

The main integrations are with the network functions that choose to store their context in the UDSF. A supplier should identify these consumers explicitly. An offer that lists UDSF support without stating which deployed functions use it leaves the practical value unclear.

The Unified Data Repository has a different role, holding specified categories of structured data within the 5G architecture. The UDSF does not automatically replace the UDR, UDM or a BSS database. Keeping these responsibilities separate prevents a storage consolidation project from quietly changing the meaning and ownership of subscriber information.

Infrastructure integration includes observability, backup, encryption and deployment management. These capabilities may be supplied by the platform or underlying storage technology. Ask who is accountable when a slow disk, replication fault or configuration change affects network procedures. A vendor should not describe those dependencies as someone else's problem after selling a complete resilience solution.

Technical Data Model and Key Interfaces

The UDSF stores records with the information needed to identify and manage them, while the payload's application meaning belongs to the consumer. Two products can support the same storage interface yet use incompatible context formats. Interface compatibility therefore does not guarantee that one vendor's network function can recover another vendor's stored state.

Why a stateless network function needs somewhere to put its state.

Five-step context flow from a function handling a session to storage in the UDSF, an instance failure, and another instance resuming from the stored context.

3GPP TS 29.598 specifies unstructured data storage services, associated with the Nudsf interface. The relevant architecture is described in TS 23.501. Actual support depends on the selected release and operations implemented by the products on both sides of the interface.

Request documentation for record identifiers, scope, lifetime, update behaviour and error handling. Ask how concurrent access is managed and how a consumer recognises a missing or obsolete record. Include context-format changes in upgrade testing. A software rollout can fail even when the API remains stable if the new consumer cannot read an older payload.

UDSF Ownership for MVNOs and IoT Companies

Why Own a UDSF?

An MVNO operating its own 5G core may select UDSF capability as part of the core's state-management design. Direct control can be useful where the business needs a particular recovery model or wants to manage infrastructure independently. It should follow the requirements of the consuming network functions, rather than a general desire to own more core components.

An IoT provider buying a managed connectivity service will usually obtain the operational outcome through its provider. It may need evidence of session recovery and data protection without needing to run the storage function itself. The right procurement question is how the platform preserves service during failure, not whether the contract includes a separate UDSF box.

Advantages and Disadvantages of UDSF Ownership

Advantages:

  • External context storage can help separate processing-instance lifecycle from the lifetime of operational state. In a compatible design, that can support scaling, upgrades and recovery. The benefit should be demonstrated by replacing a consumer instance and showing that the intended subscriber procedure still works correctly.

  • A dedicated storage service can also provide consistent operational controls for the consumers that use it. Backup, access management and performance monitoring become explicit responsibilities. This may improve visibility, but only if the organisation can connect a storage incident to the network procedures and subscribers it affects.

Disadvantages:

  • The UDSF introduces a dependency that must be engineered carefully. A consumer that previously used local context may now depend on network latency and remote storage availability. Moving state out of the process changes the failure model; it does not remove state or eliminate the need to manage it.

  • Cross-vendor portability can be limited by payload formats and consumer behaviour. Storage volume is also only one cost driver. Transaction rate, replication, backup and the performance needed during recovery can dominate. Compare the complete architecture and support responsibilities using the core network overview as a starting point for your component map.

Organizational Impact of UDSF Ownership

  • Platform teams need service objectives for reads, writes and recovery, expressed in terms relevant to the consuming network functions. A general database uptime target may be too weak if occasional slow responses cause registrations to fail. Establish performance thresholds from the actual procedure budget and test them under realistic load.

  • Application teams remain responsible for context meaning and lifecycle. They must define when a record becomes authoritative, how its version changes and which instance may update it. These rules should be documented alongside the application, so an infrastructure team is not expected to infer subscriber semantics from opaque stored content.

  • Security teams should treat operational context as potentially sensitive. Restrict access by consumer and purpose, protect stored data and control diagnostic exports. Encryption does not replace authorisation, and a shared database account can undermine otherwise well-separated application instances. Confirm how credentials and access are managed during deployment and recovery.

  • Finance teams should model the cost under failure as well as normal traffic. Replication and spare capacity may be essential to the promised availability. Ask whether the quoted service includes backups, restoration testing and sufficient throughput after losing a site. A cheaper storage tier can become expensive if it increases service disruption or requires later redesign.

Redundancy and High Availability

What to specify for the storage layer

What to specify for the storage layer
Specify Why it matters
Read and write latency budget It is in the path of every session operation
Replication model and distance Synchronous costs latency, asynchronous costs data
Behaviour when unavailable Fail closed or fail open is a product decision
Where the data physically sits It carries subscriber context, so law applies
Retention and deletion Context is personal data for as long as it exists
Which functions actually use it Vendors differ; the standard permits both

UDSF availability should be evaluated together with consistency and recovery behaviour. A replicated service can still produce conflicting or stale context if the design does not handle partitioned connectivity correctly. Ask what happens when sites lose contact and whether consumers receive an error, an older record or access to a surviving authoritative copy.

Backups serve a different purpose from live replication. Replication can copy an accidental deletion or corrupt update, while a backup may preserve an earlier recoverable state. However, restoring an old context snapshot can itself be unsafe if the network has moved on. Define restoration procedures with the consuming function's developers and test them on representative records.

Measure recovery at the service level. Restart a consumer, interrupt storage connectivity and remove a storage node. Observe whether subscribers must register again, whether context is safely rebuilt and how the system prevents conflicting updates. A successful storage failover is useful only if the dependent network procedures also recover as intended.

Impact of 4G, 5G, and 6G on the UDSF

State Storage in 4G Networks

4G products use various internal and external approaches to state storage. They do not all expose the 5G UDSF service model. A migration can preserve useful operating principles, such as separating context from replaceable processing, without assuming that existing databases or records are directly compatible with a new core.

UDSF in the 5G Architecture

The UDSF supports an optional architectural approach for unstructured data storage. A network function can appear stateless at the processing layer while still depending on state held elsewhere. When assessing a 5G Core proposal, ask suppliers to show where each kind of state lives and what happens when that location becomes unavailable.

6G and Future Portability

Future architectures may continue to separate processing and data, but current context formats are not automatically future-proof. Prefer documented lifecycle rules, export options and tested upgrade procedures. A storage interface can remain stable while the meaning of its payload changes, so portability requires cooperation from the consuming application as well as the storage provider.

Frequently Asked Questions about the Unstructured Data Storage Function (UDSF)

What is the main purpose of the UDSF?

It stores and retrieves unstructured data for network functions in the 5G architecture. It can support external storage of operational context used by compatible consumers. The network function remains responsible for interpreting that context and applying it correctly during processing and recovery.

Does unstructured mean that the data has no format?

No. The consumer normally needs a defined format to interpret its own data. Unstructured in this context does not imply random or unmanaged content. The distinction concerns the storage role and the absence of a universal semantic model for every payload stored by every consumer.

How does the UDSF differ from the UDR?

The UDR serves specified structured-data responsibilities in the 5G system. The UDSF supplies storage for unstructured data used by network functions. They are not interchangeable databases, even if a vendor uses similar underlying technology to implement both services.

Is UDSF mandatory for every 5G core?

No. It is an architectural option used where the selected network functions support and benefit from it. Some implementations manage state differently. Evaluate the delivered resilience and scalability of the complete core rather than treating a separate UDSF deployment as a universal requirement.

Does a UDSF make a network function completely stateless?

It can move relevant state outside a processing instance, but the overall service still has state. Consumers need rules for reading, updating and recovering it. Additional local state or dependencies may also remain, depending on the implementation and procedure.

Can different vendors share the same stored context?

Only if the necessary format, semantics and lifecycle behaviour are compatible. Supporting the storage API alone does not prove that compatibility. Request a demonstrated recovery or migration between the intended products before relying on shared context as a way to avoid vendor dependence.

What should a UDSF supplier demonstrate?

Request tests of consumer restart, concurrent updates, storage failure and context-version changes. Measure response times under load and recovery conditions. Ask how missing, stale and corrupt records are handled, and require evidence that the dependent subscriber procedures recover correctly.

Summary

The UDSF can help a 5G core separate operational context from individual processing instances. Its value depends on compatible consumers, clear data ownership and a tested failure model. It is neither a replacement for every subscriber database nor a guarantee of stateless operation.

Evaluate the storage function as part of the complete core design. Compare performance, consistency and service recovery, then use the solution provider directory to find partners that can demonstrate the architecture your business needs.

5G Core (5GC)

MVNO Index - Service Communication Proxies (SCP)
MVNO Index - Access and Mobility Management Function (AMF)
MVNO Index - Session Management Function (SMF)
MVNO Index - SMS Function (SMSF) (small)
MVNO Index - Unified Data Management (UDM)
MVNO Index - Network Data Analytics Function (NWDAF) (small)
MVNO Index - Unstructured Data Storage Function (UDSF) (small)
MVNO Index - Unified Data Repository (UDR)
MVNO Index - Policy Control Function (PCF)
MVNO Index - Network Exposure Function (NEF) (small)
MVNO Index - Binding Support Function (BSF) (small)
MVNO Index - User Plane Function (UPF)
MVNO Index - Network_Slice_Selection_Function_NSSF_small
MVNO Index - Non-3GPP Interworking Function (N3IWF) (small)
MVNO Index - Network Repository Function (NRF)
MVNO Index - Charging_Function_CHF_small
MVNO Index - Security Edge Protection Proxy (SEPP) (small)