Swoole vs Symfony

Need advice about which tool to choose?Ask the StackShare community!

Swoole

44
106
+ 1
27
Symfony

6.2K
4.8K
+ 1
1.1K
Add tool

Symfony vs Swoole: What are the differences?

What is Symfony? A PHP full-stack web framework. Symfony is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP. Symfony can be used to develop all kind of websites, from your personal blog to high traffic ones like Dailymotion or Yahoo! Answers.

What is Swoole? Coroutine asynchronous programming framework for PHP. It is an open source high-performance network framework using an event-driven, asynchronous, non-blocking I/O model which makes it scalable and efficient.

Symfony and Swoole belong to "Frameworks (Full Stack)" category of the tech stack.

Symfony and Swoole are both open source tools. It seems that Symfony with 21.7K GitHub stars and 7.14K forks on GitHub has more adoption than Swoole with 14.4K GitHub stars and 2.83K GitHub forks.

Advice on Swoole and Symfony
Needs advice
on
SymfonySymfonyNode.jsNode.js
and
GolangGolang

I'm about to begin working on an API, for which I plan to add GraphQL connectivity for processing data. The data processed will mainly be audio files being downloaded/uploaded with some user messaging & authentication.

I don't mind the difficulty in any service since I've used C++ (for data structures & algorithms at least) and would also say I am patient and can learn fairly quickly. My main concerns would be their performance, libraries/community, and job marketability.

Why I'm stuck between these three...

Symfony: I've programmed in PHP for back-end in a previous internship and may do so again in a few months.

Node.js: It's newer than PHP, and it's JavaScript where my front-end stack will be React and (likely) React Native.

Go: It's newer than PHP, I've heard of its good performance, and it would be nice to learn a new (growing) language.

See more
Replies (1)
Max Musing
Founder & CEO at BaseDash · | 6 upvotes · 93.3K views
Recommends
Node.jsNode.js
at

Go with Node.js. There's something really satisfying about being able to use a single language across your entire tech stack. Especially once you integrate GraphQL, which is effectively JSON.

Your second best option is Go, but the ecosystem around Node.js is quite a bit stronger. This will play a big factor when you start building functionality like file management, messaging (especially in real-time), and authentication. The libraries and documentation are just stronger for Node.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Swoole
Pros of Symfony
  • 7
    Async programming
  • 6
    Really multi thread
  • 5
    Blazing fast
  • 3
    Simple to use
  • 3
    Coroutines concurrency model
  • 3
    High-performance http, websocket, tcp, udp server
  • 173
    Open source
  • 146
    Php
  • 127
    Dependency injection
  • 127
    Community
  • 120
    Professional
  • 78
    Doctrine
  • 72
    Organized
  • 68
    Modular architecture
  • 45
    Smart programming
  • 42
    Solid
  • 18
    Documentation
  • 14
    LTS releases
  • 9
    Easy to Learn
  • 9
    Robust
  • 9
    Decoupled framework components
  • 8
    Bundle
  • 8
    Good practices guideline
  • 8
    Service container
  • 7
    Simple
  • 6
    Powerful
  • 4
    Flexible

Sign up to add or upvote prosMake informed product decisions

Cons of Swoole
Cons of Symfony
    Be the first to leave a con
    • 9
      Too many dependency
    • 7
      Lot of config files
    • 4
      YMAL
    • 2
      Feature creep
    • 1
      Bloated

    Sign up to add or upvote consMake informed product decisions

    What is Swoole?

    It is an open source high-performance network framework using an event-driven, asynchronous, non-blocking I/O model which makes it scalable and efficient.

    What is Symfony?

    It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Swoole?
    What companies use Symfony?
    See which teams inside your own company are using Swoole or Symfony.
    Sign up for Private StackShareLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Swoole?
    What tools integrate with Symfony?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Swoole and Symfony?
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    NGINX
    nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.
    ReactPHP
    Aa low-level library for event-driven programming in PHP. At its core is an event loop, on top of which it provides low-level utilities
    PHP-FPM
    It is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. It includes Adaptive process spawning, Advanced process management with graceful stop/start, Emergency restart in case of accidental opcode cache destruction etc.
    Golang
    Go is expressive, concise, clean, and efficient. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel type system enables flexible and modular program construction. Go compiles quickly to machine code yet has the convenience of garbage collection and the power of run-time reflection. It's a fast, statically typed, compiled language that feels like a dynamically typed, interpreted language.
    See all alternatives