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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:48:23+00:00 2026-05-17T22:48:23+00:00

I have an application that involves logging the status of up to 8000 devices

  • 0

I have an application that involves logging the status of up to 8000 devices every 1-2mins via a java application, and storing the deviceid, time, and status in a table in the database.

The next component of this application, is a PHP interface which displays the most recent status of these devices (ones that are assigned to the user logging in, there may be at max 500 concurrent users ie viewing 16 devices each, but more than likely an average load of 50-100 users). The application will also print reports on the status over time of the device.

I was considering using memcached in the java application to store the most recent status for each deviceid, and then having the php application just access the memcached to populate the display. The reports on previous status would still come off the database as they are run infrequently.

My confusion has come about in deciding whether it would be performance worthy to write memcached in to this application, as the performance of memcached is apparently realised with mutliple hits per cache update. This application would likely have multiple updates (however pushed directly from the app, not the db), per cache read. But would save reads on a reasonably sized (2-3gb) status table.

Also, is there any interoperabilty issues writing/reading to memcached from different languages API’s?

  • 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-17T22:48:24+00:00Added an answer on May 17, 2026 at 10:48 pm

    You probably already have an effient multi-language chaching mechanism built into your RDBMS!
    Its unlikely that can improve by much the caching and concurency mechanisms built into your database system. Your time would be better spent tuning your SQL to ensure it takes maximum advantage if these mechinisms. (Ensuring concurrency settings in SELECT allow “dirty reads”, keeping units of work (the processing between BEGIN TRANSACTION and COMMIT) as short as possible etc. etc.).

    As per comment on INNODB the following command:-

    set transaction isolation level read uncommitted;
    

    will allow you to read any inserted rows beofre they are committed
    and will totally igonore any locking and concurrency. This would boost
    you performance without causing you any problems as the Java half of
    the application is inserting only.

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

Sidebar

Related Questions

I have a Java application that is managed using Maven. The project involves the
I have application that brings response via Ajax and creates 5-20 new jQuery click
We have application that involves C++ socket server, Flash client that communicates with C++
Given an application that involves, say, Companies, I might have a Company class. I
So I have an Application that involves sending emails through an API. What I
I have a Windows Form application that involves two Forms. The child form is
Im working on a java application that involves threads. So i just wrote a
I currently have a client-server application that involves a Silverlight client and a .NET
I'm writing an application that involves having users enter time's in the following format:
I have just been involved in writing an application that does not use Doctype's

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.