Apache Igniteand Apache Spark - events.static.linuxfound.org · Apache®, Apache Ignite, Ignite®,...

Preview:

Citation preview

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DenisMagdaGridGain ProductManager

ApacheIgnitePMC

ApacheIgnite andApacheSparkWhereFastDataMeetstheIoT

http://ignite.apache.org #apacheignite #denismagda

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Agenda• IoT DemandstoSoftware• IoT SoftwareStack• DeviceOS/RTOS• DataCollectionandEnrichment• HTAPPlatform• ApplicationAPIs

• Demo

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT DemandstoSoftware

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT DemandstoSoftware• Real-timeingestion• Real-timeprocessing• Time-seriessupport• FlexibleQueryingAPIs– SQL– Full-textsearch– Geo-spatial

• Analytics– BI– MachineLearning

• High-availability• Simplescalability

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

IoT SoftwareStack

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAP Platform

Data Collection and Enrichment

Device OS / Real-Time OS

Application APIs

IoT SoftwareStack

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAP Platform

Data Collection and Enrichment

Device OS / Real-Time OS

Application APIs

ApacheIoT SoftwareStack

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DeviceOS/RTOS

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheMyNewt• OpenSourceRTOS– CortexM0-M4– MIPS&RISC-V

• Networking– BluetoothLowEnergy– Wi-Fi– TCP/IP&UPD

• Build&PackageManagement• Securebootloaderandsigned

images• RemoteFirmwareUpgrade

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DataCollectionandEnrichment

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

DataCollectionandEnrichment• SparkStreaming– Fault-TolerantStreams

Processing• DataCollection– Sockets– Kafka– Flume

• DataEnrichment– SparkAPI

• DataStorage– ApacheIgnite

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

HTAPPlatform

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

UseCase: Smart Metering and Utilities – delivers a comprehensive IOT platform

50+ Million Meters

• SilverSpringRequirements– Migratetoin-memoryprocessing– Addscalability&elasticity– Useopensourcetechnologies

• SilverSpring Solution– SaaSArchitecture

• Multi-Tenancy• AdvancedSecurity

– Strongcomputecapabilities• Co-locatedin-memoryprocessing

– Demonstratedbest• On-demandelasticity&scalability• ANSI-99SQLSupport• Transactionalconsistency

GridGainSecurity

SilverSpring IoTPlatform

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteIn-MemoryDataFabric

• Supports Applications of various types and languages

• Open Source – Apache 2.0• Simple Java APIs• 1 JAR Dependency• High Performance & Scale• Automatic Fault Tolerance• Management/Monitoring• Runs on Commodity Hardware

• Supports existing & new data sources• No need to rip & replace

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

In-MemoryDataGrid• DistributedKey-ValueDataStore

• DataReliability• High-Availability– Activereplicas,automaticfailover

• DataConsistency– ACIDdistributedtransactions

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

In-MemoryDataGrid:Partitioning

PartitionedCache ReplicatedCache

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

StreamingtoIgnite• IgniteDataStreamer– FastestDataInjection– Automaticdatapartitioning

• StreamReceivers– Customlogicexecution– Additionaldatatransformation

• StreamAdapter– Socket– Kafka– Flink– RocketMQ– etc.

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApplicationAPIs

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteSQLGrid• ANSI-99SQL• Geo-spatialQueries• Full-textSearch• AlwaysConsistent• FaultTolerant• Cross-Platform– JDBCandODBCdrivers– DML(INSERT,UPDATE,etc.)– DDL(CREATE,DROP,etc.)

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteSQLGrid:Queries• DistributedJoins• AutomaticGroupBy,Aggregations,Sorting

• Cross-CacheJoins,Unions,etc.• Ad-HocSQLSupport

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ApacheIgniteComputeGrid• DirectAPIfor

MapReduce• DirectAPIforForkJoin• ZeroDeployment• StateCheckpoints• LoadBalancing• AutomaticFailover

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

SparkSharedRDDs• IgniteRDD– ShareRDDacrossjobson

thehost– ShareRDDacrossjobsin

theapplication– ShareRDDglobally

• FasterSQL– In-MemoryIndexes– SQLontopofSharedRDD

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

MachineLearningGrid

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Demo

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

Resources• Documentation:– ApacheIgnite:https://apacheignite.readme.io/docs– ApacheSparkStreaming:http://spark.apache.org/streaming/– IgniteandSparkIntegration:https://apacheignite-

fs.readme.io/docs/ignite-for-spark– ApacheMyNewt:http://mynewt.apache.org

• DemoSourceCode:– https://github.com/dmagda/IgniteSparkIoT

Apache®,ApacheIgnite,Ignite®,andtheApacheIgnitelogoareeitherregisteredtrademarksortrademarksoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.

ANYQUESTIONS?Thankyouforjoiningus.Followtheconversation.

http://ignite.apache.org

#apacheignite #denismagda

Recommended