Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Avoid allocating a session unless we need it#6

Merged
Stebalien merged 1 commit intomasterfrom
feat/avoid-alloc-sess
Sep 17, 2018
Merged

Avoid allocating a session unless we need it#6
Stebalien merged 1 commit intomasterfrom
feat/avoid-alloc-sess

Conversation

@whyrusleeping
Copy link
Copy Markdown
Member

A while ago we tried using sessions for the gateways fetching code. It killed our memory usage, as we were allocating a session for every single little fetch, even if we already had it cached locally.

Sessions will still take a solid hunk of memory, and we should work to address that separately, but this should help.

@ghost ghost assigned whyrusleeping Sep 16, 2018
@ghost ghost added the status/in-progress In progress label Sep 16, 2018
@Stebalien Stebalien merged commit 19ff679 into master Sep 17, 2018
@ghost ghost removed the status/in-progress In progress label Sep 17, 2018
@Stebalien Stebalien deleted the feat/avoid-alloc-sess branch September 17, 2018 23:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants