Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8512859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:23:47+00:00 2026-06-11T04:23:47+00:00

Say I have 100 requests coming in every second and for each query, a

  • 0

Say I have 100 requests coming in every second and for each query, a hash value needs to be extracted and then, the same hash needs to be updated sort of like:

redis.hget ‘value’, ‘user-123’
redis.hset ‘value’, ‘user-123’, JSON.generate({:number_of_visits => 15})

What happens if there’s a ton of read\writes per second?

Will redis just queue up both the hget and hset commands and they’ll all execute in order they came in? Will it slow down the hgets the more commands come in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T04:23:48+00:00Added an answer on June 11, 2026 at 4:23 am

    Redis uses a single thread to process commands, so the commands will be processed in the order they arrive.

    Some docs here,

    At its roots, Redis is a single-threaded server. This means that a
    single thread reads incoming connections using an event-based paradigm
    such as epoll, kqueue and select. When a specific event occurs on a
    file descriptor, it processes them and write back responses. This UML
    sequence diagram shows how a command received by a client is processed
    internally by Redis:

    If you send commands at a rate faster than redis can handle them, the commands will queue in redis, and the clients will see increase latency, as they wait for their commands to be dequeued and processed. This will affect both hset and hget commands.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lets say I have 100 servers each running a daemon - lets call it
Say I have the following similarity matrix : matrix = [[100.0, 66.666666666666671, 61.539999999999999, 59.260000000000005,
Say you have an IP address: 74.125.45.100 so its A.B.C.D Is there a way
Say I have real, dimension(0:100) :: realResults and I want to iterate over realResults
Say you have a MySQL 5.0 MyISAM table with 100 million rows, with one
Lets say I have a range between 0 and 100 and I want an
Lets say I have a simple ecommerce site that sells 100 different t-shirt designs.
Let's say we have layer0 with opacity 100%, and layer1 with opacity 50%, layer1
Let's say I have a text file that is 100 lines long. I want
Lets say I have two tables tblA ( tableAID INT IDENTITY(1,1), foo VARCHAR(100)) tblB

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.