1. Highlight
Future Work
Project Overview
Meaning
Technology Used
How they work
What to simulate
Xing Wei, CMU
Manager/Mentor: Debashis Basak, Mark Whipple, Weiqing Wu
Simulation of Hybridity Cloud Platform
Help for Development
- Record all the requests/responses for debugging
- No need to start web server every time when developing
Help for Testing
- Testing Server-side: Use the Sender to send all requests in
sequence automatically (like Selenium)
- Testing Client-side: Use the Player to send back all responses
without starting up the web server
Enabling High Performance Testing
- Performance testing on Hybridity Manager could be easily
done using simulation of Endpoints
Folder Name: 31_0b78a166e0229120a3b2d1a1fe5ef28f_!partials!mainPage.html
Folder Naming Convention: SequenceNumber_HashCode_Path
UI Proxy Server
1.request
2.response
Request.txt
Response.txt
ResponseHeader.txt
3.save
Folder Name: 31_0b78a166e0229120a3b2d1a1fe5ef28f_!partials!mainPage.html
UI Player Server
1.request
3.response
2.find and read
Request.txt
Response.txt
ResponseHeader.txt
Folder Name: 31_0b78a166e0229120a3b2d1a1fe5ef28f_!partials!mainPage.html
UI Sender Server
2.request
3.response
1.read
Request.txt
Response.txt
ResponseHeader.txt
Hash-based Reverse Proxy
- The unique naming convention utilizing hashing techniques
allows the proxy to keep the sequence of requests and to identify
the unique request at the same time.
Support both HTTP and HTTPS
- Both HTTP and HTTPS server can be proxied.
Optimization for Adobe Flex (vSphere Web Client)
- The proxy fully supports all functionalities of the vSphere Web
Client, which is developed using Adobe Flex.
Highly Configurable
- Users are allowed to configure the server’s domain name and
port, the folder to save files, and the port number which the
proxy is running on.
Easy to use
- Once configured with Docker, use everywhere
Modulation and Utilization
- Based on the existing code, put in more structure to create a
library so that more untidily tools such as Command Line Interface
(CLI) can be created.
Smart Caching
- For now the proxy tries to save every request/response going
through. This recording process could be improved using content-
aware caching techniques.
Support for Workflow Converge
- Possible optimization could be done on specific workflows.
How to record, organize, and converge different workflows could
be the next problem to study through.
Development and Testing in vCloud Air environment is never easy.
The processes can be both resource and time consuming. The
Simulation of the Hybridity Cloud Platform is a way to solve this
problem. The idea is simple: Record and Replay.
Proxy:
to record the http/https traffic between the UI and the Server
Player:
to act as the dummy server – read and send back responses
whenever there is a match between the incoming requests and
the saved requests.
Sender:
to act as the dummy client – read all the requests from the
local files and send them in sequence with intervals
How Proxy works:
How Sender works:
How Player works:
Simulation of Management PlatformSimulation of User
UI Hybridity
Manager
EndpointUIUIUIUI
EndpointEndpointEndpointEndpoint
Simulation of Endpoint (vSphere)