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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:49:44+00:00 2026-05-30T08:49:44+00:00

I have little JAVA coding experience (some classes at university) but none in the

  • 0

I have little JAVA coding experience (some classes at university) but none in the area of data collecting.

I want to monitor all the messages send on a CAN bus & store these temporarily to filter them afterwords so I can isolate some specific messages.

This means I have to store a maximum of 17543 messages of 1 byte every second. I would like to store – at least – a couple of tens of seconds.

What the best way to do this?

Can I just store all of these in an array?
Would it be better to use a database (such as Hibernate)?

I know this is rather open-ended but I would like to get an idea of what’s possible and what’s the best direction to handle this.

  • 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-30T08:49:45+00:00Added an answer on May 30, 2026 at 8:49 am

    So, you get (at most) 17,543 messages per second, each of which is only 1 byte, and you’ll want to store a couple of tens of seconds?

    That’s not a lot of data, and you can easily store that in an array in memory. Suppose you want to store the messages of 1 minute, that would be 17,543 x 60 seconds = less than 1 MB of data. That’s peanuts on modern computers. A database would be overkill.

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

Sidebar

Related Questions

I have a little Java problem I want to translate to Python. Therefor I
I want to have a java app running, using a function/method (with as little
With C++ and C# experience and some little Java knowledge I'm now starting a
I have little (<1 year professional) experience with Perl Groovy/Java I have limited (<2
I am veteran server side java developer. I have little experience in client web
I have a little Java applet game where you can choose between some themes.
In our infrastructure, we have lots of little Java projects built by Maven2. Each
I have been programming in C# and Java for a little over a year
I have little knowledge of Flash but for a little Flash game I have
i have little problem with boost::asio library. My app receive and process data asynchronously,

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.