In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Start ship-server and you are ready to test when you see the following log.
2021-01-02 19 cn.sp.sync.WebsocketSyncCacheServer 57 cn.sp.sync.WebsocketSyncCacheServer: websocket server receive message: [{"operationType": "INSERT", "ruleList": [{"id": 1, "appId": 5, "appName": "order", "version": "gray_1.0", "matchObject": "HEADER", "matchKey": "name", "matchMethod": 1, "matchRule": "ship", "priority": 50}]}]
Use the Postman request http://localhost:9000/order/user/add,POST method, and header sets name=ship. You can see that only instance 1 has a log display.
= add user,version:gray_1.04.2 performance stress test
Pressure testing environment:
MacBook Pro 13 in.
Processor 2.3 GHz Quad Core Intel Core i7
Memory 16 GB 3733 MHz LPDDR4X
One number of back-end nodes
Stress testing tool: wrk
Stress test results: 20 threads, 500 connections, throughput of about 9400 requests per second.
At this point, the study on "how to design a high-performance gateway" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.