Presentation is loading. Please wait.

Presentation is loading. Please wait.

HOL (Hands-on Lab) | Session ID: HOL10286

Similar presentations


Presentation on theme: "HOL (Hands-on Lab) | Session ID: HOL10286"— Presentation transcript:

1 HOL (Hands-on Lab) | Session ID: HOL10286
Highly Loaded Server-Side Multitask Management Systems Based on Java and Redis Ivan Dubynets Softarex Technologies Inc, Head of Department Vladislav Medvedovsky Softarex Technologies Inc, Head of Department Softarex

2 In presentation Server-Side Multitask Management Systems Based on Java and Redis overview Typical architecture of applications based on Redis and Jesque library Practices Preparing development environment Developing first task and worker Review general ways how to get results back from workers Conclusion

3 What is Redis? Redis is a data structure server. It is open-source, networked, in-memory, and stores keys with optional durability. According to the monthly ranking by DB-Engines.com, Redis is the most popular key-value database. Redis has also been ranked the #1 NoSQL (and #4 database) in User Satisfaction and Market Presence based on user reviews The most popular NoSQL database in containers and the #2 NoSQL among Top 50 Developer Tools & Services The name Redis means Remote Dictionary Server

4 When and where use Redis?
When use Redis: Need scalable SaaS system Need control many services Need store and retrieve data pretty fast Examples of tasks where can be used Redis: System for data and devices management in IoT and Industry 4.0 systems Data processing systems for intensive multitask data processing and storing, for example source code analysis system codeNforcer.com Multimedia content storage and distribution for e-learning, healthcare, etc

5 Server-Side Multitask Management Systems Based on Java and Redis overview

6 Typical architecture of applications based on Redis and Jesque
Client Tasks Redis Java Worker Python Worker C++ Worker

7 Practices

8 Preparing development environment
jdk 1.8 gradle Netbeans IDE 8.2 Redis server 2.9 or later git client

9 Getting started clone project template
git clone build project ./build.sh run client ./runClient.sh run server ./runServer.sh

10 Developing first task and worker

11 General steps how to get results back from workers
Save result to the Redis Push notification by using Redis Pub/Sub feature Use worker->client callback call over your favorite protocol like TCP, HTTP etc

12 Conclusions In our lab we have reviewed the typical architecture of applications based on Redis and Jesque library. We figured out how to create simple workers and tasks. We also developed several ways how to return results back from the workers. Example of code can be downloaded here:

13 Thank You for Your Attention
Softarex Technologies, Inc. Headquarters 901 N. Pitt Street, Suite 320 Alexandria, VA 22314, USA Tel: +1 (703)


Download ppt "HOL (Hands-on Lab) | Session ID: HOL10286"

Similar presentations


Ads by Google