juspay/hyperswitch

[FEATURE] Add multiple insert and delete functionality for in-memory cache

開放

#2,373 建立於 2023年9月26日

 (13 則留言) (0 個反應) (1 位負責人)Rust (4,676 個分叉)batch import
A-frameworkC-featuregood first issue

倉庫指標

星標
 (42,690 顆星)
PR 合併指標
 (平均合併 6天 22小時) (30 天內合併 213 個 PR)

描述

Feature Description

There are few cases where we insert/delete multiple keys in the cache. So add a function where it takes multiple key values and insert and delete it in the cache.

Possible Implementation

struct CacheValues {
	inner: Vec<String>
}

We can have a struct like this and make modify enum CacheKind to accept CacheValues.

enum CacheKind {
	Accounts(CacheValues),
	.....
}

Have you spent some time checking if this feature request has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

None

貢獻者指南