In this study, we examined the interactions between dietary manipulation and temperature variation on the organism’s ability to fight against P.rettgeri infection, followed by estimating changes in fitness traits such as fertility and stress resistance to explain the variation in infection outcomes. Specifically, we found that virgin flies reared on a low-carbohydrate diet showed improved post-infection survival and infection tolerance after P. rettgeri infection compared to those raised on standard or high-carbohydrate diets, but the mated individuals lost the post-infection survival benefit of a low-carbohydrate diet. Also, rearing under a standard diet reduces post-infection survival when virgin individuals are exposed to higher temperatures, but this does not apply to mated flies or those reared under low- and high-carbohydrate diets. Diet manipulations and reproductive status thus critically influenced the effects of thermal stress on infection outcomes. Interestingly, in none of the treatments did pathogen burden predict pathogen vulnerability—i.e., we did not observe any changes in bacterial load due to diet and temperature manipulations, despite differences in post-infection survival rates. This suggests the need for further research to determine whether the effects of diet, temperature, and life history primarily operate by altering pathogen tolerance rather than by actively reducing the pathogen load through resistance mechanisms to prevent immunopathological effects [27, 28].
Our results were consistent with one of the previous findings, which showed high-glucose diets to have adverse effects on the quality of immune defence against the bacteria P. rettgeri (Fellous and Lazzaro, 2010). A high-carbohydrate environment can reduce the constitutive expression of antimicrobial peptides (AMPs) like IMD-pathway responsive Diptericin, which are critical for survival against P. rettgeri (Fellous and Lazzaro, 2010; Shit et al., 2022). By contrast, flies maintained on a low-carbohydrate diet perhaps had more opportunity to access protein, which may translate into more AMP production [30], thereby rendering the flies more resistant to P. rettgeri. Indeed, previous studies have demonstrated that fruit flies raised on a low-carbohydrate diet exhibited increased Drosocin expression when infected with P. rettgeri [30], which is recognised as one of the IMD-responsive AMPs that protects against P. rettgeri in females (Shit et al. 2022). Parallely, a high-carbohydrate diet may also induce insulin resistance in flies, which has been previously linked with reduced hemolymph melanisation and the expression of AMPs [31, 32]. Flies reared in a high-carbohydrate diet in our study may have encountered a negative feedback loop between insulin signaling and the signaling pathway responsible for innate immunity [32], where induced insulin signalling can suppress the transcription factor Forkhead box O (FOXO), leading to reduced expression of several antimicrobial peptides such as Diptericin, Cecropin A1, and Drosomycin, which results in higher pathogen vulnerability [31].
One of the most striking outcomes of our results is that although the individuals reared under standard food had higher susceptibility against P. rettgeri in warm temperatures, the post-infection outcome is similar in both low-carbohydrate and high-carbohydrate reared individuals. In fact, any deviation from the standard diet (i.e., both low- and high-carbohydrate diets) significantly improved post-infection survival at high temperature, thereby mitigating temperature-induced decline in post-infection survival. We speculate that although high temperature depletes body energy reserves in D. melanogaster [33], rearing on a low-carbohydrate diet may help them to regain the temperature-induced loss of post-infection survival by increasing the expression of immune genes [30]. On the other hand, individuals reared under a high-carbohydrate diet might be promoting more energy storage in the fat body by stimulating both carbohydrate and lipid storage pathways [34, 35]. This may help them effectively offset energy depletion during infection [36] and temperature stress [33], improving post-infection health at warm temperatures. Moreover, we observed a general decline in post-infection survival with mating, regardless of dietary treatments. This also led to the loss of the survival benefit that we observed in virgin flies reared under a low-carbohydrate diet. This is expected as the mating and subsequent investment in egg production are costly, reducing resources available to mount an effective immune response (Short et al., 2012).
In addition to poor post-infection survival, individuals on a high-carbohydrate diet also experienced reduced fertility compared to those on other dietary regimes, suggesting that the immunity-reproduction trade-off may not explain the variation in infection outcomes. Lower fertility with a high-carbohydrate diet is, in fact, consistent with a previous finding that showed fruit flies reared under a high-glucose diet produced fewer offspring [37], which may arise from protein deficiency, causing a significant reduction in yolk protein concentration in adult female flies, a factor essential for egg development [38]. These individuals also showed better starvation resistance, suggesting better energy storage, and corroborate previous experiments indicating that a low-protein diet enables fruit flies to deposit more lipid and lower the critical body weight to tolerate starvation stress [34]. This may have eventually helped them utilise endogenous fuels more effectively and become more starvation-resistant [34]. Instead of an immunity-reproduction trade-off, our results thus reveal a trade-off among somatic maintenance functions in flies reared under a high-carbohydrate diet (McKean et al., 2008)—such as immunocompetence vs. stress response—that might explain the low post-infection survival rates observed in these flies. However, this hypothesis needs further exploration.