Skip to main content

Questions tagged [producer-consumer]

0 votes
1 answer
63 views

I am building a consumer application that reads messages from a queue and runs basic sanitization and deduplication and persists them to an RDBMS. The functional requirements are messages must not be ...
Sujal Mandal's user avatar
1 vote
1 answer
584 views

I have a segment of customers which may range between 1 and 5000. For each customers, I need to do some processing by making some query to the database using the data from the customer. The query is ...
w1am's user avatar
  • 121
4 votes
1 answer
2k views

I have a classical one producer - multiple consumers queue, each item can be processed independently. On rare occasions (<1%) there can be multiple queue items related to the same object the ...
Dmitry Streblechenko's user avatar
0 votes
0 answers
57 views

Lets say we have a server getting upto 1000 requests per second, serving them at p99 of 20ms (strong business case for not increasing this latency). The server gc parameters have been carefully tuned ...
AzureMinotaur's user avatar
3 votes
1 answer
4k views

I have a relatively simple task where I need some 10 consumers to consume work to be produced into a queue, continuously. This is my first time implementing this design pattern, so I have been ...
Veverke's user avatar
  • 541
1 vote
1 answer
326 views

I am trying to implement a distributed version of multi-producer/1-consumer for a critical-mission system. I'm looking for good alternatives to the current approach based on RDBMS. The problem The ...
Luiz Doleron's user avatar
1 vote
1 answer
62 views

I have a system in which some data is inserted into database. Whenever that data is inserted subscribers should be notified about that (it doesn't have to happen just after inserting, but there is a ...
Witos's user avatar
  • 111
1 vote
1 answer
869 views

I saw some books on operating system concepts mention the producer-consumer problem in the context of synchronizing concurrent accesses to shared resources. All seem to be in shared memory ...
Tim's user avatar
  • 5,555
5 votes
2 answers
1k views

Design Data Intensive Applications says Batch processing systems (offline systems) Chapter 10 A batch processing system takes a large amount of input data, runs a job to pro‐ cess it, and ...
Tim's user avatar
  • 5,555
5 votes
2 answers
3k views

I am reading Kafka, the definitive guide and I came across the below point for consumers. heartbeat.interval.ms must be lower than session.timeout.ms, and is usually set to one-third of the timeout ...
Ramya B's user avatar
  • 59
1 vote
0 answers
30 views

I am currently using RabbitMQ to aggregate the output of various data sources. Functionally the process is the following: The user enters a product name. The request is sent to the different sources ...
ulrich's user avatar
  • 119
0 votes
0 answers
104 views

I have a simplified producer/consumer pattern implemented below. The code outputs: "A" 1 second delay "B" 1 second delay "A" 1 second delay "B" ... What approach ...
AlanWakeUp's user avatar
1 vote
2 answers
1k views

I have a system where a user uploads a file to import some users but it's necessary to do some validations and this take some time. I would like to create a work queue with RabbitMQ and the user will ...
melpin's user avatar
  • 11
2 votes
3 answers
4k views

Lets say I am building an application where clients can book bus tickets. The only thing they do is select, origin, destination and the type of service (express or standard). The system will then book ...
masber's user avatar
  • 327
1 vote
1 answer
389 views

I want to build a middleware system that my company can use and expand on to handle the integration points between our various bespoke and 3rd party systems as well as our hosted websites. I am ...
Lock's user avatar
  • 379

15 30 50 per page