SlideShare a Scribd company logo
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 Transmission
IRJET Journal
 
IoT for wheel alignment monitoring system
IoT for wheel alignment monitoring systemIoT for wheel alignment monitoring system
IoT for wheel alignment monitoring system
IJECEIAES
 
ATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful WayATM Terminal Services the RESTful Way
ATM Terminal Services the RESTful Way
Kausal 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 GPS
IRJET 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 trading
Kumar 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
 
IoT introduction
IoT introductionIoT introduction
IoT introduction
Qayyum Halim
 
Blockchain Based E-Voting
Blockchain Based E-VotingBlockchain Based E-Voting
Blockchain Based E-Voting
IRJET 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 Here
Dr. 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 Things
Nagarro
 
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
IRJET Journal
 
Flutter Mobile Application for Car Parking
Flutter Mobile Application for Car ParkingFlutter Mobile Application for Car Parking
Flutter Mobile Application for Car Parking
IRJET 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 Service
IRJET Journal
 
Decentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using BlockchainDecentralized Ridesharing System Using Blockchain
Decentralized Ridesharing System Using Blockchain
IRJET 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 System
ijceronline
 
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.docx
SaurabhKumar250160
 
Smart Parking with Multi layered Security
Smart Parking with Multi layered SecuritySmart Parking with Multi layered Security
Smart Parking with Multi layered Security
IRJET 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

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 

Recently uploaded (20)

“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 

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)