Optimal resource allocation in cellular sensing systems | Synapse