# Laravel Octane (Laravel) > Octane 설정, Swoole, RoadRunner, 동시 작업, 메모리 누수 방지, 성능 향상, 배포 - 18 면접 질문 - Senior - [면접 질문: Laravel](https://sharpskill.dev/ko/technologies/laravel/interview-questions.md) ## 1. Laravel Octane이란 무엇입니까? **답변** Laravel Octane은 애플리케이션을 요청 간에 메모리에 유지하여 Laravel 애플리케이션의 성능을 대폭 향상시키는 공식 패키지로, 요청마다 발생하는 부트스트랩 비용을 제거합니다. Swoole이나 RoadRunner 같은 영구 애플리케이션 서버에 의존하여 애플리케이션을 RAM에 로드된 상태로 유지합니다. 이를 통해 트래픽이 많은 애플리케이션에서 기존 PHP-FPM 대비 최대 10배 높은 성능 향상을 달성할 수 있습니다. ## 2. Laravel Octane에서 Swoole과 RoadRunner의 주요 차이점은 무엇입니까? **답변** Swoole은 C로 작성된 PHP 확장으로 PECL을 통한 설치가 필요한 반면, RoadRunner는 Go로 작성된 독립 실행형 바이너리로 PHP 확장이 전혀 필요하지 않습니다. Swoole은 일반적으로 약간 더 높은 성능과 WebSockets 같은 더 많은 네이티브 기능을 제공하지만, RoadRunner는 배포가 더 쉽고 컴파일 없이 모든 플랫폼에서 동작합니다. 선택은 인프라 제약과 프로젝트의 구체적인 요구사항에 따라 달라집니다. ## 3. Laravel Octane 서버를 시작하는 명령어는 무엇입니까? **답변** Octane을 시작하는 전용 artisan 명령어는 octane:start이며, octane.php 파일에 설정된 영구 애플리케이션 서버를 실행합니다. 이 명령어는 worker 수를 정의하는 --workers, 수신 포트를 지정하는 --port, 개발 중 파일이 변경될 때 애플리케이션을 자동으로 리로드하는 --watch 등 여러 옵션을 받습니다. 프로덕션에서는 서버를 계속 실행 상태로 유지하기 위해 Supervisor 같은 프로세스 관리자를 사용하는 것이 권장됩니다. ## 15개 추가 질문 이용 가능 - 기존 PHP-FPM 대비 Octane을 사용하는 주된 이점은 무엇입니까? - Octane worker 수를 정의하는 설정은 무엇입니까? 무료로 가입하기: https://sharpskill.dev/ko/login ## 기타 Laravel 면접 주제 - [PHP 기초](https://sharpskill.dev/ko/technologies/laravel/interview-questions/php-basics.md): 25개 질문, Junior - [PHP 객체지향 기초](https://sharpskill.dev/ko/technologies/laravel/interview-questions/php-oop-essentials.md): 20개 질문, Junior - [Composer & Autoloading](https://sharpskill.dev/ko/technologies/laravel/interview-questions/composer-autoloading.md): 18개 질문, Junior - [Laravel 기초](https://sharpskill.dev/ko/technologies/laravel/interview-questions/laravel-fundamentals.md): 20개 질문, Junior - [Laravel 라우팅](https://sharpskill.dev/ko/technologies/laravel/interview-questions/laravel-routing.md): 20개 질문, Junior - [Blade Templates](https://sharpskill.dev/ko/technologies/laravel/interview-questions/blade-templates.md): 18개 질문, Junior - [Request & Response](https://sharpskill.dev/ko/technologies/laravel/interview-questions/request-response.md): 20개 질문, Junior - [Eloquent ORM 기초](https://sharpskill.dev/ko/technologies/laravel/interview-questions/eloquent-orm-basics.md): 22개 질문, Junior - [Eloquent Relationships](https://sharpskill.dev/ko/technologies/laravel/interview-questions/eloquent-relationships.md): 25개 질문, Mid-Level - [Migrations & Schema Builder](https://sharpskill.dev/ko/technologies/laravel/interview-questions/database-migrations.md): 20개 질문, Mid-Level - [유효성 검사와 폼](https://sharpskill.dev/ko/technologies/laravel/interview-questions/validation-forms.md): 22개 질문, Mid-Level - [인증](https://sharpskill.dev/ko/technologies/laravel/interview-questions/authentication.md): 20개 질문, Mid-Level - [인가와 Policies](https://sharpskill.dev/ko/technologies/laravel/interview-questions/authorization-policies.md): 18개 질문, Mid-Level - [API Resources & Authentication](https://sharpskill.dev/ko/technologies/laravel/interview-questions/api-resources-authentication.md): 26개 질문, Mid-Level - [미들웨어](https://sharpskill.dev/ko/technologies/laravel/interview-questions/middleware.md): 18개 질문, Mid-Level - [Service Container & DI](https://sharpskill.dev/ko/technologies/laravel/interview-questions/service-container-di.md): 20개 질문, Mid-Level - [Queues & Jobs](https://sharpskill.dev/ko/technologies/laravel/interview-questions/queues-jobs.md): 22개 질문, Mid-Level - [Events & Listeners](https://sharpskill.dev/ko/technologies/laravel/interview-questions/events-listeners.md): 18개 질문, Mid-Level - [알림 및 메일](https://sharpskill.dev/ko/technologies/laravel/interview-questions/notifications-mail.md): 20개 질문, Mid-Level - [File Storage](https://sharpskill.dev/ko/technologies/laravel/interview-questions/file-storage.md): 18개 질문, Mid-Level - [Testing & PHPUnit](https://sharpskill.dev/ko/technologies/laravel/interview-questions/testing-phpunit.md): 24개 질문, Mid-Level - [Caching](https://sharpskill.dev/ko/technologies/laravel/interview-questions/caching.md): 18개 질문, Mid-Level - [Livewire & Inertia](https://sharpskill.dev/ko/technologies/laravel/interview-questions/livewire-inertia.md): 20개 질문, Mid-Level - [Eloquent Advanced](https://sharpskill.dev/ko/technologies/laravel/interview-questions/eloquent-advanced.md): 24개 질문, Senior - [Repository Pattern](https://sharpskill.dev/ko/technologies/laravel/interview-questions/repository-pattern.md): 20개 질문, Senior - [Laravel 패키지](https://sharpskill.dev/ko/technologies/laravel/interview-questions/laravel-packages.md): 20개 질문, Senior - [Performance Optimization](https://sharpskill.dev/ko/technologies/laravel/interview-questions/performance-optimization.md): 22개 질문, Senior - [Security Best Practices](https://sharpskill.dev/ko/technologies/laravel/interview-questions/security-best-practices.md): 22개 질문, Senior - [Laravel Distributed Systems](https://sharpskill.dev/ko/technologies/laravel/interview-questions/laravel-distributed-systems.md): 22개 질문, Senior - [Observability & Monitoring](https://sharpskill.dev/ko/technologies/laravel/interview-questions/observability-monitoring.md): 20개 질문, Senior - [Deployment & DevOps](https://sharpskill.dev/ko/technologies/laravel/interview-questions/deployment-devops.md): 20개 질문, Senior --- Source: SharpSkill (https://sharpskill.dev), tech interview preparation for your real stack. HTML version of this page: https://sharpskill.dev/ko/technologies/laravel/interview-questions/laravel-octane