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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:12:54+00:00 2026-06-01T17:12:54+00:00

So, let me explain it better, I’m pretty sure the title doesn’t says much.

  • 0

So, let me explain it better, I’m pretty sure the title doesn’t says much.

I’m in charge of doing some improvements on the company system. Now the system saves the current image, as a file, and insert into the database the path of the image.

Then, what’s the problem if it works? Well, if the server gets a lot of images being inserted all the time, the server will need some improvements, so my first thought was, why don’t I save the image data to the database and load it through ajax call? That’s nice, it won’t make the server overload from lots of gigabytes from the images, won’t have problems with duplicates and such, but when I call the ajax method from jQuery, the data sent to the server side is via query string and if the data is higher than 6000 characters, like most are when I use base64 encoding, I can’t call the method.

My other thought was, send the image to the server side and then generate the data to save to the database, and when the user wants to see the image, the server transform the data to an image and sends to the client side. But the problem is, there are lots of users for this system, and sending/receiving lots of images will make the server get memory problems due to the high amount of requisitions.

So to make long story short, what is the best way to send/receive images from client to server and the opposite without overloading the server capacity.

P.S.: Sorry for the long post, I wanted to make a clear question.

Thanks in advance.

  • 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-06-01T17:12:55+00:00Added an answer on June 1, 2026 at 5:12 pm

    The server will overload even more storing the images in the DB. Most web servers serve static files (like images) very efficiently.

    You have to think more about the problem before trying to solve it:

    • Is your problem bandwidth overload? Try resizing the images client side before upload (you can use tools like PlUpload). If you can’t, at least resize them server side to serve them smaller and save on download bandwidth

    • Is your problem harddrive space overload? Again, resize the images client o server side.

    • Is your problem CPU overload? Try to determine the root code that is the cause of the spikes. Be aware that lots of requests will cause high CPU, and you might need a more beefy server (or another webserver)

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

Sidebar

Related Questions

Let me better explain this title. What I am looking for is an image
Yeah, looks insane, but let me explain better. When in Jquery we use for
First, let me explain what I am doing. I need to take an order,
Alright so let me explain what I'm doing and then I have a couple
So let me explain my problem a little better now (please reopen this question).
Ok so first let me explain what I am doing: I am trying to
Let me explain better than what the question state. I dynamically generate a KML
Let me explain: this is path to this folder: > www.my_site.com/images And images are
let me explain my current situation i have a SharePoint site lets say it
Let me explain. Suppose I want to teach Python to someone who only speaks

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.