Skip to main content

All Questions

1 vote
1 answer
149 views

Background thread processing vs queue based processing for relatively short tasks (max 30-40 seconds)

I need suggestion / recommendation on the design approaches mentioned below. UseCase: I have a usecase where a client uses my system to generate some recommendations. Now, these recommendations are ...
Passion's user avatar
  • 19
0 votes
1 answer
85 views

Design a sequential processing of records

About 10 to 15 records are processed per day with the time interval of 5 minutes between each record. System A inserts a record in DB and sends id of that record to active mq. System B Listener ...
Jericho's user avatar
  • 119
0 votes
0 answers
38 views

Design a Program which Forwards Work Pieces to Corresponding Modules

I am working on a program that will listen to a queue of incoming message and will process each message differently depending on the metadata of that message. The messages must be processed in order ...
Conner's user avatar
  • 101
4 votes
0 answers
1k views

Architecture design for Java servlet that triggers work (for sending push notifications)

I'm designing a push notification server (for pushing notification via APNS and Google servers) and have come up with the following design for a Java based web application server. I would really like ...
John's user avatar
  • 41
1 vote
2 answers
238 views

Storm topology to handle "dating website"-like workloads

suppose im writing a dating website, similar to okcupid. there are profiles, and i need to compute the (N^2) "match" table - given every 2 profiles whats the match between them? I was thinking this ...
radai's user avatar
  • 203
3 votes
3 answers
4k views

Design a Queuing Solution with Clustering and Multiple Consumers

It is a Design Problem which I am listing out here. I have different set of business operations that are carried out for different business entities. Operations: Operation A Operation B Operation C ...
Abhishek's user avatar
7 votes
2 answers
2k views

Implementation of communication between packages (Java)

I'm making a project with 5 packages. The packages can communicate with each other by sending Messages to a central MessageQueue in the Main package and that MessageQueue takes care of all the ...
Aerus's user avatar
  • 173