TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

As an internet startup, at what point does PHP start to bottleneck you?

4 点作者 bachanirashmi将近 5 年前
As an internet startup, at what point does your MVP build on PHP/MySql start to bottleneck you - and you absolutely need to add more layers to the technology stack in the backend?

2 条评论

onion2k将近 5 年前
It depends on what you're doing obviously, but for the majority of businesses the answer is "Never". A well written PHP/MySQL app will cope with tens of thousands of users easily. There are good reasons to use other languages (security, ease of use, strong typing, maturity, lower developer costs, etc) but choosing PHP certainly isn't going to make your startup any more or less likely to work.
评论 #24098300 未加载
bearjaws将近 5 年前
At one of my previous jobs we scaled a large travel website you have heard of on PHP pretty successfully. The only thing that hurt us badly was using Symfony, it was a HUGE memory hog and exposed really bad issues with PHP APC. We basically need 1gb of ram per CPU core, an insane figure compared to modern PHP.<p>This basically caused us to not use the framework in specific areas to maximize performance, and use a network layer cache to prevent booting up the framework entirely.<p>As with most web tech, the main issues revolved around our database scale, we had to switch to multi-master around 2012 and it was a huge pain in the ass, also database migrations causing multi hour replica lag...<p>Honestly with modern cloud infra, auto scaling groups or serverless, I would have no concerns scaling PHP.<p>The way I always put it to anyone asking this kind of question: Build an app that scales that large and then hire someone else to deal with it :)
评论 #24098298 未加载