Skip to content

Instantly share code, notes, and snippets.

@halitbatur
Last active December 7, 2021 15:51
Show Gist options
  • Save halitbatur/35c3999e0303d528ff5e82dc01976234 to your computer and use it in GitHub Desktop.
Save halitbatur/35c3999e0303d528ff5e82dc01976234 to your computer and use it in GitHub Desktop.
Redis, Cron job and websockets discussion questions

Redis, Websockets and cron Discussion

Write your answers in the comment section below:

  • 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?
@mkkasem
Copy link

mkkasem commented Dec 7, 2021

  • Fast, open-source in-memory data store for use as a database, cache, message broker, and queue.

  • it is a key-value database that holds the data in the memory(or RAM)

  • The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.

  1. sending birthday wishes for users on their birthday's
  2. check the availability of everything (internally + externally)
    3-backup databases on our cloud provider

-Creational - the creation of the object instances
Structural - the way the objects are designed
Behavioural - how objects interact with each other

@ eniz @ ceren @ yaman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment