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

  • Home
  • SEARCH
  • 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 1001869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:44:36+00:00 2026-05-16T07:44:36+00:00

I have a database table having HTML content stored as binary serialized blob. I

  • 0

I have a database table having HTML content stored as binary serialized blob. I need to retrieve content one by one, look for certain keywords in the content (and report the matches found) and also save the content to the disk as HTML files. Can I parallize this using Parallel.ForEach? Is this a good Idea or there is a better one.

Thanks in advance for help,
Ashish

  • 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-16T07:44:36+00:00Added an answer on May 16, 2026 at 7:44 am

    I would suspect that if you can pull a set of rows out of the database in one query and processed each in parallel looking for keywords, and then saving the batch back to disk in a single step, you’d see significant benefits. If you are selecting one by one and processing them in a linear fashion, you’ll see minimal benefits from doing things in parallel.

    I think you’ll just have to try it both ways and measure the difference to see if it really works for you. Obviously, it will make not difference on a single core machine but an 8 core machine only processing two files may also not see any significant benefits, unless the key word search takes a long time per file, then doing them in parallel gets beneficial again. 🙂 I think your best bet is to try a couple different spikes on the various techniques and figure out what is best for you and your situation.

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

Sidebar

Ask A Question

Stats

  • Questions 503k
  • Answers 503k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The weblogic-application.xml should be packaged in the META-INF directory of… May 16, 2026 at 2:51 pm
  • Editorial Team
    Editorial Team added an answer If you run your program, then following is the output:… May 16, 2026 at 2:51 pm
  • Editorial Team
    Editorial Team added an answer As far as i know, the file should be named… May 16, 2026 at 2:51 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I have a table having data. id type 1 max 1 sam 1 rom
I have rows in an Oracle database table which should be unique for a
I have a database, with every users having a schema. Is there a way
I have an ssis package that imports a view from one database into different
I am having difficulties when trying to insert files into a SQL Server database.
I am having a problem with FCKeditor reverting html entities entered in the source
I am having a very weird problem with building a SQL Server 2008 Database
On a page I am working on, I have several distinct pieces of PHP,
Let's assume, for instance, an xHTML document as below: <html> <head> </head> <body> <div
I'm not sure how to best explain this so I have linked to a

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.