Hi @bene,
A light client may see blocks faster than we publish them on Infura, since the newBlockHeader
event needs to work it’s way from the backend node through our intermediate systems before it reaches your websocket session. However, the nodes themselves are getting the blocks as they appear on the network.
For sending txs, I would not expect a light client to outperform our setup for tx propagation, since we typically broadcast txs to multiple backend ethereum nodes which are then in turn connected to a high number of peers.
But, if you are already using a light client to get new block events as quickly as possible, there’s no harm in sending your transactions to both your light client and our endpoint, worse case is you may receive a “known transaction” “error” on whichever endpoint you send two second if the tx is propagated across the devp2p network before your 2nd RPC call completes (I put error in quotes since in your case it’s not really an error, just an indication that the node has already seen the transaction your are sending it, the tx will be processed as normal).
If you are open to sharing with us the nature of your time-critical transactions we’d be interested in hearing more about your use case, you can PM me on this forum or reach us through email or a support ticket if you don’t feel like discussing that in this public forum.