LAMP

Do you still use LAMP in the professional world, Sup Forums?

Other urls found in this thread:

github.com/ryanmjacobs/darkhttpd
suckless.org/rocks
youtube.com/watch?v=mD8CJfIAY9I
werc.cat-v.org/
flask-sqlalchemy.pocoo.org/2.1/
segment.com/blog/using-sql-to-define-measure-and-analyze-user-sessions/
pypi.python.org/pypi/sqlalchemy-redshift
gnu.org/philosophy/words-to-avoid.html#LAMP
twitter.com/SFWRedditGifs

Money is good. Also consistent.

Fast for projects you have little care for.

Won't use on personal projects tho.

Why not for personal?

I was considering building a stack for a personal project of mine. Database for a few hundred people to access.

Because modern tecnologies are exciting to me .
They come with a high-risk and high-reward (in my experience).

> also

Everything in that stack is functional, solid and enterprise tested.

However, every technology needs competitors to get better and
set higher bars.

What the PHP org did with PHP 7 and the Zend VM after RoR
and Node.js? They did optimizing shit they could have done ages
ago, but of course, they did not wanted to be left behind in the
path of emerging technologies.

I used this stack often, but I developed a feeling that I was insta-writing
legacy code. It was fucking weird.

Anyway use whatever it's appropiate and efficient.

> end blog entry

Ok that's fair. Also blog response is warranted if I asked for your opinion, faget :^)

Nah, it just something that I had in my mind for a while.

nginx + php-fpm

I thought about using nginx, but I have no experience with it and it seems like it'd more appropriate for applications that would need inter-user communication.

Anyone tried darkhttpd github.com/ryanmjacobs/darkhttpd

As a rule of thumb, don't use anything that has "dark" in its name.

config files syntax is comfy as fuck

;_;

Well suckless gave it a thumbs up suckless.org/rocks

>the "lets live like it's the 70s" foundation gave it a thumbs up

Qt kot got anymoar?

So what, not everyone use javascript to render webpages.

Comfy meme is good and all, but I don't need the mail features or the reverse proxy. Just a simple DB for buy/sell among local Magic players.

I do, but our stack is super old. We're also still on python 2.

Yes, unfortunately we have some legacy php code we maintain at my day job.

Our newer products make use of our microservices that are being made in c#, go, and node.

No, because php is cancer and so is Apache.

Practically all the hosting companies are making millions off LAMP.

The alternatives are too cost prohibitive. Just imagine having to pay MS/VMWare/Apple/Oracle per-seat/core/ammount of RAM licensing.

>mysql
>not postgresql
And that's why I don't use LAMP

>postgresql
>not mariadb

objectively worse and slower

you're better off nginx rev proxying apache httpd running mod_php than php-fpm bullshit.

>using something not full SQL-compliant

nginx + ngx_http_lua_module (i.e. openresty) is the way to go today

>comfy
>can't even declare ipv6only=off on each vhost.
>first vhost that is read has to declare it.
>shitty ass server tries to resolve proxy_path paths in advance, have to declare a fucking resolver and put the proxy hostname in a variable.
>location blocks are not order based but based on type.

it's not comfy at all. nginx has one of the worst configs ever.

I'm not even sure if apache httpd v2.x is as bad.

>shitty ass server tries to resolve proxy_path paths in advance, have to declare a fucking resolver and put the proxy hostname in a variable.
i was in the exact same situation; looks like it's a common one then

>lets live like it's the 70s
are we pretending that it's bad now?

ya it doesn't even work well since my hostnames are transient, so if I reboot my hypervisor the fucking thing will be stuck dead.

I just get systemd to delay restart it by like 30 seconds now.

but ya, if your names are transient and you don't have a proper dns setup, you prety much have to run a caching local one.

fucking annoying.

youtube.com/watch?v=mD8CJfIAY9I
yes

This is what I suspected. It'd be technically "legacy" but everyone still uses them enough to justify me sinking time into a LAMP project for my resume.

I have a lamp in every room that hasn't got a light in the ceiling.

Mariadb is rebranded MySQL. Postgres is objectively better in every way.

Apache? No, far to slow. Nginx. on multiple front ends
Mysql? Perhaps maria-db for low traffic stuff, postgres for heavier stuff, oracle for huge ass prod DB's
Php? People still use that for real work?

I usually just use mariadb/mysql and have only touched postgresql once or twice. Why is it so much better?

BEFW master race
BSD Nginx Filesystem Werc
werc.cat-v.org/

Is not, people usually say anything on the internet when the truth is the opposite, don't fall for the trap.

>gay leddit spacing
go back >>>/leddit/

>lmoa le leddit spacing meme xD im so funy please approve me Sup Forums please say i made you laugh please my mom hates me say something loving i just don't remember the thrill of affection

>maria-db
Why not SQLite?

I still have php apps running on godaddy, got hacked and they replaced all the websites with porn, i think they had some poor guy fix it, but no body really mad at me. still there

moved on to nginx, it's nice to just clone a github repo, copy the default config in /sites-available/, symlink the config to /sites-enabled/
/etc/init.d/nginx reload

i bet my sysadmin abilities would scare someone, but it's going ok

moved on to nginx, python, used sqlite a lot, so much nicer. and with sqlalchemy I don't really have to worry about switching between sqlite, mysql, postgres.
flask-sqlalchemy.pocoo.org/2.1/

relational db is too slow for something like sessionizing clickstream data, so going to try pyspark+redshift
segment.com/blog/using-sql-to-define-measure-and-analyze-user-sessions/

there's a sqlalchemy-redshift module:
pypi.python.org/pypi/sqlalchemy-redshift

>SQLite
why not mongodb?

retards who leave the default password use mongodb

To put it simply, MySQL is the php of databases and postgres is Python.

MySQL/php: shit design, terrible defaults, not flexible, non standard utilities/implementation

Postgres/python: well designed, buttload of batteries included, standards compliant

>inb4 you can fix MySQL data truncation by changing the options
See "terrible defaults"

Heard people say that replication is easier with MySQL but I can't say anything about that. I do find initial setup and user management to be more annoying with postgres but that's it.

Because it's still as good, if not even better nowadays than any dogshit the hipsters are using

>buttload of batteries included
funny thing is I gave up with Postgres at the initial setup stage as it threw me into a snowball of issues. MariaDB, meanwhile, just werked.

How do I stop using PHP?

By start using Perl

perl is even uglier

Like what? I'm using postgres daily right now and the only problem I have with it is that I have to use an outdated version (fuck corporate).

i've also used Postgres in the past just fine. i think i had some leftover config from a previous installation that fucked things up and it just wouldn't connect no matter what. instead of wasting any more time trying to figure out what went wrong i just went for MariaDB.

Why is Sup Forums so racist lately?

gnu.org/philosophy/words-to-avoid.html#LAMP

For customers, yeah, but replace Apache with Nginx
They still want WordPress and stuff
Our own applications are mostly in Python, so with uWSGI or Tornado behind Nginx
Postgres is the superior database, and we also use a lot of LDAP (enterpriseTM)

LAMP xD.

I use Mongo, Nginx and NodeJS :^)

Linux yes
Apache yes
MySQL lul?
PHP hahahahahaha

WordPress also supports Nginx.

>tfw this guy actually did lead vocals for one of Swans songs

What the hell is a glamp?

A lamp that respects your freedoms

Because mongodb is for mongoloids

Because it's statistically justified.

>using mongoloidb

Yeah, lamps are aight. Need them to see n shiet.

Statistics was invented by white people. Why do you expect it to explain black people?

I consult for people using AWS, if I can keep it serverless I try to, just to keep costs down. ELB, API Gateway, Lambda, S3. If I need to run something with heavier dependencies I'll use docker running on CoreOS (I like that it has discovery and cluster aware service management baked in). If it's really heavy then I'm typically working with data scientists and I've come to prefer Apache mesos over hadoop YARN as it uses LXC and plays extremely well with Docker and Spark.