frostfs-node/pkg/services
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
..
accounting [#521] *: use stdlib errors package 2021-05-19 16:42:54 +03:00
audit [#607] *: Do not use deprecated elements of code 2021-06-28 15:52:50 +03:00
container [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
control [#607] services/control: Fix incorrect allocation in NetmapSnapshot 2021-06-28 15:52:50 +03:00
id [#11] Trim the old functionality 2020-10-02 11:22:55 +03:00
netmap [#660] services/netmap: Don't call IsSupportedVersion in LocalNodeInfo 2021-07-05 11:05:44 +03:00
object [#768] object/acl: Support all eACL filter fields from the spec 2021-08-26 19:01:03 +03:00
object_manager [#607] *: Do not use deprecated elements of code 2021-06-28 15:52:50 +03:00
policer [#715] services/policer: Select pseudo-random list of objects to check 2021-08-25 14:40:12 +03:00
replicator [#607] object/put: Make client constructor to work with group address 2021-06-28 15:52:50 +03:00
reputation [#607] reputation,container: Support address groups in ServerInfo 2021-06-28 15:52:50 +03:00
session [#562] pkg: remove nspcc-dev/neofs-crypto dependency 2021-06-15 14:49:59 +03:00
util [#643] pkg: Sync method names and commentaries to them 2021-06-24 16:10:44 +03:00