Skip to content

Don't save avatars to filesystem #3

@davidyuk

Description

@davidyuk
  • writing and reading from the file system is much slower than the process's memory
  • writing to the filesystem in sync block handling of other requests until the writing is complete
  • if caching is necessary I would suggest storing image cache in memory using something like _.memoize or just to use caching on the level of nginx

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions