Skip to content

[Pluggable storage] splits cache, consumer & producer methods - #20

Merged
EmilianoSanchez merged 3 commits into
pluggable_storage_wrapper_adapterfrom
pluggable_storage_splits_cache
Apr 29, 2021
Merged

[Pluggable storage] splits cache, consumer & producer methods#20
EmilianoSanchez merged 3 commits into
pluggable_storage_wrapper_adapterfrom
pluggable_storage_splits_cache

Conversation

@EmilianoSanchez

@EmilianoSanchez EmilianoSanchez commented Apr 26, 2021

Copy link
Copy Markdown
Contributor

Javascript commons library

What did you accomplish?

  • Added Splits cache for pluggable storage. Implemented both consumer and producer methods.
  • Updated the evaluator, to handle rejected promise results when using async storages (InRedis & Pluggable).
  • Updated the return type of removeSplit(s) methods for consistency. It implied a few updates on InMemory and InLocal splits caches.
  • Other refactors in key builder, metadata builder, etc, to reuse code.

How do we test the changes introduced in this PR?

  • Added unit tests for the splits pluggable storage.

Extra Notes

@EmilianoSanchez
EmilianoSanchez changed the base branch from pluggable_storage_baseline to pluggable_storage_wrapper_adapter April 26, 2021 22:19

@emilianofant-split emilianofant-split left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've found some small details that we could discuss later.

Comment thread src/evaluator/index.ts
Comment thread src/storages/inRedis/SplitsCacheInRedis.ts Outdated
Comment thread src/storages/inRedis/SplitsCacheInRedis.ts Outdated
Comment thread src/storages/inRedis/SplitsCacheInRedis.ts Outdated
Comment thread src/storages/pluggable/SplitsCachePluggable.ts Outdated
Comment thread src/storages/pluggable/SplitsCachePluggable.ts
Comment thread src/storages/pluggable/SplitsCachePluggable.ts
Comment thread src/storages/pluggable/SplitsCachePluggable.ts Outdated
Comment thread src/storages/pluggable/SplitsCachePluggable.ts Outdated
Comment thread src/storages/pluggable/SplitsCachePluggable.ts Outdated
@EmilianoSanchez EmilianoSanchez changed the title [Pluggable storage] splits cache [Pluggable storage] splits cache, consumer & producer methods Apr 28, 2021
@emilianofant-split
emilianofant-split self-requested a review April 28, 2021 18:32

@emilianofant-split emilianofant-split left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@EmilianoSanchez
EmilianoSanchez merged commit ee05fe5 into pluggable_storage_wrapper_adapter Apr 29, 2021
@EmilianoSanchez
EmilianoSanchez deleted the pluggable_storage_splits_cache branch April 29, 2021 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants