DZone
Mobile Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Mobile Zone > InstaNews – It's My Idea to Create Hottest Trending NEWS

InstaNews – It's My Idea to Create Hottest Trending NEWS

News content has become increasingly popular in the digital age, and mobile delivery is the preferred format. Here's a neat idea for a trending news app.

Siva Prasad Rao Janapati user avatar by
Siva Prasad Rao Janapati
·
Mar. 15, 16 · Mobile Zone · Analysis
Like (2)
Save
Tweet
2.34K Views

Join the DZone community and get the full member experience.

Join For Free

InstaNews

In previous articles, we have harvested Twitter Trends and Google Hot Trends using Spring Batch. Meanwhile, I got an idea to create a NEWS app (for smart phones and tablets) which will use the crawled trending topics to generate the NEWS for "InstaNews." Here is the thought process:

  • When something happens around us, people share the information with their friends using tweets and searches more on the google. By using the crawled trending topics and the twitter tweets search, we can generate the trending tweets.
  • Google provides the hot searches and the associated content.

With the above two points, the application will get the content.  We are targeting audience with hot news, the content should reach to the audience very quickly. Below stats are the motivation to choose mobile app than a website for this idea.  The stats tells "It’s APP world," mobile apps are more reachable than the web.

Mobile Usage Growth

Now it's time to see the system architecture of the “InstaNews” app.

InstaNews Architecture

The system architecture has a node js server to harvest the trends and the NEWS. The other node js server form is backed up by the load balancer which will serve content to end users. The NEWS content is maintained in Memcached server.

Now, let us see the technology stack proposed for “InstaNews."

InstaNews Technology Stack


Now let me justify the technology stack. Before getting into the details, I want to make the technology stack which doesn’t require a long learning curve for the web developers. Keeping that in mind I have chosen lightweight technology stack consists of Node.JS, ExpressJS, PhoneGap, Memcached.

Node JS: Event-driven I/O server–side JavaScript environment and which will be horizontally scalable(Anyone can learn easily who has javascript knowledge).

Express JS: The HTTP node module to expose REST services. PhoneGap will consume the REST services.

Memcached: The cache to store the trends and NEWS content. I have chosen as it is simple to use volatile data. I don’t want to persist the content as the content changes so frequently. Refresh the content at specific intervals.

Be Innovative!!!

News

Published at DZone with permission of Siva Prasad Rao Janapati, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • The Evolution of Configuration Management: IaC vs. GitOps
  • How to Hash, Salt, and Verify Passwords in NodeJS, Python, Golang, and Java
  • JUnit 5 Tutorial: Nice and Easy [Video]
  • Making Your SSR Sites 42x Faster With Redis Cache

Comments

Mobile Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo