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