Greengrass v2 components are synchronous or asynchronous in their execution?

0

Hi, I have this question and I couldn't found anything about it. I need to know this because I have to read a persistent data in a file that changes so I need to do that operation synchronous.

Thanks!

질문됨 2년 전242회 조회
1개 답변
0
수락된 답변

AWS IoT Greengrass components are software modules that you deploy to Greengrass core devices. Components can represent applications, runtime installers, libraries, or any code that you would run on a device. You can define components that depend on other components. For example, you might define a component that installs Python, and then define that component as a dependency of your components that run Python applications. When you deploy your components to your fleets of devices, Greengrass deploys only the software modules that your devices require.

Components can have any number of artifacts, which are component binaries. Artifacts can include scripts, compiled code, static resources, and any other files that a component consumes. Components can also consume artifacts from component dependencies.

So within your scripts you can have your code either handle things synchronous or asynchronous based on requirements. You may also have to make your code aware of downstream services/systems with which you are interacting if they are in-turn synchronous or asynchronous

Reference : https://docs.aws.amazon.com/greengrass/v2/developerguide/develop-greengrass-components.html

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠