3 ms·
I am looking for something like this. We develop IoT devices, thousand of linux computer running behind customer routers and have a central server with web admi
by alfor 3y ago
I am looking for something like this.
We develop IoT devices, thousand of linux computer running behind customer routers and have a central server with web admin, all in python.
I wish i could have "syncronized objects", something were a change in a device would be reflected back to the server, web interface even better and in the other direction too, a way to see the whole system as one thing, not a hodge podge of api, calls, update and so on.
Is there an elegant way to do this?
- ochiba 3y agoThis is an interesting use case and sounds like it could be a fit. What stack is the software that runs on the Linux devices? Also feel free to shoot me an email if you'd like to discuss the use case privately (email in bio) or chat on Discord https://discord.gg/powersync https://discord.gg/powersync
- alfor 3y agoon the linux devices we have a web admin (made with node-red) that control the linux machine, network, config, updates. Then the web admin run docker container, we have a python backend on the device with fastapi as the base and another with vue.js for the frontend (touchscreen) Then the server is fastapi/mongodb/vue.js. We have a continuous websocket from the python program to server and another one from web dashboard to our server admin. Lot's of moving parts, lot's of problems, not a lot of cohesion and structure.
- ochiba 3y agoThanks for the additional info. As another commenter mentioned, since you are using MongoDB, it may be worth looking into MongoDB Realm / Atlas Device Sync.
- bongodongobob 3y agoIt's called RMM and there are tons of products that do exactly this. Most will be geared towards MSPs, but that's likely right up your alley as you probably want to silo customers into their own sites.
- jddj 3y agoYeah, during the IoT hype there was a (supposed? I never tried it) solution to this from every cloud provider. I think Amazon and Google both deprecated it since then, not sure how Azure's is going.
- maxfurman 3y agoI'm reminded of RealmDB, which I think Mongo bought at some point
- kobieps 3y agoYeah they did acquire Realm
- jinjin2 3y agoWe have been using realm in production for a while and it seems to have steadily improved since moving to MongoDB (surprisingly for an acquisition). It is definitely best of class when it come to doing live sync between a backend and a local database. Realm itself is amazing, fast and intuitive, and the bidirectional sync to MongoDB just works. The only downside is the messy and confusing web admin interface.
- redwood 3y agoOut of curiosity, what kind of use case is yours?
- halfcat 3y agoTurso might be a fit https://turso.tech/ https://turso.tech/