ENG Meir Shpilraien Redis Labs RedisGears PiterPy
#############################
Video Source: www.youtube.com/watch?v=6SGWx5DtoCQ
Подробнее о конференции PiterPy: https://jrg.su/QZ6wK1 • — Ближайшая конференция: • PiterPy 2023 — 6–7 ноября (Online), 13–14 ноября (Санкт-Петербург, Offline) • Подробности: https://cutt.ly/7wrLeRCf • — Ближайшая конференция: • PiterPy 2022 — 18–19 октября (Online), 28 октября (Offline) • Подробности: https://bit.ly/3OltsxO RedisGears • — — • Redis is an in memory, key-value, database written in C. The main advantages of Redis are performance, simplicity and extensibility. It introduces some common datatypes (like Strings, Hashes, Lists) and allows you to query the data using simple commands like GET/SET which retrieve the exact key you were asking for or allowing single key in-place update • One shortcoming of Redis is that it does not support cross-key/cross-shards aggregation queries, while there are several use-cases in which users might want to e.g count how many times a property appears in subset of all hashes or group by some value and return a unique count. • In order to achieve these things a user usually has three patterns he can use: • Retrieve all the data from the Redis and run the aggregation on the client side. • Analyze the data by another system like spark/hadoop and perform those queries there. • Use Redis embedded Lua capabilities and write some lua code that performs the aggregation on the server side. • The first and the second option require moving all the data over the network. While the third option is good for a single Redis server, but it does not support clustering and requires writing a Lua script which is not a common programming language that most engineers/data scientists are familiar with. • In the last couple of months we, at Redislabs, developed a new programming module called RedisGears. RedisGears utilizes an embedded python interpreter to allow the users to run their Python based Map-Reduce on Redis. The API allows to the user to perform aggregation queries on all or part of the data by defining python lambda functions that will be executed on all or part of the data in Redis. • RedisGears uses an internal CPython C API like sub-interpreter and GIL handling to allow environment distinction between different Redis clients executions. In addition RedisGears uses the CPython API to expose inner Redis capabilities via a Python script (like command execution and internal modules integration). • Last, following the Streams support in Redis,it also supports Streaming API processing, allowing the user to trigger a Python based execution plan on a Stream event. • ++++++++++++++++ • Meir Shpilraien • Tel Aviv, Israel • Software Architect • Redis Labs • • I hold an MSc. in computer science from the HUJI, major in distributed algorithms. • I am currently working as a Software Architect at Redislabs, working on both the enterprise and the open source products as part of the CTO research group. Before Redislabs I worked on developing massive big data systems using advance technologies like Hadoop, Spark and Redis. • • ++++++++++++++++ • • PiterPy 2019 • https://piterpy.com/ • • Follow us • Vk: https://vk.com/piterpy • Facebook: / piterpyconf • Twitter: / piterpy • Instagram: / piterpyconf • Telegram channel: https://t.me/PiterPy_channel • • • #PiterPy • • • ++++++++++++++++ • • • SILVER SPONSOR • DELLEMC • https://russia.emc.com/campaign/centr... • • • SILVER SPONSOR • SELECTEL • https://selectel.ru • • • SILVER SPONSOR • WARGAMING • https://ru.wargaming.net/ • • • SILVER SPONSOR • CINDICATOR • https://cindicator.com/ • • • SILVER SPONSOR • EPAM • https://www.epam-group.ru/ • • • ++++++++++++++++ • • • ORGANIZERS • • • IT-Events • http://it-events.com • • • IT-Dominanta • http://www.it-dominanta.ru
#############################