Comments (7)
For access to the IOTA API in a multi instance scenario, multiple IOTAs can be instantiated behind a Load Balancer (as they are basically stateless), connected to a MongoDB cluster (that can also easily be scaled). The problem with the MQTT broker will depend on the MQTT broker itself. Some MQTT brokers support clustering, some other don't. For those not supporting clustering, as you said, the architecture should be mono-instance.
Anyway, the horizontal scale of the IOTA layer has not been well studied yet, as we are focused on completing our components for the time being. We will update the documentation with information about how to install multiinstance IOTAs and MQTT brokers once we think we are comfortable with our solution.
from iotagent-json.
Yes, I agree for MQTT broker. I saw that you have been in contact with Matteo Colina, Mosca MQTT broker can not be scaled without additional persistence, for example.
For my tests I am using Mosquitto, but we will probably start deployment with Mosca and see where this will go... Because of these benchmarkings: http://acro-engineer.hatenablog.com/entry/2015/06/30/100507 I started looking at VerneMQ and eMQTT(http://emqtt.io/), although Kafka/Cassandra solutions can give great results.
But as you said - this is a topic for later ;).
from iotagent-json.
Anyway - this still does not answer the question: can provisioning be done from Orion?
I.e. I would like to create an app that could provision needed devices. App would send provisioning requests to the Orion (pub) which will forward it to the IoT Agent (which is subscribed to Orion).
This way application does not have to hit IoT Agent itsetlf, and does not have to care about it's IP address - it cares only about Orion, but app knows this address already - because Orion is a central pub/sub broker and everybody in the system must know it's (and only it's) address.
from iotagent-json.
For the time being, that functionality (registration based on NGSI) does not exist. Devices must be provisioned via Device Provisioning API. The IoT Agent model gives the option of creating a Configuration for groups of devices, so to allow autoprovisionig of those devices in possesion of the API Key. That should ease the application from the burden of provisioning each one of the devices. But a configuration for each Service must be created in any case.
from iotagent-json.
@dmoranj is registration based on NGSI something that is planned, or will never be implemented?
from iotagent-json.
Is not currently in the backlog. Concerning its future implementation, it will depend on how the project evolve, but in the near future we have more features to add, and bugs to fix, so I guess it will be difficult. You can add a specific issue describing that enhancement, for future reference if you wish. In any case, that should belong to the IOTA Lib, not to this project (as we try to keep all the northbound interfaces implemented there, and the southbound ones in the individual IOTAs).
from iotagent-json.
I'm closing this issue, as I think the question has been answered.
If you consider this could be an interesting enhancement for the IoTAs, create an Enhancement Issue with your proposal in the IOTALib, so we have it in mind for future updates.
If there are any doubts pending concerning this issue, feel free to reopen it.
from iotagent-json.
Related Issues (20)
- Subscribe to a specific MQTT topic HOT 1
- 400 when use ``` "entity_name": "'David:Prueba'" ``` HOT 2
- No plain text command return option HOT 1
- Payload measures are lost after reconnection with Orion.
- iotagent- json should be used in place of iotagent-ul in commandsPolling-test.js HOT 2
- existing entities are overwritten when creating a device HOT 4
- MongoDB connection, authentication failed HOT 9
- Fiware IoT Agent json is changing the service path of incoming messages if it is high load HOT 14
- Support of Content Type: application/soap+xml HOT 4
- iotaJsonTester.js is missing from the repository HOT 3
- Allow ingest ngsiv2/ngsild as measure for iotagent HOT 2
- Differences between `explicitAttrs` behaviour at lib and at agent level HOT 6
- Support \t in Content-Type header HOT 2
- constants.DEFAULT_ATTRIBUTE_TYPE is string instead of Text HOT 3
- include apikey error log at measure procesing HOT 1
- Keep order from a multimeasure to Orion CB HOT 4
- The agent does not send data to the Orion Context Broker with a request payload of 566 KB HOT 9
- Broken link in README.md HOT 2
- Attributes name & static attributes not mapped in Orion when inserted in the Device provisioning phase HOT 4
- modify apikey in a provisioned device HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotagent-json.