Cache

Catalyst Cloud Scale Cache is provided as an ephemeral storage component that can be used independently of your main data storage unit. It is highly useful when implemented in dynamic, memory-intensive applications. Catalyst cache can be implemented in your application using the SDK methods listed below.

Get component instance

A component instance is an object that can be used to access the pre-defined configurations specific to a particular component. This process will not fire a server-side call.

The app reference used in the code below is the Python object returned as a response during SDK initialization. You can create a new cache_serviceinstance as shown below. This instance will be used in multiple scenarios while performing cache component related operations.

    
copy
#Get cache component instance cache_service = app.cache()

Last Updated 2023-12-18 16:20:08 +0530 +0530

ON THIS PAGE

RELATED LINKS

Cache