Skip to content

Add static variable to reduce cache requests#4

Open
snezhig wants to merge 1 commit intowebarchitect609:masterfrom
snezhig:issue/get_class_mapping_cache_reduce
Open

Add static variable to reduce cache requests#4
snezhig wants to merge 1 commit intowebarchitect609:masterfrom
snezhig:issue/get_class_mapping_cache_reduce

Conversation

@snezhig
Copy link

@snezhig snezhig commented Oct 28, 2021

Сейчас постоянно запрашиваются данные из кеша, хотя по сути они и не меняются, но сам запрос оказывает влияние при больших нагрузках. Если вынести в память результат, то можно уменьшить время. Так же позволяет уменьшить трафик сети, который гуляет в случае, когда кеш у нас находится на другом сервисе.

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.

1 participant