Skip to content

A web application that shows real time information about public transportation using Pravega and IoT

License

Notifications You must be signed in to change notification settings

sonali-singh97/Vahan-Sarathi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vahan-Sarathi

Made with love in India GitHub

Open Issues Closed Issues Open Pull Requests Closed Pull Requests

PROBLEM STATEMENT

COVID-19 virus is on a rise throughout the world, especially in countries like India with a huge population and where people are much more dependent on public transports like Buses and local trains. This project focuses on resolving this issue, by keeping a check on the number of people travelling in a public vehicle and number of people wearing masks etc. This information is provided to other passengers, planning to travel in that vehicle.

Introduction to Our Solution

Vahan Sarathi is a web-application that utilizes Pravega at its backbone to help public vehicle passengers, in making their daily commute much safer and more pleasant, specifically in the era of COVID-19. Each Vehicle can be considered as a stream pushing data in Real-time while commuting on their respective routes (scopes). For this purpose, vehicles can be fitted with IoT devices that sense the various changes in environment and push data. On the web application, passengers can see various vehicles on a single route, passengers traveling in a particular vehicle, number of people wearing masks, age group of people travelling and much more.

PIPELINE OF THE PROJECT

PIPELINE

DEMO VIDEO LINK

Watch the video

SUBSECTIONS OF THE APPLICATION

MORE ON PRAVEGA-GRPC-GATEWAY

PRAVEGA-GRPC-GATEWAY

Using a GRPC gateway is better than a REST gateway for the following reasons:

  • GRPC streaming is used for reading and writing events. This allows the Pravega connection to remain open for the life of the streaming request. Within a streaming request, any number of read or write operations can be performed. In the case of writing, these can also be wrapped in transactions. Events can be marked to commit the current transaction and open a new one.

  • GRPC uses Protobuf for efficient serialization. REST/JSON requires base64 encoding of binary data which is less efficient.

  • GRPC stubs (client code) can be easily created for nearly any language and environment.

About

A web application that shows real time information about public transportation using Pravega and IoT

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •