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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:09:18+00:00 2026-05-27T20:09:18+00:00

So I’ve got this server application running on Google AppEngine that I want to

  • 0

So I’ve got this server application running on Google AppEngine that I want to migrate to node.js.

My main concern is building an API similar to the powerfull GAE’s blobstore/imageservice combinaison to host and serve the users uploaded pictures.

I’m really new to node.js and I’ve only read some documentations, viewed some video and played with node so far. I’d like to have some insight on what would be the best solutions to:

  • host the pictures
  • serve them through an efficient cache system

At the moment, I’m leaning toward redis to store and cache the pictures, I haven’t looked at all the node modules yet (there are quite a lot!).

What would be your architecture of choice for such an application?

  • 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-27T20:09:19+00:00Added an answer on May 27, 2026 at 8:09 pm

    Regarding the node.js infrastructure, you will probably want to use the express framework to build the application. I don’t know if you also require some image processing capabilities, but there is a node module to wrap the imagick library. It looks like an on-going development though – not sure it is already usable. Anyway, you absolutely need to avoid running any image processing code in the node single-threaded event loop.

    For the upload part of your application, I would start by looking at node-formidable or this question.

    Now for the storage itself, Redis is very efficient to store plenty of small objects, but not really designed to store large objects. Recent Redis versions are based on jemalloc which is a good general purpose memory allocator, but if you store large objects with Redis, it will generate some internal fragmentation. There is no memcached-like slab allocator in Redis.

    So I would not store the images themselves in Redis, but only metadata and their associated indexes (file path, owner, size, tags, etc …). Images will be better stored directly on the filesystem IMO. There is an excellent node-redis module to access Redis from node.js

    I’m not sure a cache is really required. If the images are stored on the filesystem, perhaps you can rely on the filesystem cache to avoid the I/Os. Node is quite good at delegating file operations to the libeio thread pool to avoid blocking the main event loop. I’m not really convinced caching image content with Redis would bring any benefit here. I would try the filesystem cache first, and investigate more complex caching only if needed.

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

Sidebar

Related Questions

I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I've got a string that has curly quotes in it. I'd like to replace
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I want use html5's new tag to play a wav file (currently only supported

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.