India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudRegional newspaper publishingManufacturing & Industrial

Regional newspaper refactors its e-paper builder and cuts publishing to 40 minutes

Marathi daily with 9 city editions and 1.2 million e-paper readers · Pune and Nagpur, India · 10 weeks

Amazon Web Services
01

As-is situation

Every night a Java 8 batch program on one physical server converted page PDFs from the layout desk into e-paper images and article crops for nine editions. It used a lock file on a shared drive to stop two runs at once, wrote outputs to local disk, and FTP'd them to the web server. When a late page came in after a cricket result, editions were rebuilt one by one, often pushing e-paper availability past 6 a.m. Subscribers complained on social media.

  • A shared-drive lock file made the job single-threaded across nine editions.
  • Java 8 with a deprecated imaging library blocked OS upgrades.
  • Late page changes forced full rebuilds, delaying e-paper by up to 3 hours.
02

Approach, tools and architecture

NTSPL agreed a change list of nine items. The batch was split per edition, not redesigned: each page upload to Cloud Storage now publishes a Pub/Sub message, and a Cloud Run job processes that page only. The lock file was replaced with idempotency keys per page version in Firestore. The runtime moved to Java 17 with a maintained imaging library. Outputs go directly to Cloud Storage behind the existing CDN path, so the website code did not change. Layout desk workflows stayed the same.

Layout desk PDF → Cloud Storage → Pub/Sub → Cloud Run job per page → Firestore idempotency → Cloud Storage output
Cloud Run jobsPub/SubCloud StorageFirestoreCloud Logging
03

Implementation approach

Weeks 1-2 · Change listAgreed nine items and recorded outputs for 30 past editions.
Weeks 3-8 · SprintsDelivered the items in three sprints with image-diff parity tests.
Weeks 9-10 · CutoverRan old and new pipelines in parallel for five nights, then switched.
04

Measured results

Full nine-edition publish time
3 hours→40 minutes
Single late-page republish
20-35 minutes→Under 2 minutes
E-paper available by 6 a.m.
71% of days→99% of days

Operational improvements

  • The night desk can republish one page without an IT call.
  • No physical server remains for the e-paper pipeline.
05

Cost considerations

Cloud Run jobs run only when pages arrive, about two hours a night, so compute cost is under INR 25,000 a month. The main cost was refactoring effort; the Java 17 upgrade took 35% of it because of the imaging library swap.

06

Return on investment

ROI indicator

Earlier e-paper availability supports subscription renewals and the 6 a.m. digital ad slots. Removing the physical server and its AMC saves about INR 4 lakh a year, and the newspaper avoided a full rewrite estimated at three times the cost.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.