Running two processes on Raspberry Pi at the same time

0 votes
Hello all.

I have a Raspberry Pi 2 running my home automation project. Now, I'm trying to start the MQTT server and run the Home automation webserver simultaneously to add more value to my project and get better results out of it. Is it possible to do so and are there any downsides to it?

Thanks in advance.
Aug 28, 2018 in IoT (Internet of Things) by Bharani
• 4,660 points
1,980 views

1 answer to this question.

0 votes
I see no reason why it shouldn't be possible. Since the Raspberry Pi is a miniature of a processing unit, it should efficiently run multiple processes at the same time. In fact, just like most computers, the Pi is already running many background processes along with any process that you run.
And, speaking of downsides to running the two processes that you are talking about, there shouldn't be any unless both try accessing the same network port for their servers. But again, the Home-Automation.io doesn't run its own message broker by default, so there shouldn't be any problem as long as you don't subscribe using its MQTT broker.
answered Aug 28, 2018 by DataKing99
• 8,250 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer
0 votes
1 answer

Connect Android Things based Raspberry Pi 3 to wifi network for the first time!

Hey, I think its alright!  Your Raspberry Pi ...READ MORE

answered Jul 19, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
1,133 views
0 votes
1 answer

Setting time on Raspberry Pi using just PowerShell

The Enter-PSSession is for interactive sessions, so ...READ MORE

answered Aug 10, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
946 views
0 votes
1 answer

Accessing Kinect data on the Raspberry Pi

Yes, you can. The Kinect has a ...READ MORE

answered Aug 14, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
3,281 views
0 votes
1 answer
0 votes
1 answer

USB Mobile Broadband Modem on Windows 10 IoT

I was looking for a solution too, ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,280 points
2,703 views
0 votes
1 answer

Autostart published Application on Windows 10 IoT

It can be done by making changes ...READ MORE

answered Jul 13, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,774 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Firewall issue with Webserver in UWP on Raspberry Pi 3

Here's what could be happenning: You port hasn't ...READ MORE

answered Oct 12, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
1,095 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP