Tempesta Technologies
  • Home
  • Tempesta FW
    • Features
      • Web acceleration
      • Load balancing
      • Application performance monitoring
    • Performance
    • How it works
    • Deployment
    • Support
    • Knowledge base
  • Services
    • Software development
      • High performance
      • Networking
      • Databases
      • Linux kernel
      • Machine learning
      • How we work
      • Case studies
    • Performance analysis
    • Network security
      • DDoS protection
      • Application security
      • Cryptography
      • Security assessment
      • How we work
      • Case Studies
  • Solutions
    • DDoS Protection
    • Web Acceleration
  • Blog
  • Company
    • Research
    • Careers
    • Contact
Tempesta Technologies

Best practices

Tempesta FW is a Linux kernel hybrid of HTTP accelerator and an application layer firewall, so following best practices are recommended for high performance, reliable and secure installations.

Virtualization🔗

In fact Tempesta Technologies web site is ran in two KVM virtual machines running on a bare metal server in active-standby scenario using keepalived.

Tempesta FW significantly outperforms any existing software HTTP accelerator while 2 VMs installation provides the whole service availability and maintainability. It has sense to assign all CPU cores to both the VMs in active-standby scenario and only half of CPU cores to each VM in active-active scenario. Even running in virtualized environment Tempesta FW processes traffic much faster than traditional servers on bare metal.

The benefits of using the virtualized installation are:

  1. Performance is still high, thanks to modern virtualization technologies;

  2. You can deploy fresh versions of software (we do this for the new versions of Tempesta FW) any time: keepalived works quite fast and the service will always be accessible for your clients;

  3. Any failures aren’t crucial any more: just deploy the newest software version on one VM leaving the second one with older and stable version – update the second one after some time, when you sure that the newest version is stable enough.

Read Clouds page for information about support of different virtualization technologies and High availability for Tempesta FW with keepliaved configuration guide.

Kexec🔗

While modern virtualization is fast enough, it’s still tempting to get the whole hardware resources for maximum performance and run Tempesta FW on bare metal. Besides running Tempesta FW on bare metal, you might want to get as much performance as possible from your small VM and this is also a case for Kexec.

In such installations if a failure occurs, usually it’s much faster to restart a user space daemon than reboot the kernel. Thus, if you’re going to use Tempesta FW on bare metal, then it has sense to use Kexec for faster kernel reboot on a disaster. Kexec boots an alternate Linux kernel without going through BIOS, which saves a lot of time on big servers. It’s safe and efficient to run Tempesta FW as an alternate Linux kernel which can be rebooted quickly.

Reboot speedup🔗

There are many other situations when a faster reboot is wished, so there are many guides about the Linux kernel boot process speedup. Consider these links as a starting point:

  • https://wiki.debian.org/BootProcessSpeedup

Share this article
  • Home
  • Requirements
  • Installation
    • Install from packages
    • Install from Sources
  • Configuration
    • Migration from Nginx
    • On the fly Reconfiguration
    • Handling clients
    • Backend servers
    • Scheduling and Load Balancing
    • Caching Responses
    • Non Idempotent Requests
    • Modify HTTP Messages
    • Virtual hosts and locations
    • Sticky Cookie
    • HTTP tables
    • HTTP security
    • Header Via
    • Health monitor
    • Tempesta TLS
    • Vhost Confusion
    • Traffic Filtering by Fingerprints
    • Access Log Analytics
  • Run and stop
  • Application Performance Monitoring
    • Performance statistics
    • Servers statistics
  • Use cases
    • Clouds
    • High availability
    • DDoS mitigation
    • Web security
    • WAF acceleration
    • Best practices
    • WordPress tips and tricks
  • Performance
    • Hardware virtualization performance
    • HTTP cache performance
    • HTTP transactions performance
    • HTTPS performance
    • HTTP2 streams prioritization
  • Bot Protection
    • Tempesta Webshield
    • Setup and Run The Webshield
    • Webshield Configuration
    • Webshield Detectors
    • Webshield Observability
    • Webshield Use Cases
  • Contributing
    • Report issues and send patches
    • Development guidelines
    • Memory safety guideline
    • Debugging and troubleshooting
    • Prepare a new release
    • Testing
    • QTCreator project

Powered by Tempesta FW

Stay up to date with our latest developments

Useful Links

Home
Blog

Tempesta® FW

Features
Performance
Deployment
Support
Knowledge Base

Services

Software Development
Performance analysis
Network Security

Solutions

DDoS Protection

Web Acceleration

Company

Research
Careers
Contact