Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datacenter & user #17

Open
map-unique opened this issue Jun 16, 2020 · 5 comments
Open

datacenter & user #17

map-unique opened this issue Jun 16, 2020 · 5 comments

Comments

@map-unique
Copy link

Hi,
I have two questions.

  1. Is it possible to create a data center inside the cloud and make a connection between it and the fog device? What command is used to make this connection?
  2. Is it possible to have two user sets instead of sensors?
    For example, a set as a sender and a set as a receiver.
    thanks
@Haggagz
Copy link

Haggagz commented Aug 25, 2020

1- Yes it is possible, through using the function createFogDevice() and specifying the parameters of the data center, please check the examples to know how to make a connection

@map-unique
Copy link
Author

1- Yes it is possible, through using the function createFogDevice() and specifying the parameters of the data center, please check the examples to know how to make a connection

Thank you for your answer
I learned this, But I had trouble building modules and communicating between them.
After the run, the cloud cost is always fixed and the bandwidth is zero, or I get a module placement error. can you help me?
I need a Tupel transmitter in one location and several Tupel receivers in other locations. These are connected to fog devices.
I defined a cloud and a proxy, I defined a cloud and a proxy, and the proxy is the father of fog devices.
I built three modules. 1-Client module for transmitter and receivers of Tupel. 2-Maine module for fog devices. 3-Storage module for cloud.
output: Cost of execution in cloud = 200000.0
Total network usage = 0.0
@Haggagz

@Haggagz
Copy link

Haggagz commented Aug 25, 2020

The cost will stay constant as long as the ratePerMIPS in the Cloud Data Centre is not changed.
Having a zero network usage means nothing is being transmitted through your application model, there's obviously something wrong with your script, recheck the relations between the tupels in the function addTupleMapping, make sure you have everything working correctly, I didn't really understand your problem to help, have I answered your questions?

@map-unique
Copy link
Author

The cost will stay constant as long as the ratePerMIPS in the Cloud Data Centre is not changed.
Having a zero network usage means nothing is being transmitted through your application model, there's obviously something wrong with your script, recheck the relations between the tupels in the function addTupleMapping, make sure you have everything working correctly, I didn't really understand your problem to help, have I answered your questions?

You almost realized.
Can I have your email to send you my code?

@Haggagz
Copy link

Haggagz commented Aug 25, 2020

[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants