Criamos 2 subsistemas no Apache Ignite.
No artigo vou falar sobre sua arquitetura:
- Como o subsistema de métricas e o sistema visualizaram o subsistema.
- O que foi feito e o que vamos fazer?

Olá a todos! Meu nome é Nikolai Izhikov. Trabalho na Sberbank Technologies para desenvolver produtos Open Source.
Nota 1 : "concluĂdo" significa que essa funcionalidade está disponĂvel no Apache Ignite mestre , vocĂŞ pode criar e ver como funciona. A funcionalidade cairá na versĂŁo 2.8 Apache Ignite, que será lançada no inĂcio de 2020.

 2: , , Apache Ignite.

 3: 2.8, , - .
Apache Ignite in-memory . API: , , ( ), .

, - . : " , ? , , ." :
- ? — , , .
- ? — , , : , , , . , .
- ? — .
- ? — " " — ?
.
:
- .
- — , .
- . : , .
- : , , , , .
, . , , . :
- API : transaction manager, cache manager, etc.
- .- API: JMX, SQL, Java. API.
:
- : , ? . , , , - . , .
- «» : , API.
- : jmx, sql, http(Prometheus) , , .
- : , .
Open Source community . , Ignite Enhancement Proposal (IEP), , , API, .
:
Ignite : , . , . , . , Ignite . , Ignite — . — . (prometheus, zabbix) .
Ignite . Ignite : jvm, , , . Ignite . , .
: — .
: , data region', .. , , .
: io.dataregion.myregion.TotalAllocatedPages
— Data Region "myregion".
:
Metric
, Gauge
— .MetricRegistry
— (, ) .MetricExporterSpi
— .ReadOnlyMetricRegistry
— , exporter’-. read only access + listeners.GridMetricManager
— .
:
Metric
— . .
: LongAddterMetric
, DoubleMetricImpl
, ObjectMetricImpl
.Gauge
— . , Supplier. . , , .
: LongGauge
, DoubleGauge
, ObjectGauge
.HistogramMetric
— + . , .
: , 250 , 500 , 1 .HitRateMetric
— X .
: , .
MetricExporterSpi
— , . , . JMX, SQL, Log, OpenCensus.
GridMetricManager mmgr = ...;
MetricRegistry mreg = mmgr.registry("io.dataregion." + name);
LongAdderMetric replacedPages = mreg.longAdderMetric("PagesReplaced",
"Number of pages replaced from last restart.");
replacedPages.increment();
, " ?" .
.
System View — ?
— . system view, SQL. ( JMX).
SystemView
— (). : , , compute task', sql table . .SystemViewExporterSpi
— .ReadOnlySystemViewRegistry
— exporter'. read only access + listeners.GridSystemViewManager
—
:
- . , , - . .
- overhead. .
- . . .
: . java-. :
POJO. , . . . : reflection?
:
:
(SystemViewRowAttributeWalker.java), . . system view . .
ctx.systemView().registerView(CACHES_VIEW, CACHES_VIEW_DESC,
new CacheViewWalker(),
registeredCaches.values(),
CacheView::new);
ctx.systemView().registerView(CACHE_GRPS_VIEW, CACHE_GRPS_VIEW_DESC,
new CacheGroupViewWalker(),
registeredCacheGrps.values(),
CacheGroupView::new);
Reflection — , . dev-list JMH benchmark. reflection . walker . Walker 4 .
, " ?" .
- : , .
. - « » (prometheus, zabbix)
- . , . — .
- . Oracle , , : , , , .
- — Ignite , . . threshold «compute 30 », , .
- dev@ignite.apache.org
- user@ignite.apache.org
Venha! Temos quase uma comunidade de lĂngua russa, quase todos os colaboradores sĂŁo da RĂşssia, para que vocĂŞ possa ingressar com facilidade e contribuir com o cĂłdigo aberto.
Material com um asterisco Apresentação - https://www.highload.ru/moscow/2019/abstracts/6111
VĂdeo: