-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP async get and get bulk * WIP Removing formatting for easy code review * WIP removing format changes * handle inmemory & retries * WIP get + get bulk with basic testing * update to retry method * WIP adding retry * nebula-publish.yml: add missing secrets for candidate release * WIP removing executor service from api from non blocking * WIP: timeout thread * split single wait thread * working version of GET * still working on the bulk * refactored version of get * working version of getBulk * disabling timeout * testing memory issue * add timeout slots for less readtimeout * review comments + adding more debug logs * adding more logs to debug timeout error * Bulk Async API with transcoder * fix for timeout * capturing timeout metrics for bulk * refactoring Co-authored-by: Sriram Rangarajan <srrangarajan@netflix.com>
- Loading branch information
1 parent
46ef3f3
commit 047e055
Showing
16 changed files
with
1,324 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
136 changes: 106 additions & 30 deletions
136
evcache-core/src/main/java/com/netflix/evcache/EVCache.java
Large diffs are not rendered by default.
Oops, something went wrong.
740 changes: 719 additions & 21 deletions
740
evcache-core/src/main/java/com/netflix/evcache/EVCacheImpl.java
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
evcache-core/src/main/java/com/netflix/evcache/dto/EVCacheResponseStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.netflix.evcache.dto; | ||
|
||
public class EVCacheResponseStatus { | ||
private String status; | ||
|
||
public EVCacheResponseStatus(String status) { | ||
this.status = status; | ||
} | ||
|
||
public String getStatus() { | ||
return status; | ||
} | ||
|
||
public void setStatus(String status) { | ||
this.status = status; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
evcache-core/src/main/java/com/netflix/evcache/dto/KeyMapDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.netflix.evcache.dto; | ||
|
||
import com.netflix.evcache.EVCacheKey; | ||
|
||
import java.util.Map; | ||
|
||
public class KeyMapDto { | ||
Map<String, EVCacheKey> keyMap; | ||
boolean isKeyHashed; | ||
|
||
public KeyMapDto(Map<String, EVCacheKey> keyMap, boolean isKeyHashed) { | ||
this.keyMap = keyMap; | ||
this.isKeyHashed = isKeyHashed; | ||
} | ||
|
||
public Map<String, EVCacheKey> getKeyMap() { | ||
return keyMap; | ||
} | ||
|
||
public boolean isKeyHashed() { | ||
return isKeyHashed; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.