Recreate outgoing message of observe request from serialisable data
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 552
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
I work on a node-coap server using coap observe feature. outgoing messages are stored in memory so that it can be used to send updated data to the clients. But having in-memory state can be problematic (here we have issues because we loose the state each time we deploy the server) so I am investigating a way to store observe connections in a redis or equivalent store and recreate outgoing message from stored data to send updates to clients. If any, what would be you recommended way to do so? Or is my problem wrong? Thanks for your help
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Start by tracing how the observe feature stores outgoing messages in memory and assess whether serialisable data can support reconstruction after deployment; done would require an agreed persistence and recreation design.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, redis, typescript
- Domain
- backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100