A low level priority question: A question about multi-instances of WeeWx and a more powerful processor on the horizon

33 views
Skip to first unread message

DR

unread,
Sep 30, 2023, 9:08:34 PM9/30/23
to weewx...@googlegroups.com
I have three different RaspPi units running WeeWx from some of my
stations (like most with this hobby, some obsessions like more than one
seems somewhat common).

I know it has been said that neither WeeWx was designed to do, nor is
easy to accomplish, multiple instances running on a single RaspPi.

I also just heard that there is a new version of Rasp Pi coming, a 5,
sometimes towards the end of the year, with between 2 and 4 times the
computing ability of the Pi4.  4 is no slouch, and runs fine, but Ihave
three of them sitting on the shelf doing their solitary thing.

I have my versions pretty well tweaked, but still have a lot of work to
do for my attempt at a very simple driver, I am dreaming of maybe a nice
end-of-year present of a new RaspPi 5 and WeeWx 5, and having all the
stations running off one computer.


Are any of the changes to the upcoming WeeWx 5 likely making it easier
to run it in what I call  multiple instances (probably the wrong use of
the word) on the same computer?

Dale

p q

unread,
Sep 30, 2023, 9:13:25 PM9/30/23
to weewx...@googlegroups.com
I haven't been following the story of having multiple Weewx on a single computer. What's the problem? Performance - then having a faster computer would help? Instances relying on the same resources to do the same thing? Having more compute power won't help that, but it might make it more practical to use containers or some other virtualization technology that was previously limited by the hardware.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/54e82588-e484-403f-9556-303e03d402d7%40gmail.com.


--
Peter Quinn
(415)794-2264

Tom Keffer

unread,
Sep 30, 2023, 9:16:57 PM9/30/23
to weewx...@googlegroups.com
One v5 change that makes it easier to run multiple instances is that all station data has now been cleanly separated from the "code." So you can put skins, configuration files, and even extensions in a separate place for each station. That makes it a lot easier to keep track of what instance is using which configuration file and skin.

As far as compute power is concerned, unless you're running some very intensive reports, I would think an RPi 4 would have no trouble running 3 instances.

I run 3 instances on a 15 year old fit-PC with 512MB of memory and a 32-bit AMC Geode processor running at 500 MHz and it has no problem.

On Sat, Sep 30, 2023 at 6:08 PM DR <wxe...@gmail.com> wrote:

vince

unread,
Sep 30, 2023, 11:21:33 PM9/30/23
to weewx-user
A pi4 can run quite a lot very easily especially if you dockerize your weewx setups.  The new v5 as Tom mentioned would make it much simpler as well if you wanted to go that way (one installation of 'code' and different trees for data/skins/config files) although you would need to cook up your own startup file setup.

Really comes down to whether your current weewx installations hypothetically need to attach to the same physical serial/usb port or network port.  If there's no contention there, should be easy to do.
Reply all
Reply to author
Forward
0 new messages