Rich_Morin
Can Nerves support really fast OS startup?
I’ve been looking into the problem of creating an economical notetaker for blind users, using something like a RasPi as the hardware platform. Ideally, it would be instantly available for use, yet have very long battery life. (and a pony…)
I’m not sure that this is possible, if the CPU and RAM are powered up continuously. However, really fast startup times might provide an acceptable compromise. Has anyone built Nerves systems that boot up in only a few seconds? If so, can you point me to any information on what was involved?
I’d also be interested in designs that use some sort of checkpoint / restart strategy for the running system image. Indeed, any plausible suggestions would be welcome…
Most Liked
benwilson512
I haven’t used nerves a ton, but when I did this was exactly my experience. I hit power, and within ~3 seconds the device was on, booted, and running my code.
Last Post!
OvermindDL1
Even nerves could do it, just needs the hardware for it. They tend to be slow because they need to use non-volatile ram or they need to suspend to/from storage every time as quick as possible. I don’t really know the details but I’ve seen some things a prior workmate built, plus there are things like the e-ink readers and so forth that work similarly.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









