
Understanding And Improving Web Security Performance
The cornerstone of a secure web architecture is a web application firewall (WAF). A WAF is essentially a web proxy that sits in front of your web application, detecting and blocking web attacks and application-layer DDoS attacks. Although some vendors focus exclusively on web API security, modern next-generation WAFs typically include API protection as well. For simplicity, 'WAFs' will refer to solutions that also handle API security.
Performance Issues In Web Security
Although WAFs are designed to protect web applications, they often suffer from low performance (download), leading to not only scalability limitations but also security issues. A high-quality, deep-inspection WAF might process only 1,000 to 5,000 requests per second (RPS), depending on the vendor and workload. Under heavy load, latency for the 99.9th percentile and above can exceed one second. Given that an average web page triggers dozens of HTTP requests, WAF-induced latency may result in 10 seconds or more total page load time. In contrast, open-source web proxies like NGINX or HAProxy can easily handle 100,000 RPS and have just several milliseconds of latency for the 99.9th percentile.
The reason WAFs are so much slower is the intensive logic applied to every request and response: normalization of input data, hundreds of complex regular expressions, validation routines for various data types, the logic tailored to specific frontend/backend frameworks and dozens of other things. Scaling a WAF to 100,000 RPS and beyond can be cost-prohibitive, especially for high-traffic infrastructures. Yet, even smaller web services (100 to 1,000 RPS) can experience traffic surges from DDoS or AI-feeding bots.
Web Bots And DDoS Attacks
Advanced proxy services now help web bots (e.g., scrapers) avoid detection. Although bots often aren't intended to cause DDoS, their inaccurate logic in fetching information can have that effect. For instance, LWN.net recently experienced such a case. The AI industry's demand for data has also fueled the growth of bot-avoidance tools.
WAFs' DDoS Weakness
Any slow logic is a potential DDoS vector—WAFs included. A well-known example is a regular expression denial of service (ReDoS), where inefficient regular expressions, or regexes, are exploited to spike CPU usage.
Rate limits are a basic but effective mitigation tool. However, they're hard to configure safely so they don't affect normal users, are vulnerable to misjudged thresholds and can be inflexible with unexpected marketing surges or application degradations.
Thus, more sophisticated traffic analysis—often powered by machine learning (ML)—is required. But ML-based systems need time (often several minutes) to observe classification traffic and react. This means DDoS attacks can succeed temporarily before protection kicks in.
In LWN's case, bots used a proxy network distributing requests across millions of IP addresses, with each sending a single browser-mimicking request. Such attacks are hard to detect and often slip through defenses.
Architectural Limits Of Traditional WAFs
Most WAFs are built on general-purpose web servers like NGINX or Envoy, which are optimized for daily workloads, not for aggressively filtering malicious traffic with minimal resource consumption. Common inefficiencies include redundant data copies and inspections of the same data. Also, the event handling model of a web server isn't well suited to heavy request processing. Cloudflare, for example, has blogged extensively about optimizing and reworking NGINX internals to improve WAF performance.
Improving Web Security Performance
One solution is to introduce a lightweight application-level load balancer in front of the WAF. This component classifies requests and forwards to the WAF just the ones needing inspection, such as dynamic content requests, and offloads the WAF by caching responses.
Ideally, the load balancer should be a lightweight WAF itself to block trivial attacks early. It should also come from a different vendor to reduce the risk of shared weaknesses that attackers could exploit to bypass protection. It should also include caching to reduce backend load.
To resist cache-targeted attacks (e.g., web cache deception), this balancer must support secure caching logic. Keeping only a small, hot subset of resources in RAM helps ensure resilience to (semi-)random URL DDoS attacks, reducing disk I/O bottlenecks.
If your WAF uses ML for detection, it may benefit from visibility into all traffic, not just what passes through the cache. In such cases, extended access logs from the balancer should be fed into the WAF's ML pipeline.
Lastly, the load balancer should include a programmable rules engine, allowing WAF rules to be offloaded when safe, improving efficiency by blocking bad traffic earlier.
Conclusion
Web security and performance are tightly linked aspects of any web application: It's impossible to achieve strong security on an underperforming infrastructure. The performance and scalability of WAFs are crucial for effective DDoS resistance. This becomes even more critical with the growth and diversity of AI-driven businesses employing advanced bots for scraping—these bots are hard to detect and may cause severe overloads.WAF accelerators not only mitigate the performance degradations introduced by WAFs but also enhance DDoS protection, enable cost-effective scalability and even improve the overall security of architectures that use WAFs.
Forbes Technology Council is an invitation-only community for world-class CIOs, CTOs and technology executives. Do I qualify?
Hashtags

Try Our AI Features
Explore what Daily8 AI can do for you:
Comments
No comments yet...
Related Articles
Yahoo
23 minutes ago
- Yahoo
Leach International Corporation Approves FDH Electronics Brand Stealth Aerospace as an Authorized Channel Partner for the Commercial Airline and MRO Markets
Commercial aviation industry to benefit from access to Leach's trusted product lines through a reliable, scaled and independent distribution partner FDH Electronics & Leach Aerospace OKLAHOMA CITY, Aug. 17, 2025 (GLOBE NEWSWIRE) -- Oklahoma-based FDH Electronics, a unified FDH Aero division focused solely on serving the mil-aero market's electronic component needs, is pleased to announce that its aftermarket division, Stealth Aerospace, has been named as an approved distribution channel by Leach International Corporation to support commercial airline and MRO customers. This strategic partnership builds on the companies' long-standing relationship and reinforces their shared commitment to deliver best-in-class service, product availability and technical support to the commercial aviation aftermarket sector. Alon Glickstein, Vice President at FDH Electronics, commented: 'We are incredibly proud to have established this partnership with Leach International. Their long-standing reputation for high-reliability products fits perfectly with our mission at FDH Electronics — to provide our customers with exceptional service, technical support, and inventory availability that meets their evolving needs.' Leach International, a leading manufacturer of advanced electrical switches, relays, and power distribution components for the aerospace and defense markets, sees this partnership as a key step toward strengthening its presence in the aftermarket segment. Justin Coates, Vice President of Sales & Marketing at Leach International Corporation, added: 'This agreement with FDH Electronics' Stealth Aerospace division ensures that Leach's products will be supported with an incredibly high level of service. Their proven performance in the aerospace aftermarket gives us full confidence that customers will benefit from rapid access to inventory, technical insight, and dedicated aftermarket expertise.' This announcement marks a new chapter in aftermarket excellence and provides the commercial aviation industry with access to Leach's trusted product lines through a specialized and reliable distribution partner. About FDH ElectronicsFDH Electronics is a global one-stop shop with one of the most expansive inventory levels in the industry, built on FDH Aero's industry-leading supply chain solutions. It supplies a variety of interconnect, wire and cable, and electromechanical components for the aerospace, defense, and space markets. FDH Electronics is your go-to resource for value-added connectors, 1553 Data Bus interconnect products, custom harnesses, high-performance aerospace-grade wire and cable, and high-frequency RF connectors. When you need critical interconnect or electromechanical components, you can rely on FDH Electronics to deliver. To search by part number, please visit: Contact:Heather RosenowExecutive Vice President, Marketing & Communicationsmediarelations@ About Leach International CorporationLeach International Corporation has been a leader in aerospace switching and control technology since 1919. Leach designs and manufactures high-reliability relays, contactors, and power distribution systems for aerospace, defense, and industrial applications. Contact:relayed@ A photo accompanying this announcement is available at in retrieving data Sign in to access your portfolio Error in retrieving data Error in retrieving data Error in retrieving data Error in retrieving data
Yahoo
23 minutes ago
- Yahoo
Snap Stock Plunged After Earnings. Buy the Dip?
Key Points Sponsored Snaps are showing strong engagement and conversion gains. Subscription revenue from Snapchat+ is growing quickly from a small base. Heavy stock-based compensation and dilution keep valuation concerns high. 10 stocks we like better than Snap › Snap (NYSE: SNAP), the parent company of social media platform Snapchat, took a hard hit following its second‑quarter earnings release earlier this month. Shares tumbled, driven by worries about slowing growth, execution missteps, and a worsening net loss. But dig deeper, and the underlying narrative is more nuanced; there were a lot of positives in the report, too. Revenue and users continue to grow at a robust rate, free cash flow has turned positive year over year, and new ad formats, such as sponsored Snaps, are demonstrating real engagement traction. Given the mix of good and bad in its underlying business and the stock's recent sell-off, it makes sense to check whether the shares have been pushed into oversold territory. Let's look at what changed in the business and what it might mean for investors today. Momentum in key areas Snap reported second-quarter revenue of $1.345 billion, marking a 9% gain from a year earlier. Further, the lifeblood of the company -- user activity -- performed exceptionally well. Daily active users (DAUs) rose 9% to 469 million, while monthly active users (MAUs) climbed 7% to 932 million. Operating cash flow reached $88 million, and free cash flow came in positive at $24 million, a notable reversal from the previous year, when the company burned cash. Still, Snap posted a net loss of $263 million (wider than a net loss of $249 million in the year-ago quarter), and adjusted earnings before interest, taxes, depreciation, and amortization (EBITDA) slid lower on a year-over-year basis to $41 million, underscoring that profitability remains out of reach. An ad platform glitch -- where auction settings pushed some campaigns to clear at unusually low prices -- weighed on performance early in the quarter. Snap reversed the change mid-period, and management said that advertiser activity is of my favorite data points to support the bull case: On the diversification front, "other revenue" -- primarily from subscriptions like Snapchat+ -- grew 64% year over year, and Snapchat+ subscribers rose roughly 42%, nearing 16 million. One of the quarter's most promising developments was sponsored Snaps -- video ads delivered directly into users' inboxes. Snap co-founder Evan Spiegel said in the company's second-quarter earnings call that after a user opens a sponsored Snap from their chat feed, they "exhibit significantly higher engagement per full-screen ad view, driving a 2x increase in conversion, a 5x increase in click-to-convert ratios and a 2x increase in website dwell times compared to other inventories. That signals a powerful new lever for monetizing deeply engaged the company's fast-growing subscription business, advertising revenue growth trends after the glitch was addressed, and momentum in sponsored Snaps, management guided for continued top-line growth in Q3. Valuation remains a concern Despite a handful of promising trends at Snap, valuation remains troubling. The company has long leaned on equity dilution and stock-based compensation to fund growth. While Q2 did include a $243 million share repurchase (30 million shares), its stock-based compensation burden remains high. Full-year stock-based comp is still pegged north of $1.1 billion, even after recent downward revisions. Keep in mind that we're talking about a company with only a $12 billion market cap. Dilution continues to erode per-share value, even as Snap shows cash generation. So while the sell-off may feel overdone, the stock hasn't quite yet fallen low enough to make it a bargain. Of course, I could be wrong. A potential bull case lies not in near-term profits but in optionality -- whether Snap can scale newer revenue streams, stabilize pricing, and get to a point where it doesn't need to regularly materially dilute shareholders. Overall, Snap trades at a valuation that remains questionable given its history of dilution and heavy reliance on noncash compensation. But the emergence of fast-growing subscription revenue, sponsored Snaps, better cash flow, and an engaged user base make it extremely interesting -- worthy of a high spot on any investor's watchlist. Should you buy stock in Snap right now? Before you buy stock in Snap, consider this: The Motley Fool Stock Advisor analyst team just identified what they believe are the for investors to buy now… and Snap wasn't one of them. The 10 stocks that made the cut could produce monster returns in the coming years. Consider when Netflix made this list on December 17, 2004... if you invested $1,000 at the time of our recommendation, you'd have $668,155!* Or when Nvidia made this list on April 15, 2005... if you invested $1,000 at the time of our recommendation, you'd have $1,106,071!* Now, it's worth noting Stock Advisor's total average return is 1,070% — a market-crushing outperformance compared to 184% for the S&P 500. Don't miss out on the latest top 10 list, available when you join Stock Advisor. See the 10 stocks » *Stock Advisor returns as of August 13, 2025 Daniel Sparks and his clients have no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy. Snap Stock Plunged After Earnings. Buy the Dip? was originally published by The Motley Fool Sign in to access your portfolio
Yahoo
23 minutes ago
- Yahoo
AAPL Stock Price Prediction: Where Apple Could Be by 2025, 2026, and 2030
Benzinga and Yahoo Finance LLC may earn commission or revenue on some items through the links below. Analysts are saying that Apple could hit $410 by 2030. Bullish on AAPL? Invest in Apple on SoFi with no commissions. If it's your first time signing up for SoFi, you'll receive up to $1,000 in stock when you first fund your account. Plus, get a 1% bonus if you transfer your investments and keep them there until December 31, 2025. Apple Inc (NASDAQ:AAPL) remains one of the world's most influential and closely tracked tech stocks. Its massive installed base, iconic products, and fast-growing Services business make it a focal point for both growth and value investors. As of August 2025, Apple's share price is hovering near all-time highs as investors weigh the company's future earnings power in artificial intelligence (AI), wearables, and digital services. Below, we'll take a close look at how Apple stock is performing today, where its valuation stands, and what experts think could happen to its price in 2025, 2026, and 2030. You'll find projections from Wall Street analysts and independent models, along with an overview of the key trends, possible risks, and different opinions shaping Apple's future. Current Apple Stock Overview Market Cap: $3.25 trillion Trailing P/E Ratio: 32.36 Forward P/E Ratio: 26.95 1-Year Return: +1.86% 2025 Year to Date: Down roughly 15%, but rebounding strongly from earlier lows As of August 2025, Apple (AAPL) trades near $224 per share, recovering from a steep first-half drop of over 15% as investor sentiment improves. The stock's trailing P/E ratio of 32.36 sits well above its long-term average in the low-to-mid 20s, reflecting the market's continued premium on Apple's brand and earnings power. Over the past year, shares have inched up about 1.9%, showcasing the company's historical resilience and ability to rebound from downturns. This elevated valuation suggests investors expect steady profit growth despite competitive pressures and rapid tech sector changes. With high margins and recurring revenue, Apple's Services division (App Store, Apple Music, iCloud, and more) is now the company's growth engine. iPhone demand, especially in China and India, remains a central driver, with an anticipated surge for the iPhone 17 launch in the third quarter of 2025. AI has been called an 'elephant in the room.' Apple's monetization strategy there has yet to emerge, with Wall Street still waiting for significant generative AI products. Competitive and regulatory headwinds are increasing, but Apple's pricing power and sticky ecosystem underpin optimism for the long-term. Don't Miss: The same firms that backed Uber, Venmo and eBay are investing in this pre-IPO company disrupting a $1.8T market — and you can too at just $2.90/share. Warren Buffett once said, "If you don't find a way to make money while you sleep, you will work until you die." Here's how you can earn passive income with just $100. Wall Street sentiment toward Apple (AAPL) is broadly positive. According to Benzinga, 29 analysts cover the stock, with a consensus price target of $233.04, ranging from a high of $300 (Tigress Financial) to a low of $160 (HSBC). The three most recent ratings from Wedbush, B of A Securities, and DA Davidson average $256.67, implying about 12.7% upside from current levels. This reflects optimism about Apple's long-term growth despite ongoing debates over its innovation pace and competitive pressures. Quick Snapshot Table of PredictionsYear Lowest Prediction Average Prediction Maximum Prediction 2025 $170 $225 $300 2026 $218 $362 $411 2027 $245 $362 $420 2028 $290 $387 $470 2029 $320 $412 $495 2030 $287 $349 $410 The forecast range in this table is based on algorithmic projections provided by Coin Price Forecast, StockScan, CoinCodex, and Market Beat. These models use historical price trends, volatility patterns, and moving averages to estimate future stock prices over multiple time horizons. Bull & Bear Case Before making a decision on Apple stock, it's crucial to weigh both the optimistic arguments for continued growth and the potential headwinds that could limit future returns. Bull Case Growth from iPhone replacement cycle (iPhone 17 and beyond), surging Services segment, and potential upside from new AI features or augmented reality/virtual reality (AR/VR) launches. High-margin services and wearables provide recurring revenue and ecosystem lock-in. Most analysts maintain "Buy" or "Moderate Buy" ratings for AAPL, citing balance sheet strength, buybacks, and innovation pipeline. Bear Case Regulatory and antitrust scrutiny in the U.S. and Europe could limit the percentage Apple collects from App Store sales or hamper new services. Margins pressured as hardware growth slows, especially given Chinese competition/risk of supply chain disruptions. Apple's current valuation remains rich unless earnings growth accelerates; any disappointment could prompt a sharp downside given macro risks. Despite Apple's massive resources, the company faces persistent criticism for lagging behind peers like Microsoft, Google, and even Meta in the rollout of advanced generative AI features. Apple Stock Price Prediction for 2025 Forecast Range: $170–$300 Analysts see moderate upside from today's price of around $224, with bulls eyeing further gains into late 2025 should the iPhone cycle and services outpace current estimates. A key risk is that valuation multiples could compress if revenue trends don't reaccelerate. Competitive gains from rivals and global regulation remain overhangs. Apple Stock Price Prediction for 2026 Forecast Range: $218–$411 2026 targets diverge, with some models projecting steady, earnings-driven creep, while others foresee strong upside from new platform adoption (AI, wearables). Bullish scenarios anticipate 60% to 80% upside if innovation cycles hit. Apple Stock Price Prediction for 2030 Forecast Range: $287–$478 A balanced CAGR model (8% to 12% annualized) from today suggests AAPL could close 2030 between $350 and $415. Structural upside exists if new categories (AR glasses) scale successfully. Downside risks are disruption to Apple's ecosystem, regulatory interventions, or margin erosion as competition heats up. Investment Considerations Apple remains a core blue chip, suitable for long-term growth investors, tech believers, and dividend reinvestors. Its record of buybacks, dividend hikes, and world-class brand equity keeps institutional and retail holders committed. As of mid-2025, hedge funds and pensions maintain overweight exposure, betting on Apple's proven playbook of ecosystem expansion and cash generation. Key risks: macroeconomic swings, intensified tech competition (especially in China), global regulatory action, and elevated earnings multiple. Upcoming catalysts to watch include Q3 earnings (iPhone 17 launch), Services segment margin growth, and the debut of new AI-powered features. Diversified investors should monitor Apple's valuation multiples and sector positioning. Significant drawdowns are possible if revenue growth disappoints or global tech sentiment sours. See Next: 'Scrolling To UBI' — Deloitte's #1 fastest-growing software company allows users to earn money on their phones. You can invest today for just $0.30/share. This article AAPL Stock Price Prediction: Where Apple Could Be by 2025, 2026, and 2030 originally appeared on Error in retrieving data Sign in to access your portfolio Error in retrieving data Error in retrieving data Error in retrieving data Error in retrieving data