Tag:Place an order
-
MySQL — business application of pessimistic lock and optimistic lock
Data consistency problem Suppose there is a goods table, which contains ID, commodity name and inventory fields: CREATE TABLE `goods` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) DEFAULT NULL, `stock` int(11) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `idx_name` (`name`) ) ENGINE=InnoDB Insert data: INSERT INTO `goods` VALUES (‘1’, ‘iphone’, ‘1000’); A. B two […]
-
Express order 100 unknown error? Express 100 mailing / intra city distribution interface FAQ
Mailing class After the account is registered, the merchant sending interface shows that the order failed. Can you debug it? 1. The merchant’s sending interface has no interface fee, and the recharge fee is freight. If there is no recharge, the interface cannot be called, and the minimum recharge is 100 yuan; 2. After the […]
-
On the trading of the middle office structure
The concept of Zhongtai has been said for many years. Its origin is a Finnish game companysupercellLater, Ali put forward the strategy of big, middle and small front desk, and then eroded China like a mad dog. In order to appear arrogant, many small companies have to deal with him and fuck him. Anyway, if […]
-
SOA vs. microservices: what’s the difference?
To be honest, before my internship, I didn’t even know what SOA was. I only heard of microservices. After all, microservices are so popular that it’s hard to know. I think it must be microservices during my internship. After joining the group, I found that it was SOA architecture. I was confused at that time. […]
-
How to design the architecture of secsha system
Second kill background In order to attract customers and gather popularity, e-commerce often plans some second kill activities. The goods sold in the event are either much lower than the market price or relatively scarce (such as some newly released goods). These goods are generally sold by e-commerce in limited quantity and time. There is […]
-
Redis publishes and subscribes, with small functions and great use. It’s really not so waste!
Today, little black brother will introduce redis publish / subscribe function to you. Maybe some friends are unfamiliar with this function and don’t know what this function is for. It doesn’t matter. Brother black, let’s give an example first. Suppose we have a business scenario where we need to notify the inventory service for shipment […]
-
I took the initiative to do business monitoring, and the product manager gave me a thumbs up
Monitoring has always been a topic that can be talked about for a long time. In addition to system monitoring, there is another problem that is often overlooked. Today, let’s talk about this easily overlooked business monitoring. Monitor what? As a developer, it’s not just about developing functions. For the product or module you are […]
-
ASP. Net core wechat payment (II) [when publishing to the server for signature and encryption, there is an error: the system cannot find the specified file apiv3]
reference material . net wechat payment refund operation “the system cannot find the specified file” Error phenomenon The unified interface and order query interface of WeChat API (V3 payment) is successfully debugged locally, and it can be used. However, when it is released to the server, it calls the interface wrong. The wrong content: the […]
-
Online store system_ Business logic architecture design of coupon system_ OctShop
Coupon system, coupon verification, online and offline can be used Coupon system: coupons can be offset not only online but also offline. There are two kinds of coupons: coupons and discount coupons, which can be freely released by merchants. Online credit: after the buyer obtains the coupons, he can select the corresponding available coupons to […]
-
Rocketmq actual combat (Part I)
When expectations disappear, fear arises. ——Gracian outline Illustration Case introduction 1. Business analysis Simulate the [order] and [Payment] businesses in the shopping scenario of e-commerce websites Illustration (1) Place an order The user requests the order system to place an order The order system calls the order service to place an order through RPC The […]
-
As low as 20% off cloud database, have you seen it?
All major e-commerce platforms have double eleven seats in the whole network. Do you know that in addition to the e-commerce platform, Huawei also has double eleven? The ultra-low discount is in the Huawei cloud 11.11 cloud carnival, and the minimum discount of cloud database is as low as 20%. I don’t know if you’ve […]