Skip to content

Single threaded client application #718

Answered by bretambrose
nickjmeyer asked this question in Q&A
Discussion options

You must be logged in to vote

v1 and v2 are a bit overloaded terms, unfortunately. Within the v2 device SDKs, GG IPC has two different clients:

v1 IPC clients - callbacks all occur on the event loop thread that the network connection is bound to. It was a common occurrence for developers to accidentally deadlock their components by waiting on a completion event within a callback. This led the Greengrass team to develop "v2"/higher-level IPC clients that execute callbacks on a thread pool, avoiding the deadlock scenario.

From a language-SDK perspective:

  • C++ - only has the v1 client. Overall, can be difficult to use and we'd like to improve the experience but haven't had time yet. To answer your question directly, C++ …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by nickjmeyer
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants