- What is Redis? Mention one use case of Redis.
- What type of database is Redis and where does it hold its data?
- What is Websocket and what is it used for?
- Explain 3 use cases for CRON jobs.
- What are the 3 types of design patterns in Nodejs?
-
-
Save halitbatur/02a95934761f14b3ab4f6f0474964b87 to your computer and use it in GitHub Desktop.
Najwan Shawareb, Abdullah Alawad, Ramah Madi
Q1. Redis is an open-source (BSD licensed), in-memory data structure store used as a database, cache, message broker, and streaming engine.
Redis can be used to store metadata about users' profiles and viewing histories, authentication information/tokens for millions of users, and manifest files to enable CDNs to stream videos to millions of mobile and desktop users at a time.
Q2. Open-source (BSD licensed), in-memory data structure store.
Q3. WebSockets are a protocol for bi-directional, real-time communication between a client and a server over a single, long-lived connection. Unlike traditional HTTP requests, which are unidirectional and require a new connection for each request, WebSockets allow for continuous communication between the client and server.
Q4. Scheduled backups or data synchronization between different systems.
Regular system maintenance tasks like log rotation or database cleanup.
Periodic data aggregation or reporting tasks.
Q5. 1. the Factory pattern.
2. the Revealing Constructor pattern, the Builder pattern.
3. the Builder pattern.
Room 1: Yassin, Mohammad smadi, Musab, Belal
1. What is Redis? Mention one use case of Redis.
2. What type of database is Redis and where does it hold its data?
Redis is an open-source in-memory data store that works really well as a cache or message broker, It offers excellent performance, with the ability to quickly read and write data to memory.

An in-memory database is a type of database that stores data entirely in main memory (RAM) rather than on disk.
It can be used in cases where Real-time analytics are required, or in social media cases for ad personalisation.
3. What is WebSocket and what is it used for?
Websocket API is a realtime technology that's used to open a two-way interactive communication session between the user's browser and a server. it's like a constantly opened tunnel between two parties that can be used to pass data back and forth until one of the parties terminates the connection

4. Explain 3 use cases for CRON jobs.
5. What are the 3 types of design patterns in Nodejs?