Go to Main Contents

:: Industry developments

Thousands of people in the school year or major events are certified as WiFi at the park: how can you not be able to grow?

The opening season of school freshmen's visits, large campus events, annual meetings, and job fairs, where thousands of people at the same time pull out their mobile phone company WiFi, the authentication server was immediately filled with half a day: Portal page loaded to verify...

Your position:Home > Content Centre > Industry News > > Text

The start of the school season, the park events, the annual conferences and the job fairs, where thousands of people simultaneously pulled out their mobile phones to WiFi, the authentication server was suddenly filled with: Portal page loads for half a day, the code is not received, the certification is successful but it is not online. The normal system used usually has a high-end supply of paralysis.

Let's figure out how many peaks we have.

The park area may have several hundred online users, but thousands of people are connected at the start of the school season or during major events. Requests for certifications are concentrated and not smooth growth.

Where are the co-mixing bottlenecks on authentication servers?

The bottlenecks in the authentication system are usually three locations. The first is for RADIAUS certification requests: each user, WiFi, sends a RADIUS request to the authentication server, which checks databases, verifies accounts, generates session, and single servers can process hundreds to 12,000 requests per second, line up when they start to explode. The second is Portal pages and send them together: thousands of people load Portal pages simultaneously, Web servers and bandwidth are tight, and users repeat and request more if they cannot load them. The third is database connectivity: each authentication request is checked for a user list and all new requests are time-consuming when the database connection pool is full.

Vertical extension: single server first performance

The most direct extension is vertical: the CPUs of the authentication server are added to the core, the memory is added to 32 G and the database is replaced by SSD from a mechanical disk. RADIUS services, Portal Web services, databases are not designed to be crowded into a machine and deployed separately to different servers. RADIUS services are computing-intensive, multinuclectuated CPUs can significantly improve processing capabilities. Portal web services are cached, static resources (page pictures, CSS) are stored locally or CDNs, with dynamic interfaces only backending. Databases are read and write separate, authentication queries go from the library and write operations from the main repository.

Horizontal expansion: multiple certified server clusters

Vertical to top, horizontal: multiple authentication servers are deployed with load balance. AC configures multiple RADIAS server addresses and requires certification to be distributed to different backends on a rotation or minimum connection. User session synchronizes between multiple servers, regardless of which one process is processed, and the status is consistent. Databases are separated from added reading and writing, multiple authentication servers are joined with a database cluster. In lateral expansion, note that new servers are configured, versioned, strategyd and main server are identical and not available for an old version.

Portal Page High and Optimized

Portal pages are the first segment of high-sprawl. Optimization: First, the page should be light, not embedded in large pictures and videos, a Portal page is controlled within 200 KB and the cell phone is open for second. Second, static resources on CDN or local caches, not to pull from backend servers at every time. Third, authentication code senders must be limited in frequency, with only one signal sent within 60 seconds to prevent users from repeating. Fourth, peak periods simplify Portal pages by keeping only necessary input frames and log-in buttons, pushing out all the public and advertising modules. Fifth, prepare a backup Portal server that can't be worn by the main server until it is replaced.

SMS Channel high and ready.

SMS authentication codes are also a bottleneck when they are high and sent. Thousands of people want to verify them at the same time, and text-message channels send as many times as they can every second.

Preheat and pressure before event

Preparations are required in the week prior to a major event: first, to pressurize the authentication server and use tools to simulate 2000 and send simultaneous certifications to see response times and success rates. Second, to check the size of the address pool, thousands of users have to allocate IPs online at the same time, and the address pool is not sufficiently well-developed. Third, to examine the export bandwidth, users of the site brush video and friends' rings, with several times the normal frequency of the bandwidth occupancy, and to confirm that temporary expansion can be achieved in advance and by operators. Fourth, to prepare an emergency programme: if the certified server is unable to hold up, to temporarily open a non-certified SSID on the site, to access only the Internet, without making account checks, and to guarantee basic connectivity. Fifth, IT duty personnel are on-site and can respond in five minutes when a problem arises.

The downgrading strategy for high-scaling scenes

When system pressure exceeds design capacity, it requires a downgrading strategy that does not allow it to collapse. Level 1: Disable Portal page dynamic content (advertisement, advertising, recommendation), only keeps login functions. Level 2: temporarily unsophisticated MAC, let certified older users go directly and without RADIUS. Level 3: temporarily deactivate text message authentication codes during peak periods, turn them into sweep or one-key authentications, reduce SMS access and RADIUS pressures. Level 4: field-to-exact release of the event from the decertification mode, then refill the log.

The campus WiFi certification is high-complex, designed to be top-down, pressure tested, downgraded. It is not a problem to have the equipment available on a daily online basis, but it must be expanded and stressed in advance of school seasons, annual meetings, major events. Problems arise as a step towards basic network connectivity before restoring the accreditation process.

Access Program I'll be right back. Telephone counselling