frostfs-node/pkg/services/container
Leonard Lyubich e738699fcc [#676] services/container: Cache the results of read operations
In previous implementation Container service handlers didn't cache the
results of `Get` / `GetEACL` / `List` operations. As a consequence of this,
high load on the service caused neo-go client's connection errors. To avoid
this there is a need to use cache. Object service already uses `Get` and
`GetEACL` caches.

Implement cache of `List` results. Share already implemented cache of Object
service with the Container one. Provide new instance of read-only container
storage (defined as an interface)to morph executor's constructor on which
container service is based. Write operations remained unchanged.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-08-30 18:01:26 +03:00
..
announcement/load [#723] container/announcement/storage: Map announcements by epoch and container id 2021-07-30 09:58:30 +03:00
morph [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
executor.go [#525] v2/container: Write session token from header to removal witness 2021-05-27 12:03:49 +03:00
response.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
server.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
sign.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00