What is this article about?
Goinâ Once, Goinâ Twice, Sold to the lady with the red dress đđ»
You have probably heard that many times in m...
For further actions, you may consider blocking this person and/or reporting abuse
How are you today?
Have you worked with React Native before?
Hi, I got "Network request failed", can you help me?
Some browsers/platforms reject non-secure websocket(
ws://
) connections/handshakes.Fix is easy tho, as adopting
https
, and the same story for WS, usingwss://...
Thanks!!
How would you handke the concurrent event when users is bidding at the exact same time and price? đ
On server check the price before updating, incoming bid must be greater that current price.
If both users bid at same time who's request comes first will update the price and second will see error to increase bid.
Thanks for the reply. Really love the discussion!
But anyway, I get your point but actually....it's not that simple. Well, your point technically, yes, but actually no. Sometimes, the implementation is much harder than you think.
For me, my approach is using Redis to solve this problem instead of DB transactions.
đ
đ€©
Nice
Thank you Wilmela! đ€©