Perhaps a running list of metaphors so far:
Restaurant: bacterial cell
Building: cell membrane
Doors: channels and transporters
Patrons: metabolites/compounds/substrates and products
Managers: two-component proteins to regulate gene transcription
Employee list: genome
Copy machine: DNA replication machinery
So, in the last part our restaurant was going great and we opened up a new restaurant with the same employee list among other things. The two restaurants are now independent of each other and are free to act accordingly.
What if things change and times are not going as well? The overall number of patrons drastically decreases, not enough electricity (ATP) to run the restaurant or running water (redox potential)? What if disaster is about to strike? How can the restaurant prepare all the managers, employees, the building, the doors, the patrons for it?
Luckily the restaurant has a monitoring system that can quickly make sure the restaurant will be ready for anything that comes its way. The monitoring system can take snapshots of all data generated by the restaurant: power supply, water supply, patron count, employee count, conditions outside the restaurant like weather or competing restaurants. The monitoring system is the bacterial second messenger systems. With the support of the managers, the monitoring system can instantaneously keep track of all variables and make changes as needed.
The system is detecting the start of a drought. This drought will lower the number of patrons coming and going from the restaurant. The drought will also change the available electricity and water supply of the restaurant. The monitoring system sounds the alarm, a message is sent over the intercom for all the managers and employees to hear and react to. The intercom message alerts some managers to call in additional employees while telling others to stop their work. Some employees take on a new job in preparation for the drought. The intercom message is the bacterial second messenger cyclic-di-GMP. The entire restaurant begins preparations for the drought so it can survive until better times are present. Other than changes to managers and employees, some new employees are called in to prepare the building itself. Perhaps to change the number of doors. The employees may also change the exterior of the building to better withstand the drought like changing a wood exterior to a brick or stucco one. The brick or stucco are the exopolysaccharides, complex sugars on the exterior of the cell that can serve as protection or to help cells adhere to each other to ride out the hard times together.
When times change, the restaurant has to be able to change with them. That is why these restaurants have been in business for ~3 billion years and still going strong.