gotthardp / gen_coap

Generic Erlang CoAP Client/Server
Other
106 stars 47 forks source link

Clustering Example for CoAP Server #10

Open drasko opened 7 years ago

drasko commented 7 years ago

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.

gotthardp commented 7 years ago

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

drasko commented 7 years ago

Ah :).

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

gotthardp commented 7 years ago

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.

drasko commented 7 years ago

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 ;).

kanishkablack commented 7 years ago

@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.