SlideShare uma empresa Scribd logo
1 de 16
TEMPORARY SELECTION OF
SERVER IN CONVENTIONAL
CLIENT-SERVER ARCHITECTURE
FOR DYNAMIC DATA.
14MCS0047_KHUDE ROHAN R.
14MCS0021_PULIGUNDLAABHISHEK
14MCS0021_ABHILASH NAMDEV
ABSTRACT
•Now a days a research is still going on how to make the server tends to
non-failure for which more complexity is present as well as extra hardware
is needed for it which implied to expensive architecture.
•We proposed a network architecture where a clients are connected with
each other in a peer to peer manner which is useful to get information from
another client who has latest information when server temporarily
unavailable.
• Hence complexity and expensiveness of enhancing the server can achieved
which will useful in large scale in recent years of information technologies
and organization.
INTRODUCTION
•We will build a client as a server through android device by creating
an android application in which a database field is shared among
client and server.
•When server is crashed or in deadlock state then client will handle a
responsibility of server where to send a database field to another
client which is requested for this field.
•The client which acts as a server is called as mirror who has latest
information.
PROPOSED
ARCHITECTURE
SCENARIOS
We will explain above architecture in 3 steps
1. Client requesting for latest information.
2. The stack is maintained on every client.
3. Server fails, client acts as a server temporarily
1. CLIENT REQUESTING FOR
LATEST INFO.
•Suppose client requests for server for updated information.
•As this availability field is dynamic data; then client frequently
request for this update information.
•Suppose server fails then client wont get latest data from availability
field.
•For being serve consistently the client may overtake to the server
responsibility to serve other clients.
•The responsibility here means providing the availability value which is
updated recently before crashing server.
2. THE STACK IS MAINTAINED ON
EVERY CLIENT.•But how the client will take over the server . . . ?
•Even if the client take over the server; how other client will know that to
which client the request is made. . . . .?
•How other client will known which client has latest information. . . . ?
• For this stack is maintained . . . !
•Stack is used for insert the address of the server and clients but only clients
those who are having latest information.
•During sharing the information with the clients, the server trace their
address and store in the stack after which server address is followed.
3. SERVER FAILS, CLIENT ACTS AS
A SERVER TEMPORARILY
•For every request the stack is needed to maintain because any time
server may crash.
•The server uploads stack on every server, this is needed because if
server gets failed then no other chances of getting address of
temporary server.
• As any client may become temporary server for this every client will
connected using mesh topology.
• When the temporary server is chosen among the set of clients then
further request and response work using peer to peer connection.
PLATFORM FOR IMPLEMENTATION
•We will create an application for android device ‘Faculty availability
indicator’ in which we will implement a model for client as a server.
•This application is a just platform were we implement a mirror.
•In this, faculty itself update availability which reflect the availability
field in server database.
•When client is served with latest information then at same time stack
is maintained on each client in which is address of client which having
this information.
•If server fails then android device(client) will take over it who having
latest information.
•Another client who wants this information can take from new server
where address of it is taken from stack.
•An application for Android that scans for devices nearby and tries to
connect to them automatically.
•If the other device also got this application installed then it
automatically accepts any connection request it receives.
•When the connection is established it sends back a message which
ensures that it has this app installed so that both can start
exchanging messages automatically.
•The users don't have to allow/deny any of the sending/receiving in
real time.
1. Is there any way of sending messages through Wi-Fi between 2
android devices without the use of internet?
2. Since Ad Hoc is not supported, is there any alternative?
3. In case the answer to 2 is no , then is it possible to make one of
the devices to be an access point so the other can connect to it and
vice versa.
4. As for bluetooth, is it possible to skip or automate the allow/deny
pop up of an incoming connection and the pairing procedure?
1. TO ENABLE ADHOC IN ANDROID
MOBILE
•After making a research about it I found out that Android doesn't
have a native Wi-Fi ad hoc functionality.
•The only way to achieve that is through rooting your device.
•Patching the wpa_supplicant.
•Some other similar methods which are not generic for every device.
2. SINCE AD HOC IS NOT
SUPPORTED, IS THERE ANY
ALTERNATIVE?
•Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) devices
with the appropriate hardware to connect directly to each other via
Wi-Fi without an intermediate access point.
•Using these APIs, you can discover and connect to other devices when
each device supports Wi-Fi P2P.
•Then communicate over a speedy connection across distances much
longer than a Bluetooth connection.
•This is useful for applications that share data among users, such as a
multiplayer game or a photo sharing application.
3. IS IT POSSIBLE TO USE ACCESS
POINT
As needs even we wanted to NOT use internet, so not being able to
find any other way, for that time I just went with using any local wifi
connection in proximity to connect with.
4. TO SKIP OR AUTOMATE THE
ALLOW/DENY POP UP
•NO, we can’t deny pop-up.
•When two devices connect first time, pairing has to happen.
•And for subsequent connections to already paired devices it will not
ask for confirmation
SUGGESTIONS
Please give suggestions by which we can move forward

Mais conteúdo relacionado

Semelhante a Temporary selection of server in conventional client server

ppt-3-iotlogicdesign-210125034351.pptx
ppt-3-iotlogicdesign-210125034351.pptxppt-3-iotlogicdesign-210125034351.pptx
ppt-3-iotlogicdesign-210125034351.pptx
johnpragasam1
 
Clientserver Presentation
Clientserver PresentationClientserver Presentation
Clientserver Presentation
Tuhin_Das
 

Semelhante a Temporary selection of server in conventional client server (20)

Difference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long PollingDifference between Client Polling vs Server Push vs Websocket vs Long Polling
Difference between Client Polling vs Server Push vs Websocket vs Long Polling
 
Modern API's.pptx
Modern API's.pptxModern API's.pptx
Modern API's.pptx
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Networks
NetworksNetworks
Networks
 
SYN224: Best practices for migrating from Web Interface to StoreFront Services
SYN224: Best practices for migrating from Web Interface to StoreFront ServicesSYN224: Best practices for migrating from Web Interface to StoreFront Services
SYN224: Best practices for migrating from Web Interface to StoreFront Services
 
1-1.pdf
1-1.pdf1-1.pdf
1-1.pdf
 
Azure Mobile Services
Azure Mobile ServicesAzure Mobile Services
Azure Mobile Services
 
ppt-3-iotlogicdesign-210125034351.pptx
ppt-3-iotlogicdesign-210125034351.pptxppt-3-iotlogicdesign-210125034351.pptx
ppt-3-iotlogicdesign-210125034351.pptx
 
Cloud computing basic
 Cloud computing   basic Cloud computing   basic
Cloud computing basic
 
What is cloud computing
What is cloud computingWhat is cloud computing
What is cloud computing
 
Clientserver Presentation
Clientserver PresentationClientserver Presentation
Clientserver Presentation
 
Client Server Network By Usman Ihsan
Client Server Network By Usman IhsanClient Server Network By Usman Ihsan
Client Server Network By Usman Ihsan
 
Ppt 3 - IOT logic design
Ppt   3 - IOT logic designPpt   3 - IOT logic design
Ppt 3 - IOT logic design
 
Aidl service
Aidl serviceAidl service
Aidl service
 
Chat application
Chat applicationChat application
Chat application
 
4. system models
4. system models4. system models
4. system models
 
q4 w3 ICT 10.pptx
q4 w3 ICT 10.pptxq4 w3 ICT 10.pptx
q4 w3 ICT 10.pptx
 
Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization      Prepare and Manage Remote Applications through Virtualization
Prepare and Manage Remote Applications through Virtualization
 
Synapseindia mobile application architectures
Synapseindia mobile application architecturesSynapseindia mobile application architectures
Synapseindia mobile application architectures
 
Cloud migration
Cloud migrationCloud migration
Cloud migration
 

Último

+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 

Último (20)

Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 

Temporary selection of server in conventional client server

  • 1. TEMPORARY SELECTION OF SERVER IN CONVENTIONAL CLIENT-SERVER ARCHITECTURE FOR DYNAMIC DATA. 14MCS0047_KHUDE ROHAN R. 14MCS0021_PULIGUNDLAABHISHEK 14MCS0021_ABHILASH NAMDEV
  • 2. ABSTRACT •Now a days a research is still going on how to make the server tends to non-failure for which more complexity is present as well as extra hardware is needed for it which implied to expensive architecture. •We proposed a network architecture where a clients are connected with each other in a peer to peer manner which is useful to get information from another client who has latest information when server temporarily unavailable. • Hence complexity and expensiveness of enhancing the server can achieved which will useful in large scale in recent years of information technologies and organization.
  • 3. INTRODUCTION •We will build a client as a server through android device by creating an android application in which a database field is shared among client and server. •When server is crashed or in deadlock state then client will handle a responsibility of server where to send a database field to another client which is requested for this field. •The client which acts as a server is called as mirror who has latest information.
  • 5. SCENARIOS We will explain above architecture in 3 steps 1. Client requesting for latest information. 2. The stack is maintained on every client. 3. Server fails, client acts as a server temporarily
  • 6. 1. CLIENT REQUESTING FOR LATEST INFO. •Suppose client requests for server for updated information. •As this availability field is dynamic data; then client frequently request for this update information. •Suppose server fails then client wont get latest data from availability field. •For being serve consistently the client may overtake to the server responsibility to serve other clients. •The responsibility here means providing the availability value which is updated recently before crashing server.
  • 7. 2. THE STACK IS MAINTAINED ON EVERY CLIENT.•But how the client will take over the server . . . ? •Even if the client take over the server; how other client will know that to which client the request is made. . . . .? •How other client will known which client has latest information. . . . ? • For this stack is maintained . . . ! •Stack is used for insert the address of the server and clients but only clients those who are having latest information. •During sharing the information with the clients, the server trace their address and store in the stack after which server address is followed.
  • 8. 3. SERVER FAILS, CLIENT ACTS AS A SERVER TEMPORARILY •For every request the stack is needed to maintain because any time server may crash. •The server uploads stack on every server, this is needed because if server gets failed then no other chances of getting address of temporary server. • As any client may become temporary server for this every client will connected using mesh topology. • When the temporary server is chosen among the set of clients then further request and response work using peer to peer connection.
  • 9. PLATFORM FOR IMPLEMENTATION •We will create an application for android device ‘Faculty availability indicator’ in which we will implement a model for client as a server. •This application is a just platform were we implement a mirror. •In this, faculty itself update availability which reflect the availability field in server database. •When client is served with latest information then at same time stack is maintained on each client in which is address of client which having this information. •If server fails then android device(client) will take over it who having latest information. •Another client who wants this information can take from new server where address of it is taken from stack.
  • 10. •An application for Android that scans for devices nearby and tries to connect to them automatically. •If the other device also got this application installed then it automatically accepts any connection request it receives. •When the connection is established it sends back a message which ensures that it has this app installed so that both can start exchanging messages automatically. •The users don't have to allow/deny any of the sending/receiving in real time.
  • 11. 1. Is there any way of sending messages through Wi-Fi between 2 android devices without the use of internet? 2. Since Ad Hoc is not supported, is there any alternative? 3. In case the answer to 2 is no , then is it possible to make one of the devices to be an access point so the other can connect to it and vice versa. 4. As for bluetooth, is it possible to skip or automate the allow/deny pop up of an incoming connection and the pairing procedure?
  • 12. 1. TO ENABLE ADHOC IN ANDROID MOBILE •After making a research about it I found out that Android doesn't have a native Wi-Fi ad hoc functionality. •The only way to achieve that is through rooting your device. •Patching the wpa_supplicant. •Some other similar methods which are not generic for every device.
  • 13. 2. SINCE AD HOC IS NOT SUPPORTED, IS THERE ANY ALTERNATIVE? •Wi-Fi peer-to-peer (P2P) allows Android 4.0 (API level 14) devices with the appropriate hardware to connect directly to each other via Wi-Fi without an intermediate access point. •Using these APIs, you can discover and connect to other devices when each device supports Wi-Fi P2P. •Then communicate over a speedy connection across distances much longer than a Bluetooth connection. •This is useful for applications that share data among users, such as a multiplayer game or a photo sharing application.
  • 14. 3. IS IT POSSIBLE TO USE ACCESS POINT As needs even we wanted to NOT use internet, so not being able to find any other way, for that time I just went with using any local wifi connection in proximity to connect with.
  • 15. 4. TO SKIP OR AUTOMATE THE ALLOW/DENY POP UP •NO, we can’t deny pop-up. •When two devices connect first time, pairing has to happen. •And for subsequent connections to already paired devices it will not ask for confirmation
  • 16. SUGGESTIONS Please give suggestions by which we can move forward