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 7514687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:34:30+00:00 2026-05-30T00:34:30+00:00

I’m trying to change my current application to scale. It can currently handle at

  • 0

I’m trying to change my current application to scale.

It can currently handle at most a few million events per hour but the volume is expected to grow 10 to 100 times fold as I switch to a SaaS model, so it is important to be able to execute the processing in a distributed fashion.

The app is a web application receiving at peek currently 1.2 million events/hour. It is using 2 Tomcat servers, each listening on 500 threads and a workManager to queue the events and will then spawn a couple of hundred worker threads to postprocess the events.

What I’m trying to do is decoupling the writing from processing and move the processing to a distributed environment.

  1. Fast write to the disk the events.

    Here the solution can be as simple as writing to a LinkedBlockingQueue and dump batches of hundred, thousand of entries to a file or use a good library that does this already or tune the database to support this type of queueing in a reasonable fashion.

    Failing to capture the last events if the system becomes unavailable is not paramount, the focus is performance when the server is working.

  2. Move the event processing to a distributed system.

    I need to move the data to a distributed system (e.g. HDFS). What other options are there?

    The processing is of medium complexity (e.g. some of the complexity is in a self-join generating a frequent itemset and further filtering down this set, other parts involve aggregating data across multiple hierarchies). I currently use a database (MySql & DB2) and thinking about Hadoop. Any other options?

  3. Store the results in a readonly fast read system.

I am currently using SOLR, any better options?

I know the question spawns multiple topics, any input is appreciated. Let me know if there’s a better tag I could use.

Thanks!

Sebi

  • 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-05-30T00:34:31+00:00Added an answer on May 30, 2026 at 12:34 am

    The best system today, capable of both insertions and queries – indeed is RDBMS. But it is not scalable. NoSQL systems are not scalable because they built better, but because they gave up something..
    Let see what can be built from them.
    Both HBase a Cassandra are built specially to translate random events insertion to sequential disk IO. In other words – they are write optimized system and you can consider them as perfect distribtuted database index. So you can get to any insertion rate you need by adding more nodes

    Regarding joins and aggregations is a problematic point there.
    If you will succeed to design your key in the way that data to be aggregated is collocated – data can be pulled and aggregated efficiently.
    Joins is also problematic but there is an option to write data already prejoined. You should do it in application level.
    For more complex processing you will need to resort to MapReduce but it probabbly will affect insertion rates.
    DataStax’s Brisk sounds like good for your case since it has Cassandra preintegrated with the MapReduce with the capability to run MapReduce right over Cassandra Data. It also has capability to reduce MapReduce affect on the OLTP part of the story.

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

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want use html5's new tag to play a wav file (currently only supported
I am currently running into a problem where an element is coming back from
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to render a haml file in a javascript response like so:

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.