gen_coap icon indicating copy to clipboard operation
gen_coap copied to clipboard

Clustering Example for CoAP Server

Open drasko opened this issue 7 years ago • 5 comments

Hello, can you please explain and give example how clustering is done with CoAP server.

Obviously some of devices will be attached via UDP to one server instance, so I am interested to see how application knows to speak to a good instance of CoAP server to reach a desired device.

drasko avatar Mar 28 '17 10:03 drasko

Hello. Good question, but I don't know the answer. The clustering isn't addressed in the current implementation.

gotthardp avatar Mar 28 '17 22:03 gotthardp

Ah :).

Maybe I can help with implementation/testing, but I will need some help and instructions (where to start for example ;))

drasko avatar Mar 28 '17 22:03 drasko

There is a little Architecture diagram in the README. Not much, I know. I guess the clustering may require some changes to that supervision/process tree, so the right way to start is to design how it should work and then adjust the architecture accordingly.

gotthardp avatar Mar 29 '17 12:03 gotthardp

OK, I'll take a look. I started using examining your code, I need to get familiar with it more, so I will bother you for answers ;).

drasko avatar Mar 29 '17 12:03 drasko

@drasko i am currently developing a cluster based coap server based on elixir ( forked from this repo ), please wait for few weeks, we are open sourcing code.

kanishkablack avatar Apr 21 '17 18:04 kanishkablack