Skip to content
This repository has been archived by the owner on Jun 12, 2018. It is now read-only.

Cache contact look up in contact resource. #1291

Open
hodgestar opened this issue Jun 3, 2015 · 3 comments
Open

Cache contact look up in contact resource. #1291

hodgestar opened this issue Jun 3, 2015 · 3 comments

Comments

@hodgestar
Copy link
Contributor

Currently the Javascript sandbox does an index query for every contact look up. We should cache the lookup of the contact key from the address in Redis so that we can avoid the index query.

@hodgestar
Copy link
Contributor Author

Not completely convinced that this is our bottleneck. Trying praekeltfoundation/vumi#947 first.

@hodgestar
Copy link
Contributor Author

Closing this for now as the static_reply application seems to have similar performance issues and it doesn't look up contacts at all.

@hodgestar
Copy link
Contributor Author

It looks like this might still be worth pursuing. Static reply doesn't perform great, but dialogues with contact look ups do still cause Riak a lot more trouble. Re-opening for consideration.

@hodgestar hodgestar reopened this Jun 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant