
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?
Using React Native and Socket.IO to build a real-time bidding system lets users and servers instantly engage, hence producing a dynamic and engaging auction environment. This method lets bids be changed live, therefore guaranteeing that every player sees the most recent offers right away. Whereas Socket.IO effectively maintains real-time, bidirectional communication, React Native offers a versatile framework for creating cross-platform mobile apps. For markets or auction sites where speed and immediacy are critical, this kind of system improves user involvement and openness. Using this technology creates a flawless, responsive bidding and tendering experience available on several devices.
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.
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!!
🚀
🤩
Nice
Thank you Wilmela! 🤩
Great article, really makes building a bidding app look super fun with Socket.io and React Native!