cmusatyalab / elijah-cloudlet

Elijah cloudlet system
http://elijah.cs.cmu.edu/
43 stars 13 forks source link

Some doubts regarding the working of cloudlet #9

Closed SainathK333 closed 10 years ago

SainathK333 commented 10 years ago

1.Should the cloudlet be listening for connection requests continuously? 2.Should I first send the overlay and then run the application and send the necessary content to get back the results? 3.I tried running your app that you provided but the problem you have the application that suits to your domain and i can't figure to make the changes. 4.Can u just provide the sequence of steps so i can write the app and server code on my own? 5.And for what purpose did you use OpenStack?Can you just elaborate?

krha commented 10 years ago

1.Should the cloudlet be listening for connection requests continuously?

I don't think I understand the question. What do you mean by the connection? Is it connection for the mobile application or connection for the VM synthesis? And how does it matter?

2.Should I first send the overlay and then run the application and send the necessary content to get back the results?

You need to send VM overlay to launch the VM, which is a mobile application's backend server. So, perform VM synthesis (including sending VM overlay), run mobile application. I don't fully understand what you mean by 'send the necessary content to get back the results'. What is content and the results here?

3.I tried running your app that you provided but the problem you have the application that suits to your domain and i can't figure to make the changes.

Could you tell me what application you have tried?

4.Can u just provide the sequence of steps so i can write the app and server code on my own?

  1. prepare base VM
  2. resume base VM using 'cloudlet base' command
  3. make any customization with the resume VM
  4. close VNC window and the system will generate VM overlay

5.And for what purpose did you use OpenStack?Can you just elaborate?

There are 2 reasons.

  1. Make the installation of VM synthesis easy for those who already have OpenStack.
  2. Prove that VM Synthesis is working with a popular opensource project
SainathK333 commented 10 years ago

1.Should the cloudlet be listening for connection requests continuously? I mean connection for dynamic VM Synthesis.

2.Should I first send the overlay and then run the application and send the necessary content to get back the results?

For eg: Face Recognition app where i have to take pictures and send them to the cloudlet. That is what i mean with content over there.

3.I tried running your app that you provided but the problem you have the application that suits to your domain and i can't figure to make the changes.

Can you explain the packaging of the cloudlet application you provided? And do i need all that you have mentioned in it for running of the application?

krha commented 10 years ago

1.Should the cloudlet be listening for connection requests continuously? I mean connection for dynamic VM Synthesis.

Yes, it is currently listening port 8021. Basically we need a running daemon to receive a request for the dynamic VM synthesis.

2.Should I first send the overlay and then run the application and send the necessary content to get back the results? For eg: Face Recognition app where i have to take pictures and send them to the cloudlet. That is what i mean with content over there.

Yes, we assume that application is divided into a front-end client a backend server. And the VM synthesis is a process of provisioning the backend server of the mobile application. So before you use your mobile application, we should provision corresponding backend server using VM synthesis. Then, you're mobile application will send request including whatever data the application needs.

3.I tried running your app that you provided but the problem you have the application that suits to your domain and i can't figure to make the changes. Can you explain the packaging of the cloudlet application you provided? And do i need all that you have mentioned in it for running of the application?

Sorry, but I don't still get this point. This github repo has everything to run the cloudlet.