Rich_Morin

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

benwilson512

Author of Craft GraphQL APIs in Elixir with Absinthe

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

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.

Where Next?

Popular in Questions Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement