fakeCache

Stable version 1.0.0 (Compatible with OutSystems 11)
Published on 29 Sep (3 weeks ago) by 
0.0
 (0 ratings)

fakeCache

Details
fakeCache is an application that stores Key/Value pairs with an expiration time, just like the normal Cache does, but instead of using RAM memory, it uses a SQL Table. That's why the name fakeCache :)
Read more

This application provides 3 ServiceActions:

  • fakeCache_Set
    • Inputs
      • TenantId
      • EspaceId
      • Key
      • Value
      • CacheInMinutes

  • fakeCache_Get
    • Inputs
      • TenantId
      • EspaceId
      • Key
    • Outputs
      • Value

  • fakeCache_Delete
    • Inputs
      • TenantId
      • EspaceId
      • Key


Timer

There is a timer called "fakeCacheDeleteExpired" used to delete all expired caches.

  • Default Schedule is Daily at 7am UTC


If you use the "fakeCache_Get" to retrieve a cache that is still present on the DB but it's expired, it won't be retrieved.


Service Actions

The actions available to be consumed are Service Actions, so even if your code is aborted after setting a cache, the cache will not be aborted and still exist.


Technical Details

For fast Read/Write, the only indexed column is the Primary Key "Key" column.

  • "Key" is a concatenation of TenantId_EspaceId_Key, so internally there is only a search by the PrimaryKey and that's it!


What’s new (1.0.0)
Reviews (0)
Related assets