SlideShare a Scribd company logo
1 of 19
Download to read offline
Agenda Motivation Proposed Model Implementation Conclusion
Implementing the ATM based Voting Services -
The RESTful Way
Kausal Malladi
Srivatsan Sridharan
International Institute of Information Technology - Bangalore
August 24, 2013
Agenda Motivation Proposed Model Implementation Conclusion
About Me
An M.Tech. student from IIIT Bangalore specializing in
Computer Science
Systems Engineer at Infosys Limited for 2 years
A B.Tech. graduate specialized in Information Technology
from JNTU, Hyderabad
Interests
Theoretical Computer Science
Machine Learning
Information Retrieval
Web Services
Hobbies
Occasional Blogging
Music
Cricket
My website - http://www.kausalmalladi.tk
2/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Agenda
1 Motivation
2 Proposed Model
3 Implementation
Why, the RESTful way?
4 Conclusion
3/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Motivation
Design a robust e-voting system
Using most of the existing infrastructure (ATMs)
Minimize costs to governments
Highly scalable
Real-time Performance
Security and Voting guidelines to be adhered to!
4/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Why using ATMs?
Highly scalable infrastructure already setup
Good on-going research, to include Non-Financial Services
Few modifications to business logic and database schema of
Banks can result in incorporating several Non-Financial
Services
Issues to be addressed:
Increased load on Bank Servers
Heavy traffic flow all the way
Adherence to Banking and Voting process related issues
Security!
User Interface
5/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Features
Registration of Right to Vote
ATM Card registration for Voting
Robust e-Voting system
6/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Functional Flow
7/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Architecture
Available Options
Simple extension to existing Architecture
Web Services
Simple extension isn’t effective!
Existing Architecture not easily known
Not an easy task
Huge loads on servers
Architecture is not same across all Banks
Web Services chosen because they can be plugged in
anywhere without much difficulty!
8/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
High Level Sequence Diagram
9/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Why REST over SOAP/WSDL?
REST is cleaner than SOAP
Safe encapsulation of Legacy systems
REST isn’t any obscure, its the way Web works aided with
some rules!
Plain Text Data exchange
Not many standards to follow other than basic HTTP
methods!
10/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Advantages of using REST style
Scalable Components
Simple interfaces
Independently deployable
Secure
Easy real-time deployment
Real-time performance
Multiple data formats
Lesser loads on servers
11/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Scalability
REST encourages using good practices for Scalability
Each Web Service can be deployed on a separate server
Ensures the services aren’t affected by performance
bottlenecks
Very close to real-time deployment
Easier Functional Scalability
More Non-Functional Services can be added to the ATM
Terminals
12/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Security
Security a serious issue!
ATMs in private networks of Banks
All messages transferred via SSL (Secure Sockets Layer)
Messages required to be transferred directly between the
Election Authority and the Client are encrypted using a shared
key (2048 bit) between ATM Terminal Client and Election
Authority
Bank merely forwards the messages to Election Authority but
will NOT be able to read it!
13/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Real-time Deployment
Web Services can be deployed on different servers as
interfaces are well-defined
Supports deployment on distributed servers
Real-time performance because no much interaction latency
Banks already have well set-up infrastructure and setting up a
robust infrastructure for Election Authority can handle huge
requests, which is a typical scenario of an e-Voting system
14/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Multiple Data Formats
Parsing XML is a costlier process
SOAP/WSDL allows only XML for interactions
XML, JSON, HTML, Plain Text are allowed in REST
Parsing one data format to other not required, as the Web
services can agree on a single data format as simple as Plain
Text for simplicity
15/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Load on Servers
In an application where large number of requests are to be
served, storing state information can lead to performance
bottlenecks
e-Voting is a system where almost 100000 clients may perform
some operation plus the normal financial transactions on ATM
terminals are also to be satisfied
In REST, the servers are not required to maintain state of
clients
Messages contain necessary information required for a Web
Service, including but not limited to state of the client
16/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Winding it up...
ATM based e-Voting system is robust
RESTful implementation ensures easier deployment
Saves money, long term investment in rural areas
Improves infrastructure and literacy rates
Hopefully changes the state of Indian politics!
17/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Acknowledgement
Prof. L T Jayprakash - Associate Professor, IIIT-B
Assistance all the way!
Freedom in architecting the system, to be deployable in a
real-world scenario
18/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
Agenda Motivation Proposed Model Implementation Conclusion
Thank you!
Kausal.Malladi@iiitb.org
Srivatsan.S@iiitb.org
jtl@iiitb.ac.in
19/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)

More Related Content

Similar to Implementing the ATM based Voting Services - The RESTful Way

IRJET- Cost Effective Scheme for Delay Tolerant Data Transmission
IRJET- Cost Effective Scheme for Delay Tolerant Data TransmissionIRJET- Cost Effective Scheme for Delay Tolerant Data Transmission
IRJET- Cost Effective Scheme for Delay Tolerant Data TransmissionIRJET Journal
 
IoT for wheel alignment monitoring system
IoT for wheel alignment monitoring systemIoT for wheel alignment monitoring system
IoT for wheel alignment monitoring systemIJECEIAES
 
ATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayKausal Malladi
 
IRJET - A Design Thinking based Smart Parking System for Vehicle Parking ...
IRJET -  	  A Design Thinking based Smart Parking System for Vehicle Parking ...IRJET -  	  A Design Thinking based Smart Parking System for Vehicle Parking ...
IRJET - A Design Thinking based Smart Parking System for Vehicle Parking ...IRJET Journal
 
IRJET- IoT based Vehicle Tracking using GPS
IRJET-  	  IoT based Vehicle Tracking using GPSIRJET-  	  IoT based Vehicle Tracking using GPS
IRJET- IoT based Vehicle Tracking using GPSIRJET Journal
 
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...Heuristic Algorithm using Internet of Things and Mobility for solving demogra...
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...Eswar Publications
 
A project report on online trading
A project report on online tradingA project report on online trading
A project report on online tradingKumar Gaurav
 
A study of remotely booking slot for vehicle using Internet of Things
A study of remotely booking slot for vehicle using  Internet of Things A study of remotely booking slot for vehicle using  Internet of Things
A study of remotely booking slot for vehicle using Internet of Things IJECEIAES
 
Blockchain Based E-Voting
Blockchain Based E-VotingBlockchain Based E-Voting
Blockchain Based E-VotingIRJET Journal
 
IOT - The 3rd Internet Tsunami is Here
IOT - The 3rd Internet Tsunami is HereIOT - The 3rd Internet Tsunami is Here
IOT - The 3rd Internet Tsunami is HereDr. Mazlan Abbas
 
IOT 101 - A primer on Internet of Things
IOT 101 - A primer on Internet of ThingsIOT 101 - A primer on Internet of Things
IOT 101 - A primer on Internet of ThingsNagarro
 
IRJET- IoT based Traffic Congestion Monitoring and Management System
IRJET- IoT based Traffic Congestion Monitoring and Management SystemIRJET- IoT based Traffic Congestion Monitoring and Management System
IRJET- IoT based Traffic Congestion Monitoring and Management SystemIRJET Journal
 
Flutter Mobile Application for Car Parking
Flutter Mobile Application for Car ParkingFlutter Mobile Application for Car Parking
Flutter Mobile Application for Car ParkingIRJET Journal
 
Classification of Software Defined Network Traffic to provide Quality of Service
Classification of Software Defined Network Traffic to provide Quality of ServiceClassification of Software Defined Network Traffic to provide Quality of Service
Classification of Software Defined Network Traffic to provide Quality of ServiceIRJET Journal
 
Decentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using BlockchainDecentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using BlockchainIRJET Journal
 
Offline and Online Bank Data Synchronization System
Offline and Online Bank Data Synchronization SystemOffline and Online Bank Data Synchronization System
Offline and Online Bank Data Synchronization Systemijceronline
 
Smart cities global experiences and lessons for india at ASCI Hyderabad 25 ...
Smart cities   global experiences and lessons for india at ASCI Hyderabad 25 ...Smart cities   global experiences and lessons for india at ASCI Hyderabad 25 ...
Smart cities global experiences and lessons for india at ASCI Hyderabad 25 ...Prakash Kumar
 
SMART_PARKING_SYSTEM_REPORT.docx
SMART_PARKING_SYSTEM_REPORT.docxSMART_PARKING_SYSTEM_REPORT.docx
SMART_PARKING_SYSTEM_REPORT.docxSaurabhKumar250160
 
Smart Parking with Multi layered Security
Smart Parking with Multi layered SecuritySmart Parking with Multi layered Security
Smart Parking with Multi layered SecurityIRJET Journal
 

Similar to Implementing the ATM based Voting Services - The RESTful Way (20)

IRJET- Cost Effective Scheme for Delay Tolerant Data Transmission
IRJET- Cost Effective Scheme for Delay Tolerant Data TransmissionIRJET- Cost Effective Scheme for Delay Tolerant Data Transmission
IRJET- Cost Effective Scheme for Delay Tolerant Data Transmission
 
IoT for wheel alignment monitoring system
IoT for wheel alignment monitoring systemIoT for wheel alignment monitoring system
IoT for wheel alignment monitoring system
 
ATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful Way
 
IRJET - A Design Thinking based Smart Parking System for Vehicle Parking ...
IRJET -  	  A Design Thinking based Smart Parking System for Vehicle Parking ...IRJET -  	  A Design Thinking based Smart Parking System for Vehicle Parking ...
IRJET - A Design Thinking based Smart Parking System for Vehicle Parking ...
 
IRJET- IoT based Vehicle Tracking using GPS
IRJET-  	  IoT based Vehicle Tracking using GPSIRJET-  	  IoT based Vehicle Tracking using GPS
IRJET- IoT based Vehicle Tracking using GPS
 
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...Heuristic Algorithm using Internet of Things and Mobility for solving demogra...
Heuristic Algorithm using Internet of Things and Mobility for solving demogra...
 
A project report on online trading
A project report on online tradingA project report on online trading
A project report on online trading
 
A study of remotely booking slot for vehicle using Internet of Things
A study of remotely booking slot for vehicle using  Internet of Things A study of remotely booking slot for vehicle using  Internet of Things
A study of remotely booking slot for vehicle using Internet of Things
 
IoT introduction
IoT introductionIoT introduction
IoT introduction
 
Blockchain Based E-Voting
Blockchain Based E-VotingBlockchain Based E-Voting
Blockchain Based E-Voting
 
IOT - The 3rd Internet Tsunami is Here
IOT - The 3rd Internet Tsunami is HereIOT - The 3rd Internet Tsunami is Here
IOT - The 3rd Internet Tsunami is Here
 
IOT 101 - A primer on Internet of Things
IOT 101 - A primer on Internet of ThingsIOT 101 - A primer on Internet of Things
IOT 101 - A primer on Internet of Things
 
IRJET- IoT based Traffic Congestion Monitoring and Management System
IRJET- IoT based Traffic Congestion Monitoring and Management SystemIRJET- IoT based Traffic Congestion Monitoring and Management System
IRJET- IoT based Traffic Congestion Monitoring and Management System
 
Flutter Mobile Application for Car Parking
Flutter Mobile Application for Car ParkingFlutter Mobile Application for Car Parking
Flutter Mobile Application for Car Parking
 
Classification of Software Defined Network Traffic to provide Quality of Service
Classification of Software Defined Network Traffic to provide Quality of ServiceClassification of Software Defined Network Traffic to provide Quality of Service
Classification of Software Defined Network Traffic to provide Quality of Service
 
Decentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using BlockchainDecentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using Blockchain
 
Offline and Online Bank Data Synchronization System
Offline and Online Bank Data Synchronization SystemOffline and Online Bank Data Synchronization System
Offline and Online Bank Data Synchronization System
 
Smart cities global experiences and lessons for india at ASCI Hyderabad 25 ...
Smart cities   global experiences and lessons for india at ASCI Hyderabad 25 ...Smart cities   global experiences and lessons for india at ASCI Hyderabad 25 ...
Smart cities global experiences and lessons for india at ASCI Hyderabad 25 ...
 
SMART_PARKING_SYSTEM_REPORT.docx
SMART_PARKING_SYSTEM_REPORT.docxSMART_PARKING_SYSTEM_REPORT.docx
SMART_PARKING_SYSTEM_REPORT.docx
 
Smart Parking with Multi layered Security
Smart Parking with Multi layered SecuritySmart Parking with Multi layered Security
Smart Parking with Multi layered Security
 

Recently uploaded

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Recently uploaded (20)

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Implementing the ATM based Voting Services - The RESTful Way

  • 1. Agenda Motivation Proposed Model Implementation Conclusion Implementing the ATM based Voting Services - The RESTful Way Kausal Malladi Srivatsan Sridharan International Institute of Information Technology - Bangalore August 24, 2013
  • 2. Agenda Motivation Proposed Model Implementation Conclusion About Me An M.Tech. student from IIIT Bangalore specializing in Computer Science Systems Engineer at Infosys Limited for 2 years A B.Tech. graduate specialized in Information Technology from JNTU, Hyderabad Interests Theoretical Computer Science Machine Learning Information Retrieval Web Services Hobbies Occasional Blogging Music Cricket My website - http://www.kausalmalladi.tk 2/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 3. Agenda Motivation Proposed Model Implementation Conclusion Agenda 1 Motivation 2 Proposed Model 3 Implementation Why, the RESTful way? 4 Conclusion 3/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 4. Agenda Motivation Proposed Model Implementation Conclusion Motivation Design a robust e-voting system Using most of the existing infrastructure (ATMs) Minimize costs to governments Highly scalable Real-time Performance Security and Voting guidelines to be adhered to! 4/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 5. Agenda Motivation Proposed Model Implementation Conclusion Why using ATMs? Highly scalable infrastructure already setup Good on-going research, to include Non-Financial Services Few modifications to business logic and database schema of Banks can result in incorporating several Non-Financial Services Issues to be addressed: Increased load on Bank Servers Heavy traffic flow all the way Adherence to Banking and Voting process related issues Security! User Interface 5/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 6. Agenda Motivation Proposed Model Implementation Conclusion Features Registration of Right to Vote ATM Card registration for Voting Robust e-Voting system 6/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 7. Agenda Motivation Proposed Model Implementation Conclusion Functional Flow 7/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 8. Agenda Motivation Proposed Model Implementation Conclusion Architecture Available Options Simple extension to existing Architecture Web Services Simple extension isn’t effective! Existing Architecture not easily known Not an easy task Huge loads on servers Architecture is not same across all Banks Web Services chosen because they can be plugged in anywhere without much difficulty! 8/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 9. Agenda Motivation Proposed Model Implementation Conclusion High Level Sequence Diagram 9/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 10. Agenda Motivation Proposed Model Implementation Conclusion Why REST over SOAP/WSDL? REST is cleaner than SOAP Safe encapsulation of Legacy systems REST isn’t any obscure, its the way Web works aided with some rules! Plain Text Data exchange Not many standards to follow other than basic HTTP methods! 10/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 11. Agenda Motivation Proposed Model Implementation Conclusion Advantages of using REST style Scalable Components Simple interfaces Independently deployable Secure Easy real-time deployment Real-time performance Multiple data formats Lesser loads on servers 11/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 12. Agenda Motivation Proposed Model Implementation Conclusion Scalability REST encourages using good practices for Scalability Each Web Service can be deployed on a separate server Ensures the services aren’t affected by performance bottlenecks Very close to real-time deployment Easier Functional Scalability More Non-Functional Services can be added to the ATM Terminals 12/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 13. Agenda Motivation Proposed Model Implementation Conclusion Security Security a serious issue! ATMs in private networks of Banks All messages transferred via SSL (Secure Sockets Layer) Messages required to be transferred directly between the Election Authority and the Client are encrypted using a shared key (2048 bit) between ATM Terminal Client and Election Authority Bank merely forwards the messages to Election Authority but will NOT be able to read it! 13/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 14. Agenda Motivation Proposed Model Implementation Conclusion Real-time Deployment Web Services can be deployed on different servers as interfaces are well-defined Supports deployment on distributed servers Real-time performance because no much interaction latency Banks already have well set-up infrastructure and setting up a robust infrastructure for Election Authority can handle huge requests, which is a typical scenario of an e-Voting system 14/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 15. Agenda Motivation Proposed Model Implementation Conclusion Multiple Data Formats Parsing XML is a costlier process SOAP/WSDL allows only XML for interactions XML, JSON, HTML, Plain Text are allowed in REST Parsing one data format to other not required, as the Web services can agree on a single data format as simple as Plain Text for simplicity 15/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 16. Agenda Motivation Proposed Model Implementation Conclusion Load on Servers In an application where large number of requests are to be served, storing state information can lead to performance bottlenecks e-Voting is a system where almost 100000 clients may perform some operation plus the normal financial transactions on ATM terminals are also to be satisfied In REST, the servers are not required to maintain state of clients Messages contain necessary information required for a Web Service, including but not limited to state of the client 16/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 17. Agenda Motivation Proposed Model Implementation Conclusion Winding it up... ATM based e-Voting system is robust RESTful implementation ensures easier deployment Saves money, long term investment in rural areas Improves infrastructure and literacy rates Hopefully changes the state of Indian politics! 17/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 18. Agenda Motivation Proposed Model Implementation Conclusion Acknowledgement Prof. L T Jayprakash - Associate Professor, IIIT-B Assistance all the way! Freedom in architecting the system, to be deployable in a real-world scenario 18/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)
  • 19. Agenda Motivation Proposed Model Implementation Conclusion Thank you! Kausal.Malladi@iiitb.org Srivatsan.S@iiitb.org jtl@iiitb.ac.in 19/19 IIIT Bangalore / SRS ’13 (colocated with ICACCI 2013)