t-io 3.8.1 released, a domestic network programming framework that supports hundreds of millions of long connections

About the title

For the first time, t-io proposed a billion-level long connection in public . The author built the "non-perceptive" cluster capability at the t-io layer as early as 2020. After more than a year of self-testing, he also experienced benign feedback from cluster customers in 2021 and 2022. , Today is the time to announce that t-io has a long connection capability of 100 million. For more information about t-io clusters, please go to: "t-io technical white paper" , which has a description of the cluster architecture.

 

 

Modify point

  1. PR merge
  2. pom upgrade
  3. Individual local performance optimization

POM coordinates

<dependency>
    <groupId>org.t-io</groupId>
    <artifactId>tio-core</artifactId>
    <version>3.8.1.v20220401-RELEASE</version></dependency>

follow-up plan

  1. With the help of netty, t-io is used to implement the mqtt protocol, so that everyone can use t-io to build their own IoT platform (in order to better take care of netty users, the t-io version of mqtt will try to use the original netty-mqtt version in the naming)
  2. Launched the web test terminal of mqtt-client

Users with more needs can leave a message for feedback, and we will choose the best


Network programming is bitter, but it will be sweet after using t-io

t-io is a high-performance network programming framework developed based on java. Its explosive performance, long battery life stability, extremely easy-to-use API, and rich and sufficient built-in functions make it popular among engineers as soon as it debuts. , and is passed on by continuous word of mouth

Stargazers over time

source code repository

t-i gitee t-io github

Why develop t-io

Instead of learning the thick "xxx authoritative guide", it is better to stand up and develop independently and create programming APIs that more people can understand at a glance

t-io's past and present

  1. In 2010, talent-tan took over the communication module of the network management system in a large communication factory. The old code uses traditional IO, and a client needs at least 3 threads to guard, which often causes memory overflow and downtime. Talent-tan was commissioned to rewrite the communication module to address all the concerns of the leadership
  2. In 2012, the talent-nio framework was developed based on nio
  3. In 2013, a transparent transmission module in mycat was written with talent-nio
  4. In 2014, the IM module of heatwave live broadcast was realized with talent-nio
  5. In 2015, talent-tan began to pay attention to aio technology, and at the same time further abstracted the thread pool, lock processing, and concurrent data structure in talent-nio, so that these "Wang Xietang Qianyan" flew into "the vast number of code farmers"
  6. In 2016, talent-nio was rewritten based on aio technology, named talent-aio, the code settled in the code cloud, low-key open source
  7. In 2017, talent-aio changed its name to t-io, and began to spread t-io in the form of news in open source China. In the same year, t-io became a GVP project, and t-io gained a large number of users.
  8. In 2018, peripheral products such as tio-http-server, tio-websocket-server, and tio-webpack were implemented based on t-io. These products not only verified the excellence of t-io, but also promoted the progress of t-io.
  9. In 2019, a Huawei team conducted a 3-6 month copying limit stress test for a smart product based on t-io. t-io withstood the test and laid a solid foundation for the official entry into Huawei's open source library.
  10. In 2020, t-io officially entered Huawei's open source library, the first commercial IM Tan Chat developed based on t-io was officially launched, and the cluster version of t-io was officially developed and passed the stress test.
  11. In 2021, customer feedback based on t-io research and development of Tan Chat is very stable
  12. In 2022, Tan Chat, a cluster version based on t-io's research and development, won the ultimate reputation from users, and also brought a long-term financial guarantee for t-io's continuous investment.

Pain points solved by t-io

The starting point of t-io is to solve the user pain points of network programming, and its mission is to make the world no longer difficult to develop network programs, and look at the surprises t-io brings to users

  1. Easy to learn and use, talent-tan created t-io because the learning cost of similar products on the market is high, so when designing APIs, special attention is paid to user acceptance. The first batch of t-io users mastered t-io just by watching the demonstration project officially provided by t-io
  2. Rolling over the data monitoring capabilities of all well-known similar products----not only provides comprehensive monitoring data, but also ensures excellent performance
  3. Built-in heartbeat timeout check, heartbeat timing sending ability
  4. Extremely polished underlying cluster capabilities, which can seamlessly solve the cluster needs of large-scale products such as IM and the Internet of Things
  5. Dropped automatic reconnect capability
  6. t-io measured performance 1: 1.9G memory stably supports 300,000 TCP long connections: https://www.tiocloud.com/61
  7. t-io measured performance 2: use t-io to run 10.51 million chat messages per second: https://www.tiocloud.com/41
  8. t-io measured performance three: netty and t-io comparison test results: https://www.tiocloud.com/154
  9. Built-in ack message capability
  10. Built-in half-pack sticky pack handling
  11. Self-created tool libraries such as synchronization locks, synchronization safe thread pools, and synchronization data structures provide rich out-of-the-box APIs for business applications
  12. Built-in slow attack defense mechanism to help applications automatically block suspected IPs
  13. Rich ecology, http, websocket, mqtt and a large number of private protocols have been implemented with t-io
  14. Low requirements for development engineers, saving labor costs for enterprises
  15. Excellent performance, saving the cost of hardware deployment for enterprises

t-io documentation

https://www.tiocloud.com/doc/tio/85

t-io technical white paper

"t-io technical white paper"

t-io technical white paper

t-io word of mouth

t-io user word of mouth (1)

t-io user word of mouth (2)

t-io user word of mouth (3)

t-io user word of mouth (4)

t-io user word of mouth (5)

t-io user word of mouth (6)

t-io use case

t-io use case

t-io witnesses history

t-io witnesses history

Guess you like

Origin www.oschina.net/news/190048/t-io-3-8-1-released