Skip to content

PicoCache NSOperationQueue #4

@nobre84

Description

@nobre84

Hi! I'm having a heavy load on PicoCache class when querying webservice calls concurrently inside NSOperationQueue, is this normal ? Can it be improved ?
For example, when queuing 20 operations (with a max concurrent size of 5), I get around 5000 NSLog calls to PicoCache objectForKey method, and I can see in the callstack many blocked operations on the @synchronized block to access it.
Can you suggest a way to improve concurrency? What is exactly that is cached here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions